content stringlengths 23 1.05M |
|---|
with Ada.Text_IO; use Ada.Text_IO;
procedure Power is
procedure PrintInt(N: Integer) is
C: Integer := N rem 10;
begin
if N > 9 then PrintInt(N / 10); end if;
Put(Character'Val(48 + C));
end;
procedure PrintSInt(N: Integer) is
C: Integer := N rem 10;
begin
if N >= 0 then Pr... |
-----------------------------------------------------------------------
-- applications -- Ada Web Application
-- Copyright (C) 2009, 2010, 2013, 2015, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
with AUnit;
with AUnit.Test_Fixtures;
package UA_Append_Tests is
type Test_Fixture is new AUnit.Test_Fixtures.Test_Fixture with record
V1 : Integer;
V2 : Integer;
V3 : Integer;
V4 : Integer;
end record;
procedure Set_Up (T : in out Test_Fixture);
procedure TestAppe... |
-----------------------------------------------------------------------
-- auth_cb -- Authentication callback examples
-- Copyright (C) 2013, 2020 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 ... |
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+si_units@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 S... |
package Termbox is
procedure Tb_Init; -- initialization
pragma Import (C, Tb_Init, "tb_init");
procedure Tb_Shutdown; -- shutdown
pragma Import (C, Tb_Shutdown, "tb_shutdown");
procedure TB_Width; -- width of the terminal screen
pragma Import (C, TB_Width, "tb_width");
procedure TB_Height; -- he... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- Copyright 2016,2017 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 o... |
with Interfaces; use Interfaces;
with Ada.Text_IO; use Ada.Text_IO;
with Ringbuffers;
procedure Test_Ringbuffer is
package FIFO_Package is new Ringbuffers (256, Unsigned_8);
subtype FIFO is FIFO_Package.Ringbuffer;
Test : FIFO;
begin
Test.Write (1);
Test.Write (7);
while not Test.Is_Empty loop
... |
with Ada.Containers.Indefinite_Ordered_Maps;
generic
with procedure Read_Scalar (Input : in String;
Success : out Boolean;
Consumed : out Natural;
Result : out Scalar_Type);
-- If Input begins with a ... |
-- --
-- package Copyright (c) Dmitry A. Kazakov --
-- Parsers.Multiline_Source.Text_IO Luebeck --
-- Implementation Winter, 2004 --
-- ... |
-- { dg-do compile }
-- { dg-options "-gnatws -fdump-tree-original" }
procedure Derived_Type1 is
type Root is tagged null record;
type Derived1 is new Root with record
I1 : Integer;
end record;
type Derived2 is new Derived1 with record
I2: Integer;
end record;
R : Root;
D1 : Derived1;
D2 : ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Wide_Characters.Unicode; -- GNAT Specific.
-- with Ada.Text_IO;
package body Symbex.Lex is
package Unicode renames Ada.Wide_Characters.Unicode;
--
-- Private subprograms.
--
procedure Set_State
(Lexer : in out Lexer_t;
State : in State_Stage_t) is
begin
Lexer.State (State) := T... |
package Edit_Line is
function Read_Line (Prompt : in String) return String;
procedure Add_History (Input : in String);
end Edit_Line; |
pragma License (Unrestricted);
-- implementation unit for Generic_Real_Arrays and Generic_Complex_Arrays
private package Ada.Numerics.Generic_Arrays is
pragma Pure;
-- vector selection, conversion, and composition operations
generic
type Number is private;
type Vector is array (Integer range <>... |
with Libtcod.Maps, Libtcod.Input;
with Actors, Engines, Ada.Numerics.Elementary_Functions;
use Libtcod;
package body Components.AIs is
package Float_Math renames Ada.Numerics.Elementary_Functions;
---------------------------
-- player_move_or_attack --
---------------------------
function player_move... |
-----------------------------------------------------------------------
-- servlet-responses -- Servlet Responses
-- Copyright (C) 2010, 2011, 2018 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... |
-----------------------------------------------------------------------
-- asf-beans-injections -- Injection of parameters, headers, cookies in beans
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... |
with Ada.Text_IO;
with Ada.Containers.Indefinite_Ordered_Maps;
with PrimeInstances;
with Ada.Numerics.Elementary_Functions;
package body Problem_39 is
package IO renames Ada.Text_IO;
package Math renames Ada.Numerics.Elementary_Functions;
package Positive_Primes renames PrimeInstances.Positive_Primes;
packa... |
package body EU_Projects.Identifiers is
-----------
-- To_ID --
-----------
function To_ID
(X : String)
return Identifier
is
begin
if not Is_Valid_Identifier (X) then
raise Bad_Identifier with X;
end if;
return Identifier'(ID => ID_Names.To_Bounded_String (To_... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- --
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- { dg-do run }
-- { dg-options "-O" }
with Loop_Optimization3_Pkg; use Loop_Optimization3_Pkg;
procedure Loop_Optimization3 is
type Arr is array (Integer range -3 .. 3) of Integer;
C : constant Arr := (1, others => F(2));
begin
if C /= (1, 2, 2, 2, 2, 2, 2) then
raise Program_Error;
end if;
end;
|
package Example1 is
procedure Sense ;
procedure Handle_Deadline;
end Example1;
|
-- BinToAsc.Base85
-- Various binary data to ASCII codecs known as Base85, ASCII85 etc
-- Copyright (c) 2015, James Humphry - see LICENSE file for details
package body BinToAsc.Base85 is
Reverse_Alphabet : constant Reverse_Alphabet_Lookup
:= Make_Reverse_Alphabet(Alphabet, True);
type Bin_Frame is mod 2*... |
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org)
-- 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... |
package My_Package is
-- @summary
-- Test package.
--
subtype Count is Long_Long_Integer range 0 .. Long_Long_Integer'Last;
type Arr is array (Positive range <>) of Natural;
type Enum is (One, Two, Three);
----------------------------------------------------------------------------
function My_Fun... |
with Numerics, Numerics.Dense_Matrices, Ada.Text_IO, Dense_AD;
use Numerics, Numerics.Dense_Matrices, Ada.Text_IO;
procedure LU_Test is
use Real_IO, Int_IO;
N : constant Nat := 5;
package AD is new Dense_AD (N); use AD;
Example_1 : constant Real_Matrix := ((1.0, 3.0, 5.0),
(2.0, 4.0, 7.0),
(... |
-- 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 (Command_Line_Interface)
procedure Read_Command_Line (Command_Args : out Command_Line_Type) is
procedure Get_Foreign (P : out String);
pragma Interface (External, Get_Foreign);
pragma Import_Valued_Procedure (Get_Foreign,
"LIB$GET_FOREIGN",
... |
-- { dg-do compile }
pragma Warnings (Off, "*bits of*unused");
package warnstar is
type r is record
a : integer;
end record;
for r use record
a at 0 range 0 .. 1023;
end record;
end warnstar;
|
-- { dg-do compile }
with Array17_Pkg; use Array17_Pkg;
procedure Array17 is
X : aliased Varray := (1 .. 8 => 1.0);
Y : Varray (1 .. 8) := (others => -1.0);
R : Varray (1 .. 8);
begin
R (1 .. 4) := Y (1 .. 4) + X (1 .. 4);
end;
|
with Es_Primo;
with Listas;
procedure Crear_Sublista_4Primos is new Listas.Crear_Sublista(Cuantos => 4, Filtro => Es_Primo); |
-- see OpenUxAS\src\Communications\MessageAttributes.h
package UxAS.Comms.Data is
type Message_Attributes is tagged private;
type Message_Attributes_Ref is access all Message_Attributes;
type Message_Attributes_View is access constant Message_Attributes;
type Any_Message_Attributes is access Message_A... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package MOS is
type Byte_T is mod 2**8; --[0,255]
type Short_T is mod 2**16; -- 2 Byte
MOS_START_PC : constant Short_T := 16#600#;
MOS_MAX_MEMORY : constant Sho... |
-----------------------------------------------------------------------
-- facebook -- Get information about a Facebook user using the Facebook API
-- Copyright (C) 2012, 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License... |
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- ... |
with System.Storage_Elements;
package body Counter
with SPARK_Mode
is
procedure Bump_And_Monitor (Alarm : out Boolean)
is
Calc : Integer;
begin
Calc := Port;
Alarm := Limit < Calc;
end Bump_And_Monitor;
end Counter;
|
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
private with Ada.Containers.Indefinite_Hashed_Maps;
package Yaml.Dom.Mapping_Data is
type Instance is tagged limited private
with Constant_Indexing => Element;
type Cursor is private;
... |
-----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... |
-------------------------------------------------------------------------
-- GL.Geometry - GL vertex buffer Object
--
-- Copyright (c) Rod Kay 2007
-- AUSTRALIA
-- Permission granted to use this software, without any warranty,
-- for any purpose, provided this copyright note remains attached
-- and ... |
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
procedure Swap is
A, B : Integer;
procedure Swap_It (A, B: in out Integer) is
Temp : Integer;
begin
Temp := B;
B := A;
A := Temp;
end Swap_It;
begin
Put("A=");
Get(A); Skip_Line;
Put("B=");
Get(B); Skip_Line;
... |
-- { dg-do compile }
procedure Test_Unknown_Discrs is
package Display is
type Component_Id (<>) is limited private;
Deferred_Const : constant Component_Id;
private
type Component_Id is (Clock);
type Rec1 is record
C : Component_Id := Deferred_Const;
end r... |
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with League.Strings;
with WebIDL.Arguments;
with WebIDL.Constructors;
with WebIDL.Definitions;
with WebIDL.Enumerations;
with WebIDL.Interface_Members;
wit... |
package Loop_Optimization14 is
type Rec is record
A : Boolean;
pragma Atomic (A);
B : Boolean;
end record;
procedure Finalize_Pool (Pool : in out Rec);
end Loop_Optimization14;
|
-- C32115A.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... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Interrupts;
with System.Interrupt_Handlers;
with System.Tasking.Protected_Objects.Entries;
package System.Interrupts is
type Previous_Handler_Item is record
Interrupt : Ada.Interrupts.Interrupt_Id;
Handler : Ada.Interru... |
-----------------------------------------------------------------------
-- ado-schemas-postgresql -- Postgresql Database Schemas
-- Copyright (C) 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
pragma Ada_2012;
-- with Ada.Text_Io; use Ada.Text_Io;
package body Protypo.Api.Engine_Values.Constant_Wrappers is
----------------
-- To_Handler --
----------------
function To_Handler_Value (Value : Engine_Value) return Handler_Value is
begin
if Value in Handler_Value then
return val... |
with Ada;
with Ada.Text_IO;
with Ada.Command_Line;
with GNAT.Command_Line;
with Ada.Environment_Variables;
with Ada.Directories;
with Ada.Directories.Hierarchical_File_Names;
with GNAT.OS_Lib;
with Ada.Containers.Indefinite_Ordered_Maps;
with Ada.Containers.Indefinite_Vectors;
with Ada.Characters.Latin_1;
package Ada_... |
------------------------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2004 Dmitriy Anisimkov --
-- ... |
----------------------------------------------------------------
-- ZLib for Ada thick binding. --
-- --
-- Copyright (C) 2002-2003 Dmitriy Anisimkov --
-- ... |
with Ada.Command_Line;
with Ada.Text_IO;
with ZMQ;
procedure Version is
function Main return Ada.Command_Line.Exit_Status
is
Major, Minor, Patch : Natural;
begin
ZMQ.Version (Major, Minor, Patch);
Ada.Text_IO.Put_Line ("Current 0MQ version is "&Major'Img&"."&Minor'Img&"."&Patch'Img);
... |
-- Shoot'n'loot
-- Copyright (c) 2020 Fabien Chouteau
package Menus is
procedure Run with No_Return;
end Menus;
|
with System.Native_Time;
with C.sys.resource;
with C.sys.time;
package body System.Native_Execution_Time is
use type C.signed_int;
function To_Duration (D : C.sys.time.struct_timeval) return Duration;
function To_Duration (D : C.sys.time.struct_timeval) return Duration is
begin
return Native_Time.To_... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Price_Fraction is
-- Put the declarations here
Value : Price := Price'First;
begin
loop
Put_Line (Price'Image (Value) & "->" & Price'Image (Scale (Value)));
exit when Value = Price'Last;
Value := Price'Succ (Value);
end loop;
end Test_Price... |
-----------------------------------------------------------------------
-- are-utils -- Utilities for model generator
-- Copyright (C) 2010, 2011, 2012, 2015, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
procedure Entry_Body_Declaration is
protected Obj is
entry Start;
private
Is_Set : Boolean := False;
end Obj;
protected body Obj is
entry Start when Is_Set is
begin
null;
end;
end Obj;
begin
null;
end Entry_Body_Declaration;
|
with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with Ada.Unchecked_Deallocation;
with System.Form_Parameters;
with System.UTF_Conversions;
package body Ada.Naked_Text_IO is
use Exception_Identification.From_Here;
use type IO_Modes.File_External;
use type IO_Modes.File_External_Spec;
... |
pragma License (Unrestricted);
with Ada.Containers;
generic
with package Bounded is new Generic_Bounded_Length (<>);
function Ada.Strings.Bounded.Hash (Key : Bounded.Bounded_String)
return Containers.Hash_Type;
pragma Preelaborate (Ada.Strings.Bounded.Hash);
|
--------------------------------------------------------------------------------
-- 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... |
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-----------------------------------------------------------------------
-- Util.beans.factory -- Bean Registration and Factory
-- Copyright (C) 2010 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... |
package Random_57 is
type Mod_7 is mod 7;
function Random7 return Mod_7;
-- a "fast" implementation, minimazing the calls to the Random5 generator
function Simple_Random7 return Mod_7;
-- a simple implementation
end Random_57;
|
-- { dg-do compile }
-- { dg-options "-O2 -gnatp" }
function Scalar_Mode_Agg_Compare_Loop return Boolean is
S : constant String (1 .. 4) := "ABCD";
F : constant Natural := S'First;
L : constant Natural := S'Last;
begin
for J in F .. L - 1 loop
if S (F .. F) = "X" or (J <= L - 2 and S (J .. J + 1) = ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- Copyright (c) 2019, 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... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
with Ada.Real_Time;
with Ada.Text_IO;
with AWS.Default;
with AWS.Server;
with Router_Cb;
procedure Main
is
WS : AWS.Server.HTTP;
Port : constant Natural := AWS.Default.Server_Port;
begin
Ada.Text_IO.Put_Line
("Serving on 127.0.0.1:" & Port'Img);
Router_Cb.Init;
AWS.Server.Start (WS,
... |
pragma SPARK_Mode;
with Line_Finder_Types; use Line_Finder_Types;
with Geo_Filter;
with Types; use Types;
with Zumo_LED;
with Zumo_Motors;
with Zumo_QTR;
-- @summary
-- Line finder algorithm
--
-- @description
-- This package implements the line finder algorithm
--
package Line_Finder is
-- Amount of time t... |
with HAL;
generic
with package USART is new HAL.USART (<>);
package Drivers.Text_IO is
procedure Put (C : Character);
procedure Put (S : String);
procedure Put_Line (S : String);
procedure Put_Integer (N : Integer; Width : Natural := 0);
procedure Put_Hex (N : Unsigned_32; Width : Unsigned_8 := 0)... |
-- Demonstrates:
-- Declaring arrays
-- Passing arrays as parameters
-- Aggregate assignment
-- Attribute: 'first, 'last, 'range
with ada.integer_text_io; use ada.integer_text_io;
with ada.text_io; use ada.text_io;
procedure array_declare is
-- A CONSTRAINED array type. Bounds can be any va... |
with GNAT.Source_Info;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Memory; use Memory;
with Memory.Container; use Memory.Container;
with Util; use Util;
-- Base package for unit tests.
package Test is
-- Run the unit tests.
procedure Run_Tests;
pr... |
package body BBqueue.Buffers.framed
with SPARK_Mode
is
pragma Compile_Time_Error ((Count'Object_Size mod System.Storage_Unit) /= 0,
"Invalid Object_Size for Count");
procedure Write_Header (After_Hdr_Addr : System.Address;
Hdr_Size : Header_Count;
... |
-- 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... |
-- Ada regular expression library
-- (c) Kristian Klomsten Skordal 2020 <kristian.skordal@wafflemail.net>
-- Report bugs and issues on <https://github.com/skordal/ada-regex>
with Ada.Text_IO;
package body Regex.Debug is
procedure Print_Syntax_Tree (Root : in Regex.Syntax_Trees.Syntax_Tree_Node_Access) is
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with RASCAL.Memory; use RASCAL.Memory;
with RASCAL.OS; use RASCAL.OS;
with RASCAL.Utility; use RASCAL.Utility;
with RASCAL.FileExternal; use RASCAL.FileExternal;
with RASCAL.ToolboxMenu; use RASCAL.ToolboxMenu;
with RASCAL.Toolbox; use RASCAL.Toolbox;... |
package Generic_Subprogram_Calls is
generic
type TP is private;
procedure G1(T : TP);
generic
with procedure PP;
procedure G2;
generic
type TP is private;
package G3 is
procedure P(T : TP);
end G3;
generic
with procedure PP;
package G4 is
procedure P... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Discr11_Pkg; use Discr11_Pkg;
package Discr11 is
type DT_2 is new DT_1 with record
More : Integer;
end record;
function Create return DT_2;
end Discr11;
|
package body Constant2_Pkg2 is
function F1 return Boolean is
begin
return False;
end;
function F2 return Boolean is
begin
return False;
end;
end Constant2_Pkg2;
|
package body Set_Cons is
function "+"(E: Element) return Set is
S: Set := (others => False);
begin
S(E) := True;
return S;
end "+";
function "+"(Left, Right: Element) return Set is
begin
return (+Left) + Right;
end "+";
function "+"(Left: Set; Right: Element) return Set i... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Nth_Root is
generic
type Real is digits <>;
function Nth_Root (Value : Real; N : Positive) return Real;
function Nth_Root (Value : Real; N : Positive) return Real is
type Index is mod 2;
X : array (Index) of Real := (Value, Value);
K ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
with AUnit.Assertions.Generic_Helpers;
package AUnit.Assertions.Typed is
procedure Assert is new Generic_Helpers.Assert_Integer_Image
(Num => Short_Short_Integer);
procedure Assert is new Generic_Helpers.Assert_Integer_Image
(Num => Short_Integer);
procedure Assert is new Generic_Helpers.Assert_I... |
with Ada.Text_IO; use Ada.Text_IO;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Rejuvenation.Finder; use Rejuvenation.Finder;
with Rejuvenation.Utils; use Rejuvenation.Utils;
package body Placeholder_Relati... |
-- SPDX-FileCopyrightText: 2019-2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Units.Declarations;
package body Program.Units.Bodies is
--------------------
-- Append_Subunit --
--------------------
pro... |
--
-- 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 Symbols;
package body Decoration is
... |
with
any_Math.any_Geometry.any_d3.any_Modeller;
package float_math.Geometry.d3.Modeller is new float_Math.Geometry.d3.any_Modeller;
|
-- 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... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with
GL.lean,
GL.Binding,
openGL.Tasks,
openGL.Errors;
package body openGL.Frame_Buffer
is
package body Forge
is
function to_Frame_Buffer (Width,
Height : in Positive) return Item
is
use openGL.Texture,
GL,
GL.B... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.