content stringlengths 23 1.05M |
|---|
--
-- 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... |
-----------------------------------------------------------------------
-- ado-sessions-sources -- Database Sources
-- 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 fil... |
package Noreturn4 is
procedure P1 (Msg : String);
procedure P1 (Msg : String; Val : Integer);
pragma No_Return (P1);
procedure Fatal_Error (X : Integer);
pragma No_Return (Fatal_Error);
end Noreturn4;
|
generic
package regge.io is
function str (source : in Integer;
width : in Integer := 0) return string;
function str (source : in Real;
width : in Integer := 10) return string;
function read_command_arg (the_arg : Integer) return Integer;
procedure read_lattice;
n... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with JohnnyText;
with Display;
with Unix;
package PortScan.Buildcycle is
cycle_log_error : exception;
cycle_cmd_error : exception;
procedure initialize (test_mode : Boolean; jail_env : JT.Text);
-- ... |
with Limited_With3_Pkg1;
with Limited_With3_Pkg2;
limited with Limited_With3_Pkg3;
package Limited_With3 is
procedure Dummy;
type T is tagged private;
private
package My_Q is new Limited_With3_Pkg1 (Limited_With3_Pkg2.T);
type T is tagged null record;
end Limited_With3;
|
-- REST API Validation
-- API to validate
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: Stephane.Carrez@gmail.com
--
-- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manually.
package body TestAPI.Models is
... |
-------------------------------------------------------------------------------
-- LSE -- L-System Editor
-- Author: Heziode
--
-- License:
-- MIT License
--
-- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- c... |
-----------------------------------------------------------------------
-- package body Predictor_1, 17th order Predictor-Corrector integrator
-- Copyright (C) 2008-2018 Jonathan S. Parker.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, ... |
-------------------------------------------------------------------------------
-- GPS
--
-- Copyright © 2016 Eric Laursen
--
-- This code is available under the "MIT License".
-- Please see the file COPYING in this distribution for license terms.
--
-- Purpose:
-- This package interfaces to the Adafruit Ultimate GPS... |
package Modem is
function Init return Boolean;
procedure Error;
procedure Run;
end Modem;
|
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
-- { dg-do run }
-- { dg-options "-O2" }
with Interfaces;
with Opt61_Pkg; use Opt61_Pkg;
procedure Opt61 is
use type Interfaces.Integer_64;
X : constant Int64 := 3125;
Y : constant Int64 := 5;
Z : constant Int64 := 10;
Q, R: Int64;
begin
Double_Divide (X, Y, Z, Q, R, False);
if R /= 25 then
... |
with Ada.Exceptions.Finally;
with System.Native_IO;
package body Ada.Streams.Stream_IO.Sockets is
use type System.Native_IO.Sockets.End_Point;
-- use type System.Native_IO.Handle_Type;
-- use type System.Native_IO.Sockets.Listener;
procedure Socket_Finally (X : in out System.Native_IO.Handle_Type);
procedur... |
-- Auto_Counters_Suite.C_Resources_Tests
-- Unit tests for Auto_Counters Unique_C_Resources and Smart_C_Resources
-- packages
-- Copyright (c) 2016, James Humphry - see LICENSE file for details
with AUnit; use AUnit;
with AUnit.Test_Cases; use AUnit.Test_Cases;
package Auto_Counters_Suite.C_Resources_Tests is
t... |
generic
type User_T is private;
package Deferred_Const4_Pkg is
type T is private;
Null_T : constant T;
private
type T (Valid : Boolean := False) is record
case Valid is
when True => Value : User_T;
when False => null;
end case;
end record;
Null_T : constant T := (Valid => False);... |
with Ada.Command_Line, Ada.Sequential_IO, Ada.Directories;
procedure Truncate_File is
type Byte is mod 256;
for Byte'Size use 8;
package Byte_IO is new Ada.Sequential_IO(Byte);
function Arg(N: Positive) return String renames Ada.Command_Line.Argument;
function Args return Natural renames Ada.Command_... |
-- { dg-do run }
-- { dg-options "-gnatp" }
procedure Discr24 is
type Family_Type is (Family_Inet, Family_Inet6);
type Port_Type is new Natural;
subtype Inet_Addr_Comp_Type is Natural range 0 .. 255;
type Inet_Addr_VN_Type is array (Natural range <>) of Inet_Addr_Comp_Type;
subtype Inet_Addr_V4_Type... |
private with NXP_SVD.INPUTMUX;
with HAL.GPIO;
package NXP.InputMux is
procedure Enable_InputMux;
procedure Disable_InputMux;
end NXP.InputMux;
|
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Sign; use SPARKNaCl.Sign;
with SPARKNaCl.Debug; use SPARKNaCl.Debug;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Streams; use Ada.Streams;
with Ada.Streams.Stream_IO; use Ada.Streams.Stream_IO;... |
-- { dg-do compile }
package box1 is
type Root is tagged null record;
type Der1 is new Root with record
B : Boolean;
end record;
type Der2 is new Der1 with null record;
type Der3 is new Der2 with null record;
Obj : Der3 := (Der2 with others => <>);
end;
|
with Ada.Containers.Doubly_Linked_Lists;
with Ada.Text_IO;
procedure Traversing is
package Char_Lists is new Ada.Containers.Doubly_Linked_Lists (Character);
procedure Print (Position : in Char_Lists.Cursor) is
begin
Ada.Text_IO.Put (Char_Lists.Element (Position));
end Print;
My_List : Char_Lists... |
pragma Ada_2012;
-- with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Fixed;
package body Password is
function is_monotonic(str : in String) return Boolean
is
curr : Natural := Natural'First;
last : Natural := Natural'First;
begin
for s in str'Range loop
curr := Natural'Value((1 => str(s)));... |
package Vect9_Pkg is
type Unit is array (1 .. 4) of Float;
for Unit'Alignment use 32;
pragma Machine_Attribute (Unit, "vector_type");
pragma Machine_Attribute (Unit, "may_alias");
Zero_Unit : constant Unit := (others => 0.0);
function Mul (X : in Unit; Y : in Unit) return Unit;
function "+"(Left... |
-- 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/LICENSE-2.0
--
-- Unless required by applic... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, Kidev --
-- --
-- ... |
-- Generated at 2017-03-27 17:51:45 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-acl-maps.sx
function Natools.Static_Maps.Web.ACL.T
return Boolean;
pragma Pure (Natools.Static_Maps.Web.ACL.T);
|
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
-----------------------------------------------------------------------
-- intl -- Small libintl binding
-- 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 use this file except in compl... |
generic
-- generic parameters for:
-- List element
-- Maximum size of list
-- Subprogram to compare list elements
package Generic_List is
type List_T is tagged private;
-- Need a subprogram to add items to the list
-- procedure Add (This : in out List_T;
-- Item : in ... |
-- Copyright 2021 S.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, merge, publish, distribute, ... |
with Ada.Exception_Identification.From_Here;
with Ada.Exceptions.Finally;
with System.Address_To_Named_Access_Conversions;
with System.Environment_Block;
with System.Growth;
with System.Native_IO;
with System.Shared_Locking;
with System.Standard_Allocators;
with System.Startup;
with System.Storage_Elements;
with System... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 onox <denkpadje@gmail.com>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/L... |
-- unique_ptrs.adb
-- A "unique pointer" type similar to that in C++
-- Copyright (c) 2016, 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 all... |
-- Test Eigendecomposition of Real valued square matrices.
with Test_Matrices;
with QR_Symmetric_Eigen;
with Text_IO; use Text_IO;
procedure qr_symmetric_eigen_tst_1 is
type Real is digits 15;
--type Real is digits 18;
--Matrix_Size : constant := 7000;
--Matrix_Size : constant := 1303;
Matrix_Size : const... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Statements;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Delay_Statements is
pragma... |
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package EU_Projects.Times is
type Instant is private;
type Duration is private;
type Interval is private;
type Time_Type is (Instant_Value, Duration_Value);
Earliest_Istant : constant Instant;
Latest_Istant : constant Instant;
... |
with Numerics, Numerics.Sparse_Matrices;
use Numerics, Numerics.Sparse_Matrices;
package Forward_AD.AD2D is
type AD2D is tagged private;
type AD2D_Vector is array (Nat range <>) of AD2D;
function "+" (A, B : in AD2D) return AD2D;
function "-" (A, B : in AD2D) return AD2D;
function "*" (A : in AD2D;... |
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control;
with STM32GD.Board; use STM32GD.Board;
with Peripherals;
procedure Main is
Next_Release : Time := Clock;
Period : constant Time_Span := Milliseconds (1000);
Counter : Natural := 0;
begin
... |
procedure Cserel (A, B: in out T) is
Tmp: T := A;
begin
A := B;
B := Tmp;
end Cserel;
|
with System;
-- @summary all parameters for task/thread handling go here
package Config.Tasking with SPARK_Mode is
TASK_PRIO_FLIGHTCRITICAL : constant := System.Priority'First + 50;
-- tasks below that value can crash, and they are ignored by then
-- tasks above are so critical that we need a reboot if th... |
-- Mojang Authentication API
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
--
-- OpenAPI spec version: 2020_06_05
--
--
-- NOTE: This package is auto generated by the swagger code generator 3.3.4.
-- https://openapi-generator.tech
-- Do not edit th... |
----------------------------------------
-- Symbolic_Expressions.Regexp_Reader --
----------------------------------------
generic
type Result_Type is private;
Regexp : Regexp_Spec;
with function Convert (X : String) return Result_Type;
package Regexp_Readers.Generic_Readers is
procedure Reader (Input ... |
-----------------------------------------------------------------------
-- mat-symbols-targets - Symbol files management
-- Copyright (C) 2014, 2015, 2019, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
-----------------------------------------------------------------------
-- components-widgets-tabs -- Tab views, tabs and accordion
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
with
lace.Environ.Paths;
private
with
ada.Strings.unbounded;
package lace.Environ.Users
--
-- Models operating system users.
--
is
type User is private;
function to_User (Name : in String) return User;
function "+" (Name : in String) return User renames to_User;
function Name ... |
package body Rev with SPARK_Mode is
procedure Reve (S : in out String) is
Tmp: String := S;
begin
for I in S'Range loop
S(I) := Tmp(S'First + S'Last - I);
pragma Loop_Invariant (for all J in S'First .. I => S(J) = Tmp(S'First + S'Last - J));
end loop;
end Reve;
end Rev;
|
-- This spec has been automatically generated from out.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- Timer0_A3
package MSP430_SVD.TIMER_0_A3 is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Timer A mode control... |
-- Generated at 2017-04-30 21:14:26 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-comments-maps.sx
package Natools.Static_Maps.Web.Comments is
pragma Pure;
package Item is
package Command is
type Enum is (Unknown, Date, Id, Parent, Rank);
end Command;
package Condition ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 Zane Myers
--
-- 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 Softwar... |
-----------------------------------------------------------------------
-- gen-model-packages -- Packages holding model, query representation
-- Copyright (C) 2009 - 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O ... |
--
-- 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 Sessions;
with States;
with Symbols;
... |
--
-- Copyright (C) 2019, AdaCore
--
-- Copyright (c) 2010 - 2018, Nordic Semiconductor ASA
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code mu... |
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Ada.Float_Text_IO, Ada.Text_IO; use Ada.Float_Text_IO, Ada.Text_IO;
procedure Temperatur_Conversion is
K: Float;
function C return Float is (K - 273.15);
function F return Float is (K * 1.8 - 459.67);
function R return Float is (K * 1.8);
begin
Get(K); New_Line; ... |
pragma Style_Checks (Off);
-- This spec has been automatically generated from ATSAMD51G19A.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package SAM_SVD.CMCC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Number of Way
type TYPE_WAYNUMSelect ... |
with AUnit.Assertions; use AUnit.Assertions;
with ACO.Utils.DS.Generic_Table;
package body Generic_Table_Test is
pragma Assertion_Policy (Check);
type Key_Type is new Character;
subtype Test_Keys is Key_Type range 'a' .. 'z';
type Value_Type is new Positive;
function Hashit (Key : Key_Type) return ... |
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with AWS.Response;
with League.JSON.Documents;
separate (WebDriver.Remote)
package body Executors is
-------------
-- Execute ... |
with Ada.Containers.Doubly_Linked_Lists;
use Ada.Containers;
generic
type T is private;
package Brackelib.Queues is
-- @summary
-- Implementation of the queue abstract data type
type Queue is limited private;
procedure Enqueue (Self : in out Queue; Item : T);
-- Adds an item to the end of the queue.
... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.Display;
package body Glfw_Test is
procedure Key_To_Title (Subject : Glfw.Events.Keys.Key;
Action : Glfw.Events.Button_State) is
use type Glfw.Events.Butt... |
-- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Hierarchical_File_Names;
procedure Vampire.R3.User_List_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
HTML_Directory : in String;
Summaries : in Tabula.Villages.Lists.Summary_... |
-- Test Eigendecomposition of real valued square matrices.
--
-- Good optimization switches:
--
-- gnatmake -gnatnp -O3 -march=native -funroll-loops peters_eigen_tst_1
--
-- For initial test:
--
-- gnatmake -Wall -gnat12 -gnatwa -gnatVa -gnata -gnato -fstack-check -gnateE
--
-- Large matrices may run out of stack... |
-----------------------------------------------------------------------
-- pinger -- Ping hosts
-- 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 in complian... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
-- { dg-do compile { target i?86-*-* x86_64-*-* } }
-- { dg-options "-O3 -msse2 -fdump-tree-vect-details" }
package body Vect16 is
procedure Add_Sub (X, Y : Sarray; R,S : out Sarray) is
begin
for I in Sarray'Range loop
R(I) := X(I) + Y(I);
S(I) := X(I) - Y(I);
end loop;
end;
en... |
--
-- Uwe R. Zimmer, Australia, 2013
--
with Ada.Unchecked_Deallocation;
package Barrier_Type is
protected type Barrier is
entry Wait;
procedure Open;
procedure Close;
private
Opened : Boolean := False;
end Barrier;
type Barrier_Ptr is access Barrier;
procedure Free is... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Day06 is
type Coordinate is record
X : Integer;
Y : Integer;
end record;
function Manhattan_Distance (A : Coordinate; B : Coordinate) return Integer
is (abs (B.X - A.X) + abs (B.Y - A.Y));
-- Input coordinates
Coordinates : constant array (P... |
with Ada.Containers.Generic_Array_Sort;
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with Words;
procedure Euler22 is
function "<"(L, R: Words.String_Ptr) return Boolean is (L.all < R.all);
procedure Sort is new Ada.Containers.Generic_Array_Sort(
Index_Type => Positive,
Element_Type => Words.String_P... |
-- Generated at 2017-03-29 14:57:31 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-sites-maps.sx
function Natools.Static_Maps.Web.Sites.T
return Boolean;
pragma Pure (Natools.Static_Maps.Web.Sites.T);
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- { dg-do compile }
-- { dg-options "-fdump-tree-gimple" }
procedure Aggr13 is
type A is array (Integer range 1 .. 3) of Short_Short_Integer;
X : A := (1, 2, 3);
function F return A is
begin
if X /= (1, 2, 3) then
raise Program_Error;
end if;
return (1, 1, 1);
end;
begin
... |
with Ada.Text_IO; use Ada.Text_IO;
package body UxAS.Comms.LMCP_Net_Client.Service.Example_Spark_Service.SPARK with SPARK_Mode is
---------------------------
-- Handle_MissionCommand --
---------------------------
procedure Handle_MissionCommand
(This : Exam... |
With Ada.Integer_Text_IO, Ada.Text_IO, Ada.Calendar;
Use Ada.Integer_Text_IO, Ada.Text_IO, Ada.Calendar;
procedure trabalho04 is
X:Integer;
indice: Integer:= 1;
i: Integer:= 1;
flag1: Integer:=1; -- flag para Mostra1
flag2: Integer:=0; -- flag para Mostra2
flag3: Integer:=0; -- flag para Mostra
vetor: a... |
-- Copyright 2017-2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "FacebookCT"
type = "cert"
api_version = "v11.0"
function start()
setratelimit(5)
end
function check()
local c
loc... |
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
with HAL; use HAL;
with STM32.GPIO; use STM32.GPIO;
with STM32.Device; use STM32.Device;
with Ada.Real_Time; use Ada.Real_Time;
with serial; use serial;
with analog; use analog;
with control; use control;
procedure Robot is
flt : ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada;
procedure fibonacci is
a,b,tmp : integer;
begin
a := 0;
b := 1;
while b < 100 loop
Integer_Text_IO.put(b, width=>0);
Text_IO.New_Line;
tmp := a + b;
a := b;
b := tmp;
end loop;
end fibonacci;
|
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Parameters;
with HelperText;
with Unix;
with File_Operations;
with Ada.Directories;
with Ada.Text_IO;
package body Ravenports is
package PM renames Parameters;
package HT renames HelperText;
packa... |
-- openapi_ipify
-- OpenAPI client for ipify, a simple public IP address API
--
-- OpenAPI spec version: 0.9.0
-- Contact: blah@cliffano.com
--
-- NOTE: This package is auto generated by the swagger code generator 3.2.1-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manually.
with Swagger.S... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with System.System_Allocators;
with System.Unwind.Raising;
with System.Unwind.Standard;
package body System.Standard_Allocators is
pragma Suppress (All_Checks);
function Allocate (
Size : Storage_Elements.Storage_Count)
return Address
is
Result : constant Address := System_Allocators.Allocat... |
package Array29 is
type Matrix is array (Integer range <>, Integer range <>) of Long_Float;
procedure Proc;
end Array29;
|
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
Pragma Ada_2012;
Pragma Wide_Character_Encoding( UTF8 );
Package Risi_Script with Pure is
-- TYPE_ERROR
--
-- [Description]
Type_Error : Exception;
-- PARSE_ERROR
--
-- Raised when an error occours in parsing.
Parse_Error : Exception;
-- SCRIPT_ERROR
--
-- Raised whe an attempt to... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- basic_refcounted_flyweights.ads
-- A package for ensuring resources are not duplicated in a manner similar
-- to the C++ Boost flyweight classes. This package provides a non-task-safe
-- implementation that uses reference counting to release resources when the
-- last reference is released
-- Copyright (c) 2016, Ja... |
------------------------------------------------------------------------------
-- Copyright (c) 2017, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
with System; use System;
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Synchronous_Task_Control; use Ada.Synchronous_Task_Control;
with Ada.Unchecked_Conversion;
with Last_Chance_Handler;
with STM32GD.Board;
with STM32GD.USART;
with Peripherals;
with Modem;
with Controller;
pro... |
-- Institution: Technische Universität München
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
with STM32.Device;
with STM32.SPI;
with HAL.SPI;
with HIL.GPIO;
-- @summary
-- Target-specific mapping for HIL of SPI
package body HIL.SPI... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.JSON.Values;
with League.String_Vectors;
separate (WebDriver.Remote)
package body Sessions is
function "+"
(Text... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Text_IO;
with Ada.Characters.Latin_1;
with Ada.Integer_Text_IO;
with Ada.Directories;
with GNAT.OS_Lib;
with JohnnyText;
with Parameters;
with Unix;
package body Actions is
package AD renames Ada.Di... |
-----------------------------------------------------------------------
-- akt-filesystem -- Fuse filesystem operations
-- Copyright (C) 2019, 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... |
-- C44003D.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... |
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with Interfaces.C;
package c_math_c is
-- Real
--
subtype Real is Interfaces.C.C_float;
type Real_array is
array (Interfaces.C.size_t range <>) of aliased c_math_c.Real;
-- Index
--
subtype Index is Interfaces.C.int;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.