content
stringlengths
23
1.05M
-- { dg-do compile } package body Renaming11 is function F (Arg: Ptr3) return Integer is V : Ptr1 renames Arg.all.all; I : Integer renames V.A(1); begin return I; end; end Renaming11;
-- Numeric Literals 123__456 12345678_ 123. 123.456.789 1E+ 1234e56.7 16# 12#14 10#5. 8#2.3 6## 4#123.1.2# 2#101.# 16#123G#2 -- Textual Literals ' '' ' ' 'ab' " """ -- Non-Alphabet Characters Put_Line["oops"]
------------------------------------------------------------------------------- -- LSE -- L-System Editor -- Author: Heziode -- -- License: -- MIT License -- -- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com> -- -- Permission is hereby granted, free of charge, to any person obtaining a -- c...
with Ada.Containers.Vectors; use Ada.Containers; with Ada.Text_IO; use Ada.Text_IO; procedure Day08 is type Sum_Pair is record Part1 : Natural; Part2 : Natural; end record; package Natural_Vectors is new Vectors (Index_Type => Positive, Element_Type => Natural); functi...
separate (WebIDL.Scanners) procedure On_Accept (Self : not null access WebIDL.Scanner_Handlers.Handler'Class; Scanner : not null access WebIDL.Scanners.Scanner'Class; Rule : WebIDL.Scanner_Types.Rule_Index; Token : out WebIDL.Tokens.Token_Kind; Skip : in out Boolean) is begin case Rule is ...
With Ada.Tags, Ada.Exceptions.Traceback, Ada.Strings.Fixed, Ada.Calendar.Formatting, NSO.Helpers, ------------ INI.Read_INI, INI.Section_Vector, INI.Section_to_Vector, INI.Section_to_Map, --INI.Parameters, ------------------------- Ada.Text_IO, Gnoga.Server.Connection, Gnoga.Types.Colors, Gnoga.Gui.View; with Gnoga.G...
with Ada.IO_Exceptions; with POSIX.Process_Primitives; use POSIX.Process_Primitives; with POSIX.Process_Identification; use POSIX.Process_Identification; with POSIX.Process_Environment; use POSIX.Process_Environment; package body Pipe_Streams is --------------- -- Next_Char -- --------------- overridi...
with Ada.Text_IO; use Ada.Text_IO; with GNAT.OS_Lib; with Sf.Window.Event; use Sf.Window.Event; with Sf.Graphics.RenderWindow; use Sf.Graphics.RenderWindow; with Sf.Window.Keyboard; use Sf.Window.Keyboard; package body PyGamer.Controls is type Buttons_State is array (Buttons) of Boolean; Current_Pressed : Butt...
----------------------------------------------------------------------- -- bkp-files -- File and directories -- Copyright (C) 2014 Stephane.Carrez -- Written by Stephane.Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in c...
-- Lumen.GL -- Lumen's own thin OpenGL bindings -- -- Chip Richards, NiEstu, Phoenix AZ, Summer 2010 -- This code is covered by the ISC License: -- -- Copyright © 2010, NiEstu -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that...
-- -*- Mode: Ada -*- -- Filename : s-parame.ads -- Description : Custom package. -- Author : Luke A. Guest -- Created On : Thur Nov 17 17:52:04 2016 -- Licence : See LICENCE in the root directory. package System.Parameters is pragma Pure; -------...
with HAL; with STM32.GPIO; with STM32.Device; with Ada.Interrupts.Names; with Ada.Unchecked_Conversion; package body ACO.Drivers.Stm32f40x is function Convert (D : STM32.CAN.Message_Data) return ACO.Messages.Data_Array is subtype From is STM32.CAN.Message_Data (D'Range); subtype...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
with Ada.Real_Time; use Ada.Real_Time; with STM32GD.Board; use STM32GD.Board; with STM32GD.SysTick; use STM32GD.SysTick; with Timeout; procedure Main is T : Time; begin Init; LED.Set; loop Timeout.Start (T, Milliseconds (200)); while not Timeout.Timed_Out (T) loop null; end...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with Ada.Characters.Handling; with Ada.Direct_IO; with Ada.Directories; with Ada.Strings.Maps; package body Tokenization is function Case_Insensitive_Hash (S : String) return Ada.Containers.Hash_Typ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2018 - 2019 Joakim Strandberg <joakim@mequinox.se> -- -- 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.ap...
----------------------------------------------------------------------- -- hestia-display-scheduler -- Display information about the system -- Copyright (C) 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
with System.Address_To_Named_Access_Conversions; with System.Growth; with System.Zero_Terminated_Strings; with C.errno; with C.sys.sysctl; with C.sys.types; package body System.Program is use type C.signed_int; package char_ptr_Conv is new Address_To_Named_Access_Conversions (C.char, C.char_ptr); mib :...
--PRÁCTICA 2: César Borao Moratinos (chat_messages) package Chat_Messages is type Message_Type is (Init, Writer, Server, Collection_Request, Collection_Data, Ban, Shutdown); end Chat_Messages;
-- { dg-excess-errors "no code generated" } generic procedure FE_Inlining_Helper;
with DDS.DataReader; with DDS.DataReaderListener; with DDS.DataWriter; with DDS.DataWriterListener; with DDS.DomainParticipant; with DDS.Publisher; with DDS.Request_Reply.Requester; with DDS.Subscriber; with DDS.Typed_DataWriter_Generic; with DDS.Typed_DataReader_Generic; private with DDS.Request_Reply.Requester.Impl; ...
with GL.Types; use GL.Types; with GL.Objects.Programs; with GL.Uniforms; package Shader_Manager is type Light_Uniform_IDs is record MVP_Matrix_ID : GL.Uniforms.Uniform := 0; end record; type Shader_Uniforms is record Ambient_Colour_ID : GL.Uniforms.Uniform := 0; Diffuse_Colo...
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.OSC32KCTRL is pragma Preelaborate; --------------- -- Registers -- --------------- -- Interrupt Enable Clear type OSC...
package Cond_Expr2 is function F (X : integer) return String; end Cond_Expr2;
with Ada.Command_Line; use Ada.Command_Line; with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Memory; use Memory; with Parser; use Parser; with HDL_Generator; use HDL_Generator; with Simplify_Memory; procedu...
with Ada.Text_IO, Ada.Command_Line, Chi_Square; use Ada.Text_IO; procedure Test_Chi_Square is package Ch2 renames Chi_Square; use Ch2; package FIO is new Float_IO(Flt); B: Bins_Type(1 .. Ada.Command_Line.Argument_Count); Bound_For_5_Per_Cent: constant array(Positive range <>) of Flt := ( 1 => 3.84, ...
-- This spec has been automatically generated from STM32F105xx.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; with System; package STM32.BKP is pragma Preelaborate; --------------- -- Registers -- --------------- ------------------ -- DR1_Register -- ------------------ su...
-- This package has been generated automatically by GNATtest. -- Do not edit any part of it, see GNATtest documentation for more details. -- begin read only with Gnattest_Generated; package Ships.Test_Data.Tests is type Test is new GNATtest_Generated.GNATtest_Standard.Ships.Test_Data .Test with null re...
with Ada.Text_IO, Simple_Parse; procedure Reverse_Words is function Reverse_Words(S: String) return String is Cursor: Positive := S'First; Word: String := Simple_Parse.Next_Word(S, Cursor); begin if Word = "" then return ""; else return Reverse_Words(S(Cursor .. S'Last)...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- This file is covered by the Internet Software Consortium (ISC) License -- Reference: ../License.txt with System; with Interfaces.C.Strings; package Zstandard.Thin_Binding is package IC renames Interfaces.C; package ICS renames Interfaces.C.Strings; ------------------ -- Data Types -- --------...
pragma License (Restricted); -- -- Copyright (C) 2020 Jesper Quorning All Rights Reserved. -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you...
-- { dg-do compile } -- { dg-options "-O" } package body Opt44 is procedure Addsub (X, Y : Sarray; R : out Sarray; N : Integer) is begin for I in Sarray'Range loop pragma Loop_Optimize (Ivdep); pragma Loop_Optimize (Vector); if N > 0 then R(I) := X(I) + Y(I); ...
pragma License (Unrestricted); with Ada.Characters.Conversions; package Ada.Characters.Handling is -- pragma Pure; pragma Preelaborate; -- use mapping -- Note: These single Character functions propagates Constraint_Error for -- 16#80# .. 16#FF#. -- If you want to handle full-unicode, use Wide_Wide_Ch...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Aof.Core.Objects; with Aof.Core.Properties; package Widgets is type Widget is new Aof.Core.Objects.Object with record -- Properties: X : Aof.Core.Properties.Naturals.Property; Y : Aof.Core.Properties.Naturals.Property; Width : Aof.Core.Properties.Naturals.Property; Height : Aof...
-- 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...
with Engine_Control_Events; use Engine_Control_Events; package body RPM_Widget is ---------- -- Draw -- ---------- overriding procedure Draw (This : in out RPM; Ctx : in out Context'Class; Force : Boolean := True) is Str : constant String := "RPM:" & This.Value'Img;...
----------------------------------------------------------------------- -- gen-model-operations -- Operation declarations -- Copyright (C) 2012, 2016, 2017, 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
--PRÁCTICA 3: CÉSAR BORAO MORATINOS (Handlers.ads) with Ada.Calendar; with Lower_Layer_UDP; package Handlers is package LLU renames Lower_Layer_UDP; procedure Client_Handler (From: in LLU.End_Point_Type; To: in LLU.End_Point_Type; P_Buffer: access LLU.Buffer_Type); procedure Server_Handler (F...
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Valuators.Rollers is procedure roller_set_draw_hook (W, D : in System.Address); pragma Import (C, roller_set_draw_hook, "roller_set_draw_hook"); pragma Inline (roller_set_draw_hook); pr...
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- This program 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 -- (at your option) any later version. ...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Characters.Wide_Wide_Latin_1; with Incr.Documents; limited with Incr.Nodes.Tokens; with Incr.Version_Trees; package I...
package body Test_Foreign.Read is procedure Initialize (T : in out Test) is begin Set_Name (T, "Test_Foreign.Read"); Ahven.Framework.Add_Test_Routine (T, Aircraft'Access, "aircraft.sf"); Ahven.Framework.Add_Test_Routine (T, Annotation_Test'Access, "annotationTest.sf"); Ahven.Framework.Add...
with Ada.Text_IO; package body Prime_Numbers is procedure Put (List : Number_List) is begin for Index in List'Range loop Ada.Text_IO.Put (Image (List (Index))); end loop; end Put; task body Calculate_Factors is Size : Natural := 0; N : Number; M : Number; ...
with Ada.Text_Io; use Ada.Text_Io; procedure Subprogram_As_Argument_2 is -- Definition of an access to long_float type Lf_Access is access Long_Float; -- Definition of a function returning Lf_Access taking an -- integer as a parameter function Func_To_Be_Passed(Item : Integer) return Lf_Access is ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Globals_Example1; with Ada.Finalization; package Md_Example6 is type T is new Ada.Finalization.Controlled with record Attribute : Globals_Example1.Itype; end record; -- Ada Rules state that all tagged operations must be defined here function Do_It (The_T : T) return Globals_Example1.Itype; ...
----------------------------------------------------------------------- -- asf-contexts.faces -- Faces Contexts -- Copyright (C) 2009, 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this f...
with Ada.Real_Time; use Ada.Real_Time; generic NTasks: Positive; package Stats is subtype StatId is Natural range 1..NTasks*2; procedure Register_Time(Id: in StatId; Time: Time_Span); procedure Print_Stats; private Histogram_Last : constant Natural := 46; type Histogram_Type is array (0..Histogra...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2020 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...
with Ada.Integer_Text_IO,Ada.Text_IO,Ada.Numerics.Discrete_Random,Ada.Calendar; USE Ada.Integer_Text_IO,Ada.Text_IO,Ada.Calendar; procedure Main is subtype Espera is Integer range 1..5; package AzarBool is new Ada.Numerics.Discrete_Random(Boolean); package AzarEspera is new Ada.Numerics.Discrete_Random(Esp...
------------------------------------------------------------------------------ -- G P S -- -- -- -- Copyright (C) 2001-2016, AdaCore -- -- ...
-- C87B39A.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...
------------------------------------------------------------------------------ -- -- -- Common UUID Handling Package -- -- - RFC 4122 Implementation - -- -- ...
with SDL.image; with SDL.video; with SDL.error; with agar.core.event; with agar.core; with agar.gui.surface; with agar.gui.widget; with agar.gui.window; with agar.gui; with demo; with winicon_callbacks; procedure winicon is package gui_event renames agar.core.event; package gui_widget renames agar.gui.widget; ...
-- Ada regular expression library -- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net> -- Report bugs and issues on <https://github.com/skordal/ada-regex> package body Regex.Utilities.String_Buffers is function Create (Input : in String) return String_Buffer is begin return Retval : ...
-- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you share freely, not taking more than you give. -- with Ada.Strings.Fixed; with Ada.Strings.U...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body Ada.Containers.Unbounded_Synchronized_Queues is use type Implementation.Node_Access; protected body Queue is -- overriding entry Enqueue (New_Item : Queue_Interfaces.Element_Type) when True is New_Node : constant Implementation.Node_Access := new Implementation.Node'( ...
with Agar.Core.Thin; package Agar.Core.Database is subtype Database_Access_t is Thin.DB.DB_Access_t; subtype Database_Not_Null_Access_t is Thin.DB.DB_Not_Null_Access_t; type Type_t is new Thin.DB.Type_t; procedure New_Database (Database_Type : in Type_t; Database : out Database...
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro> -- -- 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 restriction, including without limitation the -- rights to use, cop...
-- Copyright 2021 Jeff Foley. All rights reserved. -- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. local json = require("json") name = "URLScan" type = "api" function start() set_rate_limit(5) end function vertical(ctx, domain) local url = "https://urlscan.i...
pragma License (Restricted); -- -- Copyright (C) 2020 Jesper Quorning All Rights Reserved. -- -- The author disclaims copyright to this source code. In place of -- a legal notice, here is a blessing: -- -- May you do good and not evil. -- May you find forgiveness for yourself and forgive others. -- May you...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Program.Source_Buffers; private with Ada.Strings.UTF_Encoding; package Program.Plain_Source_Buffers is pragma Preelaborate; ...
pragma License (Unrestricted); package GNAT.Calendar.Time_IO is type Picture_String is new String; ISO_Date : constant Picture_String := "%Y-%m-%d"; function Image (Date : Ada.Calendar.Time; Picture : Picture_String) return String; function Value (Date : String) return Ada.Calendar.Time; end GNAT...
with System; package FSmaker.Sink is type Instance is interface; subtype Class is Instance'Class; type Acc is access all Instance; type Acc_Any is access all Class; function Write (This : in out Instance; Addr : System.Address; Len : Natural) ...
with GNAT.OS_Lib; package body Ada_Launch is function Current_Os return Os_Type is Detected_Os : Os_Type := Other_Os; function Windows_Test return Boolean is begin if Full_Name (Env.Value ("USERDRIVE", "C:") & Env.Value ("USERPATH", "\")) = Env.Value ("USERDRIVE",...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is function F return integer is begin return 0; end; begin F; end;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; with Ada.Text_IO.Complex_IO; with Ada.Numerics.Generic_Real_Arrays; with Ada.Numerics.Generic_Complex_Types; with Ada.Numerics.Generic_Complex_Arrays; with Ada.Numerics.Generic_Elementary_Functions; with Ada.Numerics.Generic_Complex_Elementary_Functions; with Ada_Lapack; with Ada_Lapack.Extras; use...
with Ada.Assertions; use Ada.Assertions; with Device; use Device; with Memory.Container; use Memory.Container; with Memory.Transform; use Memory.Transform; with Memory.Transform.Offset; use Memory.Transform.Offset; with Memory.Transform.EOR; use Memory.Transform.EOR; with Mem...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- 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...
----------------------------------------------------------------------- -- contexts-facelets-flash -- Flash context -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
with Ada.Streams; use Ada.Streams; package Lto11 is type Vector is array (Positive range <>) of Float; procedure Write (S : not null access Root_Stream_Type'Class; V : Vector); end Lto11;
----------------------------------------------------------------------- -- EL testsuite - EL Testsuite -- 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 may not use thi...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
---------------------------------------------------------------------------- -- Symbolic Expressions (symexpr) -- -- Copyright (C) 2012, Riccardo Bernardini -- -- This file is part of symexpr. -- -- symexpr is free software: you can redistribute it and/or modify -- it under the t...
----------------------------------------------------------------------- -- Util.Beans.Objects -- Generic Typed Data Representation -- Copyright (C) 2009, 2010, 2011, 2013 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -...
generic package any_Math.any_Geometry -- -- Provides a namespace and core types for geometry. -- is pragma Pure; subtype Vertex_Id is Index; type Vertex_Ids is array (Index range <>) of Vertex_Id; subtype Triangle is Vertex_Ids (1 .. 3); type Triangles is array (Index range <>) of Triangle; ...
----------------------------------------------------------------------- -- keystore-passwords-files -- File based password provider -- Copyright (C) 2019 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not us...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Numerics.Discrete_Random; package Oversize is subtype M1 is Integer range 1 .. 200; -- Won't trigger type R1 (D : M1 := 100) is record Name : String (1 .. D); end record; type M2 is new Integer range 1 .. 200; -- Won't trigger for M2'Size use 64; ...
with Ada.Integer_Text_IO,Ada.Text_IO; use Ada.Integer_Text_IO,Ada.Text_IO; package body Data is function Matrix_Multiplication(A,B: in Matrix) return Matrix is P:Matrix; s:Integer; begin for K in 1..N loop for I in 1..N loop s:=0; for J in 1..N loop ...
with Ada.Text_IO; package body Ada_Module is procedure Say_Hello is begin Ada.Text_IO.Put_Line ("Hello from Ada!"); end Say_Hello; end Ada_Module;
with Ada.Streams; with GL.Objects.Textures; with GL.Pixels; package GL.Images is -- This procedure loads the contents of the given Source to the given -- texture object. -- The texture object will be initialized if it is uninitialized. -- The texture's image is created with the given internal format. --...
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; procedure aaa_read is type stringptr is access all char_array; procedure PString(s : stringptr) is begin String'Write (Text_Streams....
-- Copyright 2016 Steven Stewart-Gallus -- -- 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 agr...
with openGL.Frustum; package body openGL.Culler.frustum is --------- --- Forge -- procedure define (Self : in out Item) is begin Self.vanish_point_size_Min.Value_is (0.00_12); end define; -------------- --- Attributes -- overriding procedure add (Self : in out Item; ...
with Ada.Execution_Time, Ada.Integer_Text_IO, Ada.Real_Time, Ada.Strings.Fixed, Ada.Text_IO; with Utils, Coordinates_2D; procedure Main is use Ada.Execution_Time, Ada.Real_Time, Ada.Text_IO; use Utils; package My_Coordinates is new Coordinates_2D (Integer); use My_C...
with LV_Conf; with SDL_Display; package Disaply_Simulator is new SDL_Display (LV_Conf.LV_HOR_RES, LV_Conf.LV_VER_RES);
! Title: Macqael Hardallow ! Description: Filter composed of several Allowed domain unlocked with Adblock Plus Syntax for DNS. ! Version: 4.5 ! Homepage: https://github.com/macqael/AdGuard-Home-Filters ! License: https://github.com/macqael/AdGuard-Home-Filters/blob/main/LICENSE ! Last modified: 2021-05-20 @@||feedproxy...
-- Integer_Storage_IO -- A re-implementation of Storage_IO for Integers with SPARK_Mode turned on in -- the specification and off in the body. -- Copyright (c) 2015, James Humphry - see LICENSE file for details with System.Storage_Elements; pragma Warnings (Off, "no procedure exists that can initialize abstract stat...
-- -- Copyright (C) 2022 Jeremy Grosser <jeremy@synack.me> -- -- SPDX-License-Identifier: BSD-3-Clause -- package body LFSR is function Next return Random_Type is N : Random_Type := State; LSB : Random_Type; begin loop LSB := N and 1; N := N / 2; N := N...
-- { dg-do compile } package body Sync_Iface_Test is protected body Buffer is procedure Dummy is begin null; end; end; function First (Obj : Buffer) return Natural is begin return 0; end; procedure Do_Test (Dummy : Natural; Item : Buffer) is Position1 : Natural := First (Item); ...
------------------------------------------------------------------------------ -- Copyright (C) 2012-2020 by Heisenbug Ltd. -- -- 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 Hocevar. See the LICE...