content stringlengths 23 1.05M |
|---|
-- MIT License
-- Copyright (c) 2021 Stephen Merrony
-- 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, copy, modify,... |
with ACO.Log;
with ACO.Messages; use ACO.Messages;
with Ada.Exceptions;
package body ACO.CANopen is
procedure Put
(This : in out Handler;
Msg : in ACO.Messages.Message)
is
Success : Boolean;
begin
This.Messages.Put (Msg, Success);
if not Success then
ACO.Log.Put_... |
with Ada.Exception_Identification;
package body Ada.Assertions is
pragma Suppress (All_Checks);
-- implementation
procedure Assert (
Check : Boolean;
Message : String := Debug.Source_Location) is
begin
if not Check then
Raise_Assertion_Error (Message);
end if;
end Asse... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
-- Autogenerated by Generate, do not edit
package GL.API.Shorts is
pragma Preelaborate;
Vertex_Attrib1 : T26;
Vertex_Attrib2 : T27;
Vertex_Attrib2v : T28;
Vertex_Attrib3 : T29;
Vertex_... |
package soc.usart.interfaces
with spark_mode => off
is
procedure configure
(usart_id : in unsigned_8;
baudrate : in unsigned_32;
data_len : in t_data_len;
parity : in t_parity;
stop : in t_stop_bits;
success : out boolean);
procedure transmit
(usart_id : i... |
"Message of the day:"
""
" " "A" """"
"Characters such as $, %, and } are allowed in string literals"
"Archimedes said ""Εύρηκα"""
"Volume of cylinder (πr2h) = "
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-----------------------------------------------------------------------
-- util-commands-consoles -- Console interface
-- Copyright (C) 2014, 2015, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may n... |
with Asis;
with A_Nodes;
with Dot;
package Asis_Tool_2.Unit is
type Class (Trace : Boolean := False) is tagged limited private; -- Initialized
procedure Process
(This : in out Class;
Unit : in Asis.Compilation_Unit;
Outputs : in Outputs_Record);
private
type Class (Trace : ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Real_Arrays; use Ada.Numerics.Real_Arrays;
with Ada.Numerics.Generic_Elementary_Functions;
procedure QR is
procedure Show (mat : Real_Matrix) is
package FIO is new Ada.Text_IO.Float_IO (Float);
begin
for row in mat'Range (1) loop
for col i... |
with GDNative.Console; use GDNative.Console;
package body Adventure is
procedure Process (Self : in out Player; Delta_Time : in Long_Float) is begin
Self.Health := Self.Health - 1;
if Self.Health = 0 then
Put ("Player Died!");
Put ("Player Respawn");
Self.Health := 100;
end if;
end;
... |
------------------------------------------------------------------------------
-- Copyright (c) 2017-2019, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ stream to skill tokens --
-- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski ... |
private
with
neural.Set,
fann_c.fann;
package neural.Net
--
-- Provides a neural net.
--
is
type Item is tagged private;
type View is access all Item;
-- forge
--
procedure define (Self : out Item; Name : in String;
... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
--
-- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
-- { dg-do compile }
-- { dg-options "-O2 -gnatws" }
procedure Discr45 is
function Ident_Int (I : Integer) return Integer is
begin
return I;
end;
procedure Proc (Signal : Boolean) is
subtype Index is Integer range 1..10;
type My_Arr is array (Index range <>) OF Integer;
type Rec (D3 : Inte... |
------------------------------------------------------------
-- This is the root for the lowlevel C interface
-- Where the Ada-specs are automaticly generated.
-- The package is private in order to guarantie that
-- no one outsite this libraray is using the internals without
-- beeing aware.
----------------------... |
pragma SPARK_Mode;
with Ada.Numerics.Long_Elementary_Functions;
use Ada.Numerics.Long_Elementary_Functions;
with Wire;
package body Zumo_Motion is
Pi : constant := 3.1415926;
function Get_Heading return Degrees
is
Mag : Axis_Data;
Heading : Degrees;
begin
Zumo_LSM303.Read_Mag (Data =>... |
with
ada.unchecked_Deallocation;
package body gel.Dolly
is
use Math;
procedure free (Self : in out View)
is
procedure deallocate is new ada.unchecked_Deallocation (Item'Class, View);
begin
if Self = null
then
return;
end if;
Self.destroy;
deallocate (Sel... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Pack_56 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Bits_56 is mod 2 ** 56;
for Bits_56'Size use 56;
package Indexing is new... |
-----------------------------------------------------------------------
-- ping -- Ping hosts application
-- Copyright (C) 2016, 2017 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 i... |
pragma License (Unrestricted);
-- extended unit specialized for FreeBSD (or Linux)
private with C;
package Ada.Environment_Encoding.Names is
-- Constants for schemes of system-specific text encoding.
pragma Preelaborate;
UTF_8 : Encoding_Id
renames Environment_Encoding.UTF_8;
UTF_16 : Encoding_Id
... |
-- Copyright 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 or agr... |
-- { dg-do run }
-- Test that a static link is correctly passed to a subprogram which is
-- indirectly called through an aggregate.
procedure Nested_Proc1 is
I : Integer := 0;
procedure P1 (X : Integer) is
begin
I := X;
end;
type Func_Ptr is access procedure (X : Integer);
type Arr is array (1..64)... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . S E R V E R... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
-- Advanced Resource Embedder 1.1.0
with Ada.Streams;
with Interfaces.C;
package simulator_assets is
type Content_Access is access constant Ada.Streams.Stream_Element_Array;
type Name_Access is access constant String;
type Format_Type is (FILE_RAW, FILE_GZIP);
type Content_Type is record
Name ... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with GBA.Interrupts;
use GBA.Interrupts;
with GBA.Numerics;
use GBA.Numerics;
with GBA.Memory;
use GBA.Memory;
with Interfaces;
use Interfaces;
generic
... |
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 euler28 is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String'Write (Text_Streams.Str... |
package Tkmrpc.Operations.Cfg is
Tkm_Version : constant Operations.Operation_Type := 16#0000#;
Tkm_Limits : constant Operations.Operation_Type := 16#0001#;
Tkm_Reset : constant Operations.Operation_Type := 16#0002#;
end Tkmrpc.Operations.Cfg;
|
-- { dg-do compile }
with Elab2_Pkg; use Elab2_Pkg;
package Elab2 is
type Num is (One, Two);
type Rec2 (D : Index_Type := 0) is record
Data : Rec1(D);
end record;
type Rec3 (D : Num) is record
case D is
when One => R : Rec2;
when others => null;
end case;
end reco... |
with System, System.Storage_Elements;
use System, System.Storage_Elements;
package body ObjectPack is
function hash(obj: Item) return Integer is
addr : Integer_Address := To_Integer(obj'Address);
begin
return Integer(addr mod 2**31);
end;
end;
|
-- { dg-do compile }
package body Discr11 is
function Create return DT_2 is
begin
return DT_2'(DT_1'(Create) with More => 1234);
end;
end Discr11;
|
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Characters.Wide_Wide_Latin_1;
with League.JSON.Objects;
with League.JSON.Values;
with Jupyter.Kernels;
procedure Magics.Ls_Magic
(IO_Pub : ... |
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.COMP is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype C1CSR_INMSEL_Field is HAL.UInt3;
... |
select
Server.Wake_Up (Parameters);
or delay 5.0;
-- No response, try something else
...
end select;
|
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
package openGL.Model.billboard
--
-- Models a rectangle capable of displaying an image.
--
is
type Item is abstract new Model.item with private;
type Plane is (xy, xz, yz);
type Size_t is
record
Width : Real;
Height : Real;
end record;
type Coordinates is array (1 .. 4)... |
with Ada.Synchronous_Barriers; use Ada.Synchronous_Barriers;
with System;
with Computation_Type;
with Image_Types;
generic
with package CT is new Computation_Type (<>);
with package IT is new Image_Types (<>);
with procedure Calculate_Pixel (Re : CT.Real;
Im ... |
with System;
with STM32_SVD.MPU; use STM32_SVD.MPU;
package STM32.MPU is
type MPU_Regions is range 0 .. 7;
type Attr_Type is record
Outer : UInt4;
Inner : UInt4;
end record
with Pack, Size => 8;
procedure Add_Region (Region_Num : MPU_Regions;
Addr : UInt3... |
with Ada.Text_Io;
with Ada.Strings.Unbounded;
package body Labels is
procedure Paint_Event (This : in out Label'Class) is
begin
Ada.Text_Io.Put_Line("Labels.Paint_Event() called");
Ada.Text_Io.Put_Line(" Label_Text = """ & Ada.Strings.Unbounded.To_String(This.Label_Text.Get) & """");
end;
... |
-- C37411A.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... |
-- (c) Copyright, Real-Time Innovations, $Date:: 2012-02-16 #$
-- All rights reserved.
--
-- No duplications, whole or partial, manual or electronic, may be made
-- without express written permission. Any such copies, or
-- revisions thereof, must display this notice unaltered.
-- This code contains trade secret... |
-- simple small package for the print stmt
package body Printer is
function Pr_Str (M : Types.Lovelace_Handle) return String is
begin
if Types.Is_Null (M) then
return "";
else
return Types.To_String (Types.Deref (M).all);
end if;
end Pr_Str;
end Printer;
|
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.Bodies_For_Entries is
use type LALCO.Ada_Node_Kind_Type;
procedure Extract_Edges
(Node : LAL.Ada_Node'Class;
Graph : Graph_Operations.Graph_Context)
is
begin
if Node.Kind = LALCO.Ada_Entry_Body then
... |
pragma Ada_2012;
package body Protypo.Code_Trees.Interpreter.Symbol_Table_References is
use Api.Symbols.Protypo_Tables;
----------
-- Read --
----------
function Read (X : Symbol_Reference) return Engine_Value is
begin
return Value (X.Position);
end Read;
-----------
-- Write --
-... |
with SDL.Video.Windows.Makers;
with SDL.Video.Renderers.Makers;
with SDL.Video.Palettes;
with SDL.Events.Events;
procedure Colour_Pinstripe_Display is
Width : constant := 1_200;
Height : constant := 800;
Window : SDL.Video.Windows.Window;
Renderer : SDL.Video.Renderers.Renderer;
Event : SDL.Ev... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with System;
private package CUPS.stdarg_h is
-- arg-macro: procedure va_start __builtin_va_start(v,l)
-- __builtin_va_start(v,l)
-- arg-macro: procedure va_end __builtin_va_end(v)
-- __builtin_va_end(v)
-- arg-m... |
package Basic_Subprogram_Calls.Child is
function Child_F1 return Integer;
procedure Child_P1;
end Basic_Subprogram_Calls.Child;
|
-- { dg-do compile }
with Discr16_G;
with Discr16_Cont; use Discr16_Cont;
procedure Discr16 is
generic
type T is (<>);
function MAX_ADD_G(X : T; I : INTEGER) return T;
function MAX_ADD_G(X : T; I : INTEGER) return T is
begin
return T'val(T'pos(X) + LONG_INTEGER(I));
end;
function MAX_ADD is new... |
-----------------------------------------------------------------------
-- wiki-parsers -- Wiki parser
-- Copyright (C) 2011 - 2021 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 ... |
with Ada.Text_IO; use Ada.Text_IO;
with Native.Filesystem; use Native.Filesystem;
with HAL.Filesystem; use HAL.Filesystem;
with Partitions; use Partitions;
with File_Block_Drivers; use File_Block_Drivers;
with Test_Directories; use Test_Directories;
procedure TC_Read_Partitions is
procedure L... |
-----------------------------------------------------------------------
-- applications.messages-factory -- Application Message Factory
-- Copyright (C) 2011, 2012, 2015, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License... |
private with Ada.Containers.Red_Black_Trees;
private with Ada.Finalization;
private with Ada.Streams;
generic
type Priority (<>) is private;
type Element_Type (<>) is private;
with function "<" (Left, Right : Priority) return Boolean is <>;
with function "=" (Left, Right : Priority) return Boolean is <>;
... |
-- Adobe Experience Manager (AEM) API
-- Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
--
-- The version of the OpenAPI document: 3.5.0_pre.0
-- Contact: opensource@shinesolutions.com
--
-- NOTE: This package is auto generated by OpenAPI-Generator 5.2.1.
-- https://openapi-generat... |
-- 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... |
-----------------------------------------------------------------------
-- helios-monitor -- Helios monitor
-- Copyright (C) 2017, 2019 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... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Support; use Support;
with ADMBase; use ADMBase;
package Metric.Kasner is
function set_3d_lapse (t, x, y, z : Real) return Real;
function set_3d_metric (t, x, y, z : Real) return MetricPointArray;
function set_3d_extcurv (t, x, y, z : Real) return ExtcurvPointArray;
function set_3d_lapse (... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- 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 f... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with System.Long_Long_Float_Types;
package body Ada.Float is
pragma Suppress (All_Checks);
function Infinity return Float_Type is
begin
if Float_Type'Digits <= Standard.Float'Digits then
declare
function inff return Standard.Float
with Import,
Conven... |
pragma Profile_Warnings (Ravenscar);
with profile_warning_p;
package profile_warning is
pragma Elaborate_Body;
procedure I is new profile_warning_p.Proc;
end;
|
-- 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... |
with Ada.Characters.Latin_9,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Text_IO;
use Utils;
package L9 renames Ada.Characters.Latin_9;
type Movements is (Forward, Down, Up);
File : File_Type;
Horizontal_Position : Natural ... |
with impact.d2.orbs.Collision,
impact.d2.orbs.Contact,
impact.d2.orbs.Solid,
impact.d2.Math;
package impact.d2.orbs.toi_Solver
--
--
--
is
use impact.d2.Math;
--
-- class b2Contact;
-- class b2Body;
-- struct b2TOIConstraint;
-- class b2StackAllocator;
-- This is a pure position solver ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with GL.Types;
private with GL.Low_Level;
package GL.Culling is
pragma Preelaborate;
type Face_Selector is (Front, Back, Front_And_Back);
use GL.Types;
procedure Set_Front_Face (Face : ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
-- This package contains extensions to GL as well as items
-- that are in the GL standard but are not (yet) in the GL libraries
-- on all platforms. For instance, standard Opengl32.dll on Windows up
-- to XP support up to GL 1.1; Vista, up to GL 1.4; and even versions
-- provided by graphics card makers lack 1.5 su... |
with Ada.Unchecked_Conversion;
with STM32.Device; use STM32.Device;
with STM32.DMA2D.Interrupt;
with STM32.DMA2D.Polling;
with STM32.SDRAM; use STM32.SDRAM;
package body Framebuffer_LTDC is
procedure Internal_Update_Layer
(Display : in out Frame_Buffer;
Layer : Positive);
-----... |
-----------------------------------------------------------------------
-- awa-images-modules -- Image management module
-- 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 thi... |
-- This package contains routines for ASIS Elements processing.
with Asis;
package AdaM.Assist.Query.find_Entities.element_Processing is
procedure Process_Construct (The_Element : Asis.Element);
-- This is the template for the procedure which is supposed to
-- perform the analysis of its argument Element... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
--
-- 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.Characters.Handling;
package bod... |
-- The MIT License (MIT)
-- Copyright (c) 2015 Pavel Zhukov <landgraf@fedoraproject.org>
-- 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 limit... |
with Ada.Containers.Functional_Sets;
generic
type Element_Type is private;
with function Elements_Equal(Left, Right : Element_Type)
return Boolean is "=";
package TLSF.Proof.Relation with SPARK_Mode is
use Ada.Containers;
subtype Positive_Count_Type is Count_Type range 1... |
-----------------------------------------------------------------------
-- Util.Serialize.Mappers.Vector_Mapper -- Mapper for vector types
-- Copyright (C) 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package Alarm_Tests is
type Alarm_Test is new AUnit.Test_Cases with null Record;
end Alarm_Tests;
|
PROCEDURE defining_enumeration_literal IS
TYPE E1 IS (A, B, C, 'A', 'C', 'B');
BEGIN
NULL;
END defining_enumeration_literal;
|
with Ada.Numerics.Complex_Types; use Ada.Numerics.Complex_Types;
package Loop_Optimization13 is
type Complex_Vector is array (Integer range <>) of Complex;
type Complex_Vector_Ptr is access Complex_Vector;
type Rec (Kind : Boolean := False) is record
case Kind is
when True => V : Complex_Vect... |
package body any_Math.any_Algebra.any_linear.any_d2
is
-----------
-- Vector_2
--
function Angle_between_pre_Norm (U, V : in Vector_2) return Radians
is
use Functions, Vectors;
Val : Real := U * V; -- Dot product.
begin
if val < -1.0 then val := -1.0; -- Clamp to avoid rou... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- --
-- -... |
--
-- Copyright (C) 2015-2018 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.
--
-- ... |
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Wide_Wide_Text_IO;
with Ada.Command_Line;
package body Errors is
-------------------------
-- Circular_Dependency --
-------------------... |
with Ada.Calendar;
package DCF.Streams.Calendar is
-- Set_Time again, but with the standard Ada Time type.
-- Overriding is useless and potentially harmful, so we prevent it with
-- a class-wide profile.
procedure Set_Time (S : out Root_Zipstream_Type'Class; Modification_Time : Ada.Calendar.Time);
... |
package openGL.IO.collada
--
-- Provides a function to convert a Collada model file to an openGL IO model.
--
is
function to_Model (model_Path : in String) return IO.Model;
end openGL.IO.collada;
|
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Network.Managers is
-------------
-- Connect --
-------------
procedure Connect
(Self : in out Manager'Class;
Addre... |
-- There are exactly ten ways of selecting three from five, 12345:
--
-- 123, 124, 125, 134, 135, 145, 234, 235, 245, and 345
--
-- In combinatorics, we use the notation, 5C3 = 10.
--
-- In general,nCr = n!/(r!(n-r)!) ,where r < n
--
-- It is not until n = 23, that a value exceeds one-million: 23C10 = 1,144,066.
--
-- ... |
with AdaBase;
with Connect;
with Ada.Text_IO;
with Ada.Exceptions;
procedure MultiQuery is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package EX renames Ada.Exceptions;
numrows : AdaBase.Affected_Rows;
setting : Boolean;
nextone : Boolean;
SQL : constant String :=
"... |
-- SPDX-FileCopyrightText: 2020-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Discrete_Simple_Expression_Ranges;
package body Program.Nodes.Proxy_Associations is
----------------------
-- Actual_Para... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.