content stringlengths 23 1.05M |
|---|
-- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.AHB_SECURE_CTRL is
pragma Preel... |
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required... |
-- REPBODY.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.
-- Unlimi... |
package body openGL.Renderer.lean.forge
is
function to_Renderer return Renderer.lean.item
is
begin
return the_Renderer : Renderer.lean.item
do
the_Renderer.define;
end return;
end to_Renderer;
function new_Renderer return Renderer.lean.view
is
Self : constant Rend... |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F.... |
-----------------------------------------------------------------------
-- ado-queries-loaders -- Loader for Database Queries
-- Copyright (C) 2011, 2012, 2017, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
--
-- This package provides a "multi receiver," that is a handler that is able
-- to store many instances of a basic handler. After the parsing it
-- can be seen as a vector with a length and a way to access the n-th element.
--
with Ada.Containers.Vectors;
generic
type Basic_Receiver is new Abstract_Parameter_Han... |
package AdaM.Any
--
-- Allows any class to be made persistent.
--
is
type Item is interface;
function Id (Self : access Item) return AdaM.Id
is abstract;
type view_Resolver is access procedure;
procedure register_view_Resolver (the_Resolver : in view_Resolver);
procedure resolve_all_Views;
en... |
with Ada.Wide_Text_IO; use Ada.Wide_Text_IO;
procedure Unicode is
begin
Put("札幌");
end Unicode;
|
-------------------------------------------------------------------------------
-- 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 of s... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
package body Ennmie is
procedure appear_enn(s : in out Ennmie; X : Integer; Y : Integer; Max_X : Integer; Max_Y : Integer) is
begin
if s.State /= DEAD then
return;
end if;
s.X := X;
s.Y := Y;
s.Max_X := Max_X;
s.Max_Y := Max_Y;
s.State := ALIVE;
end appear_enn;
procedure mov... |
-- { dg-do compile { target i?86-*-* x86_64-*-* } }
-- { dg-options "-O3 -msse2 -fno-vect-cost-model -fdump-tree-vect-details" }
package body Vect5 is
function "+" (X : Varray; Y : Long_Float) return Varray is
R : Varray (X'Range);
begin
for I in X'Range loop
R(I) := X(I) + Y;
end loo... |
------------------------------------------------------------------------------
-- --
-- Copyright (c) 2016-2021 Vitalii Bondarenko <vibondare@gmail.com> --
-- --
----... |
-- BinToAsc_Suite.Misc_Tests
-- Unit tests for BinToAsc
-- Copyright (c) 2015, James Humphry - see LICENSE file for details
with AUnit.Assertions;
with RFC4648;
with BinToAsc.Testable;
package body BinToAsc_Suite.Misc_Tests is
use AUnit.Assertions;
use RFC4648;
--------------------
-- Register_Tests ... |
with System.Storage_Elements;
package body TLSF.Block.Operations with SPARK_Mode is
package SSE renames System.Storage_Elements;
--------------------
-- Is_First_Block --
--------------------
function Is_First_Block
(Ctx : TC.Context; B : Block)
return Boolean
is
begin
if... |
with Matriz, Ada.Text_IO, matriz_toeplitz, escribir_matriz;
use Matriz, Ada.Text_IO;
procedure prueba_matriz_toeplitz is
V : Vector_De_Enteros (1..6);
M : Matriz_de_Enteros(1..6,1..6);
begin
V := (1,2,3,4,5,6);
-- prueba 1:
put_line("El vector es (1,2,3,4,5,6)");
put_line("El resultado tiene que... |
-- Automatically generated, do not edit.
with Interfaces.C;
with System;
with OpenAL.Types;
package OpenAL.ALC_Thin is
package C renames Interfaces.C;
-- Constants
ALC_INVALID : constant := 16#0#;
ALC_FALSE : constant := 16#0#;
ALC_TRUE ... |
package Unconstrained_Array_Definition is
type Array_Type_1 is array(Natural range <>) of Integer;
end Unconstrained_Array_Definition;
|
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Interrupts.Names;
package Ints is
protected Signal is
entry Wait
(RX_Done : out Boolean;
RX_Timeout : out Boolean);
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
pragma SPARK_Mode;
with Types; use Types;
with Zumo_LSM303;
with Zumo_L3gd20h;
package Zumo_Motion is
Initd : Boolean := False;
procedure Init
with Global => (In_Out => (Initd,
Zumo_LSM303.Initd,
Zumo_L3gd20h.Initd)),
Pre => not Initd
... |
-----------------------------------------------------------------------
-- util-serialize-mappers -- Serialize objects in various formats
-- Copyright (C) 2010, 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
... |
-----------------------------------------------------------
-- --
-- PROCESSOR --
-- --
-- Copyright (c) 2017, John Leimon --
-- ... |
-- AOC 2020, Day 3
with Ada.Containers.Ordered_Sets;
package Day is
type Forest is private;
function load_map(filename : in String) return Forest;
function trees_hit(f : in Forest; slope : in Natural) return Natural;
function many_trees_hit(f : in Forest) return Natural;
private
type Position is Record
... |
------------------------------------------------------------------------------
-- AGAR CORE LIBRARY --
-- A G A R . D A T A _ S O U R C E --
-- S p e c --
----... |
------------------------------------------------------------------------------
-- G P S --
-- --
-- Copyright (C) 2007-2016, AdaCore --
-- ... |
--A procedure to sort an array of integers into ascending order using Shuffle Sorting
type Array_type is array (Positive range <>) of Integer;
procedure Shuffle_Sort (X: in out Array_type) is
Position: Positive;
Value : Integer;
begin
for I in X'First+1 .. X'Last loop
if X(I) < X(I-1) then
--Misplaced item ... |
with Ada.Text_IO, Reversal, Cserel;
use Ada.Text_IO;
procedure Reversalas is
type Tomb is array (Character range <>) of Float;
procedure Csere is new Cserel(Float);
procedure Revelsald is new Reversal(Float,Character,Tomb,Csere);
T: Tomb := (3.0,6.2,1.7,5.2,3.9);
begin
Revelsald(T);
... |
-----------------------------------------------------------------------
-- EL.Objects.Time.Tests - Testsuite time objects
-- 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 this fil... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, AdaCore --
-- --
-- ... |
-- DECLS-D_TAULA_DE_NOMS.ads
-- Declaracions de la taula de noms
with Decls.Dgenerals,
Ada.Text_Io;
use Decls.Dgenerals,
Ada.Text_Io;
package Decls.D_Taula_De_Noms is
--pragma pure;
--Excepcions
E_Tids_Plena : exception;
E_Tcar_Plena : exception;
type Taula_De_Noms is l... |
package Var_Offset is
pragma Elaborate_Body;
type T (L : Natural) is record
Var_Len : String (1 .. L);
Space : Integer;
Small : Character;
Bad_Field : Character;
end record;
end;
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Formal_Interface_Types is
function Create
(Limited_Token : Program.Lexical_Elements.Lexical_Element_Access;
Tas... |
------------------------------------------------------------------------------
-- --
-- Modular Hash Infrastructure --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Statements;
with Program.Lexical_Elements;
package Program.Elements.Terminate_Alternative_Statements is
pragma Pure (Program.Elem... |
<Diagramm>
<AdditionalSQLCode>
<SQLCode>
<AdditionalSQLCodePostChanging>Script C</AdditionalSQLCodePostChanging>
<AdditionalSQLCodePostReducing>Script D</AdditionalSQLCodePostReducing>
<AdditionalSQLCodePreChanging>Script B</AdditionalSQLCodePreChanging>
... |
with Ada.Text_IO, Ada.Command_Line;
procedure Fib is
X: Positive := Positive'Value(Ada.Command_Line.Argument(1));
function Fib(P: Positive) return Positive is
begin
if P <= 2 then
return 1;
else
return Fib(P-1) + Fib(P-2);
end if;
end Fib;
begin
Ada.Text_IO.Put("Fi... |
-- reference: Netgen's Eigensystem routine.
package body Ada.Numerics.Generic_Arrays is
-- vector selection, conversion, and composition operations
procedure Apply_Vector (X : in out Vector; Param : Parameter_Vector) is
Length : constant Integer := X'Length;
begin
for I in 0 .. Length - 1 loop
... |
with STM32_SVD; use STM32_SVD;
with STM32GD.Clock;
with STM32GD.Clock.Tree;
generic
USART : STM32GD.USART.USART_Instance;
Speed : UInt32;
with package Clock_Tree is new STM32GD.Clock.Tree (<>);
Clock : STM32GD.Clock.Clock_Type;
RX_DMA_Buffer_Size : in Natural := 0;
package STM32GD.USART.Peripheral is
... |
pragma SPARK_Mode;
with Sparkduino; use Sparkduino;
with Interfaces.C; use Interfaces.C;
package body Wire is
Timeout : constant unsigned_long := 1;
function RequestFrom (Addr : Byte;
Quant : Byte;
Stop : Boolean)
return Byte
is
... |
with Ada.Text_IO, Set_Cons;
procedure Set_Consolidation is
type El_Type is (A, B, C, D, E, F, G, H, I, K);
function Image(El: El_Type) return String is
begin
return El_Type'Image(El);
end Image;
package Helper is new Set_Cons(Element => El_Type, Image => Image);
use Helper;
function Cons... |
package Class_Wide2 is
type Root_1 (V : Integer) is tagged record
null;
end record;
type Child is new Root_1 (1) with null record;
type Class_Acc is access all Child'Class;
type Grand_Child is new Child with record
null;
end record;
procedure Initialize;
end Class_Wide2;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- { dg-do run }
procedure Bltins is
function Sqrt (F : Float) return Float;
pragma Import (Intrinsic, Sqrt, "__builtin_sqrtf");
F : Float := 4.0;
R : Float;
begin
R := Sqrt (F);
end;
|
with Ada.Text_IO; use Ada.Text_IO;
procedure Adventofcode.Day_13.Main is
begin
Put_Line ("Day-13");
end Adventofcode.Day_13.Main;
|
pragma License (Unrestricted);
-- implementation unit required by compiler
with Interfaces;
package System.Atomic_Primitives is
pragma Preelaborate;
-- required for pragma Lock_Free by compiler (s-atopri.ads)
subtype uint8 is Interfaces.Unsigned_8;
subtype uint16 is Interfaces.Unsigned_16;
subtype ui... |
with Interfaces.C;
with OpenAL.List;
with Ada.Containers;
with System;
with Test;
procedure list_001 is
package List renames OpenAL.List;
package C renames Interfaces.C;
function list_001c_element (Element : C.unsigned) return System.Address;
pragma Import (C, list_001c_element, "list_001c_element");
A ... |
pragma License (Unrestricted);
-- with Ada.Real_Time;
-- with System;
package Ada.Dispatching.Round_Robin is
-- Default_Quantum : constant Real_Time.Time_Span := implementation-defined;
-- procedure Set_Quantum (
-- Pri : System.Priority;
-- Quantum : Real_Time.Time_Span);
-- procedure Set_Quantum (
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- Error in samples has been corrcted
with Kernel.Serial_Output; use Kernel.Serial_Output;
with ada.strings.unbounded; use ada.strings.unbounded;
with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io;
with System; use System;
with tools; use tools;
package body devices is
EYES_REACTION_... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Char_Code is
begin
Put_Line (Character'Val (97) & " =" & Integer'Image (Character'Pos ('a')));
end Char_Code;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Ada.Text_IO; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
procedure Prepend_String is
S: Unbounded_String := To_Unbounded_String("World!");
begin
S := "Hello " & S;-- this is the operation to prepend "Hello " to S.
Ada.Text_IO.Put_Line(To_String(S));
end Prepend_String;
|
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Characters.Wide_Wide_Latin_1;
with Ada.Wide_Wide_Text_IO;
with League.Strings;
with Load_Library;
procedure Ada_Driver is
procedure Service_... |
-----------------------------------------------------------------------
-- css-core-selectors -- Core CSS API definition
-- Copyright (C) 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... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 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 --
-- --
-- ... |
package body Long_Multiplication is
function Value (Item : in String) return Number is
subtype Base_Ten_Digit is Digit range 0 .. 9;
Ten : constant Number := (0 => 10);
begin
case Item'Length is
when 0 =>
raise Constraint_Error;
when 1 =>
return (0 => Ba... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
with DDS.Request_Reply.Requester.Typed_Requester_Generic;
with Dds.Builtin_Octets_DataReader;
with Dds.Builtin_Octets_DataWriter;
package DDS.Request_Reply.Tests.Simple.Octets_Requester is new
DDS.Request_Reply.Requester.Typed_Requester_Generic
(Request_DataWriter => Dds.Builtin_Octets_DataWriter,
Reply_Data... |
-- trivial_example.adb
-- A very simple example of the use of Parse_Args
-- Copyright (c) 2015, James Humphry
--
-- 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 permission notice appear in... |
package OpenAL.Load is
Load_Error : exception;
generic
type Subprogram_Access_Type is private;
function Load_Subprogram (Name : in String) return Subprogram_Access_Type;
end OpenAL.Load;
|
-- 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... |
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- 14 package Asis.Iterator
-------------------------------------------------------------------------------
---------------------------------------------------... |
with Interfaces; use Interfaces;
generic
Screen_Width : Natural;
Screen_Height : Natural;
package SDL_Display is
subtype SDL_Pixel is Unsigned_16;
function Rendering return Boolean;
procedure Start_Render
with Pre => not Rendering,
Post => Rendering;
procedure Draw_Vertical_Line ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
with Ada.Finalization; use Ada.Finalization;
package body EU_Projects.Nodes.Risks is
--------------
-- New_Risk --
--------------
function New_Risk
(Label : Risk_Label;
Description : String;
Countermeasures : String;
Severity : Risk_Severity;
Likeness ... |
-- { dg-do compile }
-- { dg-options "-gnatws" }
procedure discr_range_check is
Default_First_Entry : constant := 1;
task type Server_T (First_Entry : Positive := Default_First_Entry) is
entry E (First_Entry .. First_Entry);
end Server_T;
task body Server_T is begin null; end;
type Server_Acces... |
with Ada.Text_IO; use Ada.Text_IO;
with Sorted_List; use Sorted_List;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
procedure Lab5 is
Test_List : List_Type;
begin
Insert(Test_List, 7);
Insert(Test_List, 5);
Insert(Test_List, 69);
Put(Test_List);
New_Line;
Remove(Test_List, 69);
... |
with Ada.Float_Text_IO,
Ada.Integer_Text_IO,
Ada.Text_IO,
Ada.Numerics.Elementary_Functions;
procedure First_Class_Functions is
use Ada.Float_Text_IO,
Ada.Integer_Text_IO,
Ada.Text_IO,
Ada.Numerics.Elementary_Functions;
function Sqr (X : Float) return Float is
begin
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held li... |
with OpenGL.Types;
package OpenGL.Fog is
type Equation_t is
(Linear,
Exponential,
Exponential_2);
-- proc_map : glFogi
procedure Fog_Mode (Equation : in Equation_t);
type Density_Integer_t is new Types.Integer_t range 0 .. Types.Integer_t'Last;
type Density_Float_t is new Types.Float_t ran... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
with Discr26_Pkg;
package Discr26 is
type T1 (D : Integer) is record
case D is
when 1 => I : Integer;
when others => null;
end case;
end record;
type My_T1 is new T1 (Discr26_Pkg.N);
procedure Proc;
end Discr26;
|
-----------------------------------------------------------------------
-- awa-events-queues-persistents -- AWA Event Queues
-- Copyright (C) 2012, 2013, 2014, 2017, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
with Ada.Numerics.Discrete_Random;
package body Pig is
function Score(P: Player) return Natural is (P.Score);
function All_Recent(P: Player) return Natural is (P.All_Recent);
function Recent(P: Player) return Natural is (Natural(P.Recent_Roll));
function Has_Won(P: Player) return Boolean is (P.Score >= 100... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- { dg-do compile }
package Not_Null1 is
type T is null record;
type T_Access is access all T;
procedure Proc (This : in not null T_Access) is null;
type Proc_Access is access procedure (This : in not null T_Access);
PA : Proc_Access := Proc'Access;
end Not_Null1;
|
package Shapes.Circles is
type Circle is new Point with private;
procedure Print(Item : Circle);
function Setx(Item : Circle; Val : Integer) return Circle;
function Sety(Item : Circle; Val : Integer) return Circle;
function Setr(Item : Circle; Val : Integer) return Circle;
function Getr(Item : Circle)... |
with text_io; use text_io;
with list_package;
procedure concordance is
package int_io is new integer_io(integer); use int_io;
package line_list is new list_package(natural); use line_list;
type vstring is access string;
type word_node;
type word_link is access word_node;
subtype alpha is chara... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with Interfaces;
use Interfaces;
with GBA.Numerics;
use GBA.Numerics;
package GBA.BIOS is
pragma Preelaborate;
type System_Call is
( Soft_Reset --
, Register_RAM_Reset --
, Halt --
... |
--~ with Report;
with Ada.IO_Exceptions;
procedure Exception_RenamingRenaming(b : IN boolean) is
Name_Error : exception renames Ada.IO_Exceptions.Name_Error;
Name_Exception: exception renames Name_Error;
begin
if b then
raise Name_Exception;
end if;
exception
when Name_Error =>
null;
end Exception... |
with Ada.Text_IO;
procedure Hello_World is
begin
Ada.Text_IO.Put_Line("Hello world!");
end Hello_World;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
procedure luhn is
function luhn_test(num : String) return Boolean is
sum : Integer := 0;
odd : Boolean := True;
int : Integer;
begin
for p in reverse num'Range loop
int := Integer'Value(num(p..p));
if odd then
sum := sum + int;
else
sum := sum + (int*2 mod 10) + (int... |
-- Teapot -- Produces a Newell teapot, also known as a Utah teapot, an iconic
-- object in computer graphics history. Uses OpenGL 1.x calls.
--
-- Chip Richards, NiEstu, Phoenix AZ, Spring 2012
-- The original data and the strip-drawing code were cribbed from FreeGLUT,
-- and while this isn't the original ... |
-- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
--
-- 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.
--
-------------------------------------------... |
pragma License (Unrestricted);
-- implementation unit
with System.Storage_Elements;
package System.Unbounded_Stack_Allocators is
pragma Preelaborate;
subtype Allocator_Type is Address;
-- instead of Block_Access, for Runtime_Context and Secondary_Stack
procedure Allocate (
Allocator : aliased i... |
-- Test QR decomposition on a real valued rectangular matrix.
-- Here we calculate Q and Q' in explicit matrix form, and
-- verify that Q'*Q = Q*Q' = I, and Q*R = A
-- (Error greater this way; previously just left Q as a list of
-- 2 x 2 Givens rotation matrices.)
with Givens_QR;
with Ada.Numerics.Generic_Elementary_... |
package Array_Declare_2 is
Array_1 : array (-3 .. 3) of Natural;
Array_1_1 : array (-3 .. 3) of Natural := (others => 0);
Array_1_2 : array (-3 .. 3) of Integer :=
(-3 => -3,
-2 .. -1 => -2,
others => 0);
Array_2 : array (Array_1'Range) of Natural := (1, 2, others => 0... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
--
-- WAVEFILES GTK APPLICATION
--
-- Application menu
--
-- The MIT License (MIT)
--
-- Copyright (c) 2017 Gustavo A. Hoffmann
--
-- Permission is hereby granted, free of charge, to any per... |
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
--
-- Description: Driver for the GPS Module Ublox LEA-6H
--
-- ToDo:
-- [ ] Implementation
package ublox8 with SPARK_Mode is
end ublox8;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.