content stringlengths 23 1.05M |
|---|
pragma Check_Policy (Trace => Ignore);
with System.Address_To_Constant_Access_Conversions;
with System.Storage_Elements;
with System.Synchronous_Control;
with System.Unwind.Occurrences;
with System.Unwind.Standard;
package body System.Unwind.Raising is
pragma Suppress (All_Checks);
-- package separated for depe... |
-- { dg-do run }
-- { dg-options "-gnatws" }
procedure Alignment9 is
type Kind is (Small, Large);
for Kind'Size use 8;
type Header is
record
K : Kind;
I : Integer;
end record;
for Header use
record
K at 4 range 0..7;
I at 0 range 0..31;
end record;
for Header'Size ... |
------------------------------------------------------------------------------
-- --
-- tiled-code-gen --
-- --
-- ... |
-----------------------------------------------------------------------
-- stemmer-factory -- Multi-language stemmer with Snowball generator
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
with Ada.Text_IO, Ada.Containers.Vectors;
procedure Sequence is
package Vectors is new
Ada.Containers.Vectors(Index_Type => Positive, Element_Type => Positive);
use type Vectors.Vector;
type Sequence is record
List: Vectors.Vector;
Index: Positive;
-- This implements some form of "laz... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Lexical_Elements;
with Program.Elements.Choice_Parameter_Specifications;
package Program.E... |
-- with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Readable_Sequences.String_Sequences;
use Readable_Sequences;
package Protypo.Tokens is
use Ada.Strings.Unbounded;
subtype Token_Position is
Readable_Sequences.String_Sequences.Position_Type;
No_Position : constant Token_Position :=
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Module : string_pkg.ada
-- Component of : common_library
-- Version : 1.2
-- Date : 11/21/86 16:35:20
-- SCCS File : disk21~/rschm/hasee/sccs/common_library/sccs/sxstring_pkg.ada
-- $Source: /nosc/work/abstractions/string/RCS/string.bdy,v $
-- $Revision: 1.3 $ -- $Date: 85/02/01 10:58:51 $ -... |
-- Auto generated file. Don't edit
-- Read copyright and license at the end of this file
package body Encodings.Maps.CP_1006 is
Forward : Forward_Map (Character'Val(16#A1#) .. Character'Last) :=
(Wide_Character'Val( 16#6F0#),
Wide_Character'Val( 16#6F1#),
Wide_Character'Val( 16#6F2#),
Wi... |
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Elements.Identifiers;
with Program.Cross_Reference_Updaters;
private
package Program.Simple_Resolvers is
... |
--
-- 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 AUnit; use AUnit;
with AUnit.Test_Suites;
package GNATCOLL.uuid.Suite is
function Suite return Test_Suites.Access_Test_Suite;
-- Return the test suite
end GNATCOLL.uuid.Suite;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package AdaBase is
pragma Pure;
type Error_Modes is (silent, warning, raise_exception);
type Case_Modes is (lower_case, natural_case, upper_case);
type Trax_Isolation is (read_uncommitted... |
with GNATCOLL.JSON;
package GPR_Tools.Gprslaves.DB.JSON is
function Create (Item : Info_Struct) return GNATCOLL.JSON.JSON_Value;
function Create (Item : Host_Address) return GNATCOLL.JSON.JSON_Value;
function Create (Item : GNAT.Spitbol.Table_VString.Table) return GNATCOLL.JSON.JSON_Value;
function Create ... |
package Renaming9 is
pragma Elaborate_Body;
type Object is tagged null record;
type Pointer is access all Object'Class;
type Derived is new Object with record
I : Integer;
end record;
Ptr : Pointer := new Derived;
Obj : Derived renames Derived (Ptr.all);
end Renaming9;
|
-- Ada_GUI version of Random_Int
--
-- Copyright (C) 2021 by PragmAda Software Engineering
--
-- Released under the terms of the 3-Clause BSD License. See https://opensource.org/licenses/BSD-3-Clause
--
-- Root of the package hierarchy
package Random_Int is
pragma Pure;
end Random_Int;
|
with Aggr20_Pkg; use Aggr20_Pkg;
with System;
package Aggr20 is
type Rec1 is record
Address : System.Address;
end record;
Nil_Rec1 : constant Rec1 := (Address => Default_Nil_Address);
type Rec2 is record
Callback : Rec1;
end record;
Nil_Rec2 : constant Rec2 := (Callback => Nil_Rec1);
... |
with GNAT.Command_Line; use GNAT.Command_Line;
with Ada; use Ada;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Streams.Stream_IO;
use Ada.Streams;
with BMP; use BMP;
with Interfaces; use Interfaces;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Directories;
with GNAT.OS_Lib;
procedure Main is
File_... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Taken from #2933 submitted by @koenmeersman
procedure Go is
begin
Loop_Label :
while True loop
declare
procedure Not_Tagged is
begin
null;
end Step_T;
begin
null;
end;
end loop Loop_Label;
end Go;
|
-----------------------------------------------------------------------
-- akt-windows -- GtK Windows for Ada Keystore GTK application
-- 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... |
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with League.Regexps;
with Markdown.Common_Patterns;
with Markdown.Visitors;
package body Markdown.Link_Reference_Definitions is
function "+" (Text ... |
with Regression_Library;
package Regression is
function "&" (Left, Right : String) return String;
package Outer is
function OuterFun (Input : Boolean) return Boolean;
procedure OuterProc (Input : in Boolean);
package Nested is
procedure NestedProc (Input : in Boolean);... |
with Ada.Text_IO;
with iconv;
procedure version is
begin
Ada.Text_IO.Put_Line (iconv.Version);
end version;
|
with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
procedure Guess_Number is
subtype Number is Integer range 1 .. 10;
package Number_IO is new Ada.Text_IO.Integer_IO (Number);
package Number_RNG is new Ada.Numerics.Discrete_Random (Number);
Generator : Number_RNG.Generator;
My_Number : Number;
You... |
-- Abstract :
--
-- Runtime utils for wisi_grammar.wy actions.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- under terms of the GNU General Public License as published by the Free
-- Software Foundation; either ... |
with Giza.Widgets.Frame; use Giza.Widgets.Frame;
with Giza.Graphics; use Giza.Graphics;
with Giza.Events; use Giza.Events;
package RPM_Widget is
subtype RPM_Range is Natural range 0 .. 9999;
type RPM is new Gframe with private;
overriding
procedure Draw (This : in out RPM;
Ctx : in o... |
with Ahven.Framework;
with Container.Api;
package Test_Container.Read is
package Skill renames Container.Api;
use Container;
use Container.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
procedure Constant_Length_Array;
procedure Variab... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- --
-- -... |
with Display; use Display;
with Display.Basic; use Display.Basic;
procedure Main is
Ball : Shape_Id := New_Circle
(X => 0.0,
Y => 0.0,
Radius => 20.0,
Color => Blue);
begin
null;
end Main;
|
with Interfaces;
with kv.avm.Executables;
with kv.avm.Instructions;
with kv.avm.Registers;
with kv.avm.Actors;
with kv.avm.Processors;
with kv.avm.Frames;
with kv.avm.Actor_References;
with kv.avm.Actor_References.Sets;
with kv.avm.Messages;
with kv.avm.Tuples;
with kv.avm.Control;
with kv.avm.Memories;
package kv.av... |
-- { dg-do run }
-- { dg-options "-gnatws" }
pragma Assertion_Policy (Check);
with Text_IO; use Text_IO;
procedure assert1 is
type p1 is array (1 .. 113) of Boolean;
pragma Pack (p1);
type p2 is array (1 .. 13) of Boolean;
pragma Pack (p2);
type p3 is array (1 .. 113) of Boolean;
pragma Pack (p3);
... |
-- C49023A.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) 2017-2020, Fabien Chouteau --
-- --
-- ... |
with agar.core.slist;
with agar.core.types;
with agar.gui.text;
package agar.gui.widget.label is
use type c.unsigned;
type flag_t is limited private;
type flag_access_t is access all flag_t;
pragma convention (c, flag_access_t);
type label_t is limited private;
type label_access_t is access all label_t;... |
------------------------------------------------------------------------------
-- 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 --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO;
with Longest_Common_Prefix;
procedure Main
with SPARK_Mode => On
is
begin
Longest_Common_Prefix.A := (1, 2, 3, 4, 5, 1, 2, 3, 4, 5, others => 0);
pragma Assert (Longest_Common_Prefix.A (1) = 1);
pragma Assert (Longest_Common_Prefix.A (2) = 2);
pragma Assert (Longest_Common_Prefix.A (1) ... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Exceptions;
with Ada.Streams;
with Ada.Text_IO;
with GNAT.Sockets;
with Coroutines.Polling;
pragma Style_Checks (Off);
pr... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with GBA.Memory;
use GBA.Memory;
use type GBA.Memory.Address;
package GBA.Display.Palettes is
type Palette_Mode is
( Colors_16 -- 16 palettes of 15 colors + transparent (4-bit indexed color)
, Colors_256 -- one palette of 2... |
-----------------------------------------------------------------------
-- stemmer-factory -- Multi-language stemmer with Snowball generator
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
with Big_Integers; use Big_Integers;
with Types; use Types;
with Construct_Conversion_Array;
package Conversion with
SPARK_Mode,
Ghost
is
pragma Annotate (GNATprove, Terminating, Conversion);
Conversion_Array : constant Conversion_Array_Type
:= Construct_Conversion_Array.Conversion_Array;
-- ... |
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Directories;
with League.Strings;
package body Cross_References is
function "+" (Text : Wide_Wide_String)
return ... |
-- SPDX-FileCopyrightText: 2020-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Element_Visitors;
with Program.Elements.Discriminant_Associations;
with Program.Elements.Expressions;
with P... |
-- { dg-compile }
procedure Warn13 is
pragma Warnings ("-Wbogus"); -- { dg-warning "unknown" }
pragma Warnings ("-Werror"); -- { dg-warning "does not control warning" }
pragma Warnings ("-Wformat"); -- { dg-warning "switch not valid for Ada" }
begin
null;
end;
|
-- This spec has been automatically generated from STM32F46_79x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.DSI is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- DSI Host Control Regist... |
with Ada.Text_IO; use Ada.Text_IO;
with GNAT.Sockets; use Gnat.Sockets;
procedure DNSQuerying is
procedure Print_Address_Info (Host, Serv : String; Family : Family_Type := Family_Unspec) is
Addresses : Address_Info_Array := Get_Address_Info (Host, Serv, Family, Passive => False, Numeric_Host => False);
I... |
--
-- bytebauble.ads - Specification for the ByteBauble package.
--
-- 2021/03/05, Maya Posch
--
with Interfaces;
package ByteBauble is
type BBEndianness is (BB_BE, BB_LE);
subtype uint16 is Interfaces.Unsigned_16;
subtype uint32 is Interfaces.Unsigned_32;
subtype uint64 is Interfaces.Unsigned_64;
--subtype... |
package body Maths is
function Add (A, B : in Integer) return Integer is
begin
return A + B;
end Add;
end Maths;
|
with Libadalang.Analysis;
package Offmt_Lib.Detection is
package LAL renames Libadalang.Analysis;
function Check_Defmt_Log_Call (Node : LAL.Call_Stmt'Class;
Call : out LAL.Call_Expr)
return Boolean;
-- Return True if Node is a valid Offmt.... |
with Ada.Containers.Ordered_Maps;
with Ada.Integer_Text_IO;
with Ada.Text_IO;
procedure Day_06 is
subtype Name is String(1 .. 3);
You: constant Name := "YOU";
Santa: constant Name := "SAN";
type Orbit is record
Self, Parent: Name;
end record;
type Chain is array (Positive range <>) of Name;
... |
------------------------------------------------------------------------------
-- Copyright (c) 2011, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
with Ada.Unchecked_Conversion;
with System.Address_To_Constant_Access_Conversions;
with System.Storage_Elements;
with C.stdint;
package body C.unwind_pe is
pragma Suppress (All_Checks);
use type System.Storage_Elements.Storage_Offset;
procedure unreachable
with Import,
Convention => Intrinsic, ... |
with System, Ada.Text_IO;
with Interfaces;
procedure ScopeQual is
x : Interfaces.Unsigned_64 := 1;
begin
x := Interfaces.Shift_Left(x, 2);
Ada.Text_IO.Put_Line (System.Address'Size'Img);
end ScopeQual;
|
import std.stdio, std.algorithm : swap;
T[] bubbleSort(T)(T[] data) pure nothrow
{
foreach_reverse (n; 0 .. data.length)
{
bool swapped;
foreach (i; 0 .. n)
if (data[i] > data[i + 1]) {
swap(data[i], data[i + 1]);
swapped = true;
}
... |
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with League.String_Vectors;
with WebIDL.Definitions;
package WebIDL.Enumerations is
pragma Preelaborate;
type Enumeration is limited interface and ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- { dg-do run }
procedure Array12 is
function N return Integer is
begin
return 0;
end;
subtype Element is String (1 .. N);
type Ptr is access all Element;
type Vector is array (Positive range <>) of aliased Element;
V : Vector (1..2);
begin
if Ptr'(V(1)'Access) = V(2)'Access then
raise Pro... |
-- Simple root file runner for FPGA tests using VHDL on low-level and Ada in High-level.
-- João Villaça - ICMC/USP - March, 2019.
With text_IO; Use text_IO;
With Ada.Integer_Text_IO; Use Ada.Integer_Text_IO;
Procedure runner is
state: string(1..50);
enable: boolean;
stream: boolean(0..7);
buffer: inte... |
with Ada.Numerics.Big_Numbers.Big_Integers;
use Ada.Numerics.Big_Numbers.Big_Integers;
with Ada.Containers.Vectors;
with Fibonacci; use Fibonacci;
with Perfect_Number; use Perfect_Number;
with Primes; use Primes;
package Aux_Image is
function Img (X : Natural) return String renames Natural'Image;
function I... |
-- part of FreeTypeAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with FT.Errors;
with FT.API;
package body FT.Faces is
use type Errors.Error_Code;
procedure Adjust (Object : in out Face_Reference) is
begin
if Object.Data /= null then
if AP... |
with Ada.Streams.Stream_IO;
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
with Ada.Containers.Vectors;
package body Benchmark_S_Number is
package Skill renames Number.Api;
use Number;
use Skill;
type State_Type is access Skill_State;
State : State_Type;
procedure Create (N : Integer; File_Nam... |
with Get_Discreet, Text_IO; use Text_IO;
procedure Proba is
function Get_Int is new Get_Discreet(Character);
begin
Put_Line( Character'Image(Get_Int) );
end Proba;
|
package FLTK.Images.Bitmaps is
type Bitmap is new Image with private;
type Bitmap_Reference (Data : not null access Bitmap'Class) is limited null record
with Implicit_Dereference => Data;
function Copy
(This : in Bitmap;
Width, Height : in Natural)
re... |
pragma License (Unrestricted);
-- extended unit
with Ada.Strings.Composites;
package Ada.Strings.Normalization is
-- Unicode normalization.
pragma Preelaborate;
procedure Iterate (
Expanded : Boolean;
Process : not null access procedure (
Precomposed : Wide_Wide_Character;
Deco... |
function bintree(t : in out Tomb) return Boolean is
l : Boolean := false;
item : Elem;
parent : Elem;
parentIndex : Integer;
begin -- bintree
for i in t'range loop
item := t(i);
parentIndex := i / 2;
if parentIndex < 1 then
parentIndex := 1;
end if;
parent := t(parentIndex);
... |
with Ada.Text_IO;
with Ada.Containers.Generic_Array_Sort;
with Ada.Containers.Vectors;
use Ada.Text_IO;
procedure Day02 is
subtype Input_String is String (1 .. 26);
package String_Vectors is new Ada.Containers.Vectors (Index_Type => Natural,
Element_Type => Input_String);
procedure String_Sort is new... |
-- { dg-do run }
with Unchecked_Conversion;
procedure Unchecked_Convert12 is
subtype Unsigned_Type is Integer range 2_034 .. 2_164;
subtype Signed_Type is Integer range -2048 .. 2047;
type Rec is record
S : Unsigned_Type;
end record;
pragma Pack (Rec);
function To_Signed_Type is
new Unchecke... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Kocsma is
type Ital is (Sor, Bor, Palinka);
-- task Kocsmaros
task Kocsmaros is
entry Tolt( Mit: in Ital );
end Kocsmaros;
task body Kocsmaros is
begin
for I in 1..20 loop
accept Tolt ( Mit: in Ital ) do
... |
-- { dg-do compile }
with Pack20_Pkg; use Pack20_Pkg;
package Pack20 is
type Rec is record
Simple_Type : Integer;
Fixed : String_Ptr;
end record;
pragma Pack (Rec);
procedure Proc (A : Rec);
end Pack20;
|
with Ada.Real_Time; use Ada.Real_Time;
package Blink is
Period : constant Time_Span := Milliseconds (2500);
Blink_Duration : constant Time_Span := Milliseconds (100);
type LED_Type is (Green, Yellow, Red);
type Mode_Type is (Off, Once, Repeat);
type LED_Blink_Map is array (LED_Type) of Positi... |
-----------------------------------------------------------------------
-- Word Scrambler --
-- By: Jason Nguyen (XXXXXXX) --
-----------------------------------------------------------------------
with Ada.Text_IO; use Ada.Text_... |
-----------------------------------------------------------------------
-- servlet-routes-tests - Unit tests for Servlet.Routes
-- Copyright (C) 2015, 2016, 2017, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
package prefix2 is
type Coordonnee is range -100 .. 100;
type Instance is abstract tagged private;
subtype Class is Instance'Class;
procedure Positionne (Objet : in out Instance; X, Y : Coordonnee);
function RetourneX (Objet : in Instance) return Coordonnee;
function Reto... |
-----------------------------------------------------------------------
-- gen-model-queries -- XML Mapped Database queries representation
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2015, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Vers... |
pragma Ada_2012;
with EU_Projects.Nodes; use EU_Projects.Nodes;
-- with Ada.Text_IO; use Ada.Text_IO;
with EU_Projects.Times.Time_Expressions.Parsing;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Exceptions;
package body EU_Projects.Projects.Housekeeping is
function Var_Of (Pos : All_Node_Cursor;
... |
with Ada.Containers; use Ada.Containers;
with Ada.Containers.Vectors;
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
package Rejuvenation is
type Node_Kind_Type_Array is array (Natural range <>) of Ada_Node_Kind_Type;
-- Data type for ... |
-------------------------------------------------------------------------------
-- Copyright (c) 2019 Daniel King
--
-- 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, in... |
Current_Process_Id is not available on GCC 6.x
--- src/core/aws-server-http_utils.adb.orig 2021-05-19 05:14:31 UTC
+++ src/core/aws-server-http_utils.adb
@@ -39,7 +39,6 @@ with Ada.Strings.Unbounded;
with Ada.Text_IO;
with GNAT.MD5;
-with GNAT.OS_Lib;
with GNAT.Regexp;
with AWS.Attachments;
@@ -929,9 +928,7 @@... |
with ada.Unchecked_Deallocation;
with impact.d3.striding_Mesh.triangle_index_vertex_array;
with impact.d3.Vector;
with Interfaces.C;
-- #include "impact.d3.striding_Mesh.triangle_index_vertex_array.triangle_mesh.h"
package body impact.d3.striding_Mesh.triangle_index_vertex_array.triangle_mesh
--
--
--
is
funct... |
with AVR.USART;
procedure Main is
Out_Flag_Char : Character;
begin
AVR.USART.Initialize
(In_Port => AVR.USART.USART1,
In_Setup =>
(Sync_Mode => AVR.USART.ASYNCHRONOUS,
Double_Speed => True,
Baud_Rate => 9600,
Data_Bits => AVR.USART.BITS_8,
Parity... |
-----------------------------------------------------------------------
-- ado-statements-tests -- Test statements package
-- Copyright (C) 2015, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... |
-- Lambda Calculus interpreter
-- ---------------------------
-- Parses and reduces Lamdba Calculus statements.
--
-- Use a simple recursive parser for the simplest computer language.
-- It would be nice to build an ADT for Instructions and hide the Multiway tree implementation.
--
-- Source:
-- lambda - defin... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
pragma Warnings (Off);
pragma Style_Checks (Off);
-------------------------------------------------------------------------
-- GLOBE_3D - GL - based, real - time, 3D engine
--
-- Copyright (c) Gautier de Montmollin/Rod Kay 2007
-- CH - 8810 Horgen
-- SWITZERLAND
-- Permission granted to use this so... |
------------------------------------------------------------------------------
-- 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... |
package Tagged_Incomplete_Type_Declaration is
type Car is tagged;
type Car is tagged
record
Number : Integer;
end record;
end Tagged_Incomplete_Type_Declaration;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
separate (Numerics.Sparse_Matrices)
function Mult (Left, Right : in Sparse_Matrix) return Sparse_Matrix is
use Ada.Containers;
A : Sparse_Matrix renames Left;
B : Sparse_Matrix renames Right;
C : Sparse_Matrix;
X : Real_Vector (1 .. A.N_Row) := (others => 0.0);
W : Int_Array (1 .. A.N_Row) := (... |
with z3_api_h;
with Ada.Iterator_Interfaces;
private with Ada.Containers;
private with Ada.Containers.Indefinite_Hashed_Maps;
private with Interfaces.C;
private with Interfaces.C.Strings;
package Z3 is -- GCOV_EXCL_LINE
Internal_Error : exception;
Value_Error : exception;
type Long_Long_Unsigned is mo... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- servlet-routes -- Request routing
-- Copyright (C) 2015, 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 excep... |
with datos; use datos;
procedure eliminar_tercer_elemento_ordenada (R: in out Lista_Enteros) is
-- pre: los elementos de la lista estan ordenados
-- post: si hay tres o mas elementos, el tercer elemento quedara eliminado
-- y la lista no tiene por que mantener ningun orden particular (ni con
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.