content stringlengths 23 1.05M |
|---|
-----------------------------------------------------------------------
-- keystore-io -- IO low level operation for the keystore
-- 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 ... |
package POSIX.Process_Primitives.Extensions is
procedure Start_Process_Search
(Child : out POSIX.Process_Identification.Process_ID;
Filename : in POSIX.Filename;
Working_Directory : in String;
Template : in Process_Template;
Arg_List ... |
package body impact.d2.orbs.Joint.pulley
is
procedure dummy is begin null; end dummy;
-- #include <Box2D/Dynamics/Joints/b2PulleyJoint.h>
-- #include <Box2D/Dynamics/b2Body.h>
-- #include <Box2D/Dynamics/b2TimeStep.h>
--
-- // Pulley:
-- // length1 = norm(p1 - s1)
-- // length2 = norm(p2 - s2)
-- // C0 =... |
with agar.gui.widget.box;
with agar.gui.widget.button;
package agar.gui.widget.toolbar is
type type_t is (TOOLBAR_HORIZ, TOOLBAR_VERT);
for type_t use (TOOLBAR_HORIZ => 0, TOOLBAR_VERT => 1);
for type_t'size use c.unsigned'size;
pragma convention (c, type_t);
type flags_t is new c.unsigned;
TOOLBAR_HOM... |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Strings.UTF_Encoding;
with Ada.Strings.Unbounded;
package CommonText is
package SU renames Ada.Strings.Unbounded;
subtype Text is SU.Unbounded_String;
subtype UTF8 is Ada.Strings.UTF_Encodi... |
with Bit_Vectors_Prove;
generic
package BitOperations.Search.Axiom.Most_Significant_Bit with
SPARK_Mode, Pure, Ghost is
procedure Result_Is_Correct(Value : Modular; Index : Bit_Position)
with Pre => Value /=0 and then Search.Most_Significant_Bit(Value) = Index,
Post => Bit_Vectors_Prove.MSB(Interface... |
-- A SPARK wrapper for some elementary functions.
-- The PolyPaver SPARK pre-processor will replace any call
-- of these functions with their equivalent from package
-- PP_LF_Rounded, supplying a value for the additional Prec parameter.
package PP_LF_Elementary is
function Pi return Long_Float;
function Exp (X ... |
--
-- Copyright (C) 2006-2013, AdaCore
--
-- This package provides a general block copy mechanism analogous to that
-- provided by the C routine memmove allowing for copies with overlap.
with System; use System;
with Interfaces.C; use Interfaces.C;
package Memory_Move is
pragma Preelaborate;
procedure memmove... |
with
openGL.surface_Profile,
openGL.Surface,
glx.Context;
package openGL.Context
--
-- Models an openGL (GLX) context.
--
is
type Item is tagged private;
type View is access all Item'Class;
procedure define (Self : in out Item; Profile : in surface_Profile.item'Class);
proc... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro>
--
-- 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, cop... |
with Hailstone, Parameter, Ada.Text_IO;
procedure Hailstone_Test is
Counts: array (1 .. 100_000) of Natural := (others => 0);
Max_Count: Natural := 0;
Most_Common: Positive := Counts'First;
Length: Natural renames Parameter.Y;
Sample: Natural := 0;
begin
for I in Counts'Range loop
Parameter.X :... |
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.CAN is
pragma Preelaborate;
---------------
-- Registers --
---------------
----------------------
-- CAN_MCR_Register --
-----------------... |
-- ----------------------------------------------------------------- --
-- AdaSDL_Framebuffer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F. Vargas --
-- Ponta Delgada... |
-- This file is generated by SWIG. Do *not* modify by hand.
--
with Interfaces.C.Extensions;
package LLVM_execution_Engine is
-- LLVMOpaqueGenericValue
--
type LLVMOpaqueGenericValue is new
Interfaces.C.Extensions.opaque_structure_def;
type LLVMOpaqueGenericValue_array is
array (Interfaces.C.... |
package Volatile5_Pkg is
type Rec is record
I : Integer;
end record;
pragma Volatile(Rec);
function F return Rec;
end Volatile5_Pkg;
-- |
-----------------------------------------------------------------------
-- ADO Databases -- Database Connections
-- Copyright (C) 2010, 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... |
-- SPDX-FileCopyrightText: 2019-2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Characters.Wide_Wide_Latin_1;
with Ada.Wide_Wide_Text_IO;
with Ada_Pretty;
with League.String_Vectors;
with League.Strings;
package body Meta... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
--
-- 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... |
package Opt62_Pkg is
Default_String : constant String := "This is a default string";
subtype Length is Natural range 0..255;
type Root (D1 : Length) is tagged record
S1 : String(1..D1) := Default_String(1..D1);
end record;
type Unconstrained_Der is new Root with record
Str1 : String(1.... |
with Anagram.Grammars;
with Anagram.Grammars.LR_Parsers;
package Program.Parsers.Data is
pragma Preelaborate;
procedure Next_Action
(State : Anagram.Grammars.LR_Parsers.State_Index;
Token : Anagram.Grammars.Terminal_Count;
Value : out Anagram.Grammars.LR_Parsers.Action);
function Go_To
... |
with Ada.Text_IO;
with BigInteger;
package body Problem_57 is
package IO renames Ada.Text_IO;
procedure Solve is
use BigInteger;
-- The numerator and denomonatoir of an infinite continued fraction
-- is given by the recurrance relations
-- h_n = a_n*h_n-1 + h_n-2
-- k_n = a_n*k_n-1 +... |
with Symbolic_Expressions.Parsing;
package EU_Projects.Times.Time_Expressions.Parsing is
type Symbol_Table is private;
type Parameter_Count is private;
-- A Parameter_Count stores the spec of a function in terms of number
-- of accepted parameters. All the combinations are possible: no
-- paramete... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Application;
with League.String_Vectors;
with Meta.Classes;
with Meta.Read;
with Meta.Writes;
procedure Meta.Run is
C... |
-----------------------------------------------------------------------
-- components-widgets-gravatars -- Gravatar Components
-- 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 use thi... |
-- { dg-do compile }
procedure access1 is
protected Objet is
procedure p;
end Objet;
protected body Objet is
procedure p is
begin
null;
end p;
end Objet;
type wrapper is record
Ptr : access protected procedure := Objet.p'access;
end record;
It : wrapper;
P... |
with Ahven; use Ahven;
with AdaAugeas; use AdaAugeas;
with Ada.Containers.Indefinite_Vectors; use Ada.Containers;
package body My_Tests is
procedure Initialize (T : in out Test) is
begin
Set_Name (T, "My tests");
Framework.Add_Test_Routine (T... |
with Ada.Finalization; use Ada.Finalization;
package Noreturn4_Pkg is
type Priv is private;
function It return Priv;
function Value (Obj : Priv) return Integer;
function OK (Obj : Priv) return Boolean;
private
type Priv is new Controlled with record
Value : Integer := 15;
end record;
procedure Ad... |
------------------------------------------------------------------------------
-- Copyright (C) 2017-2020 by Heisenbug Ltd. (gh+saatana@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by... |
-------------------------------------------------------------------------------
-- Copyright (c) 2016 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... |
with Ada.Text_IO;
procedure Integers is
Value : Integer := 1;
begin
loop
Ada.Text_IO.Put_Line (Integer'Image (Value));
Value := Value + 1; -- raises exception Constraint_Error on overflow
end loop;
end Integers;
|
with
openGL.FontImpl.texture,
ada.unchecked_Deallocation;
package body openGL.Font.texture
is
---------
-- Forge
--
function to_Font_texture (fontFilePath : in String) return Font.texture.item
is
begin
return Self : Font.texture.item
do
Self.define (fontImpl.texture.n... |
with Units;
with Logger;
package config.software is
CSV_SEP : Character := ';';
DEBUG_MODE_IS_ACTIVE : constant Boolean := True;
MAIN_TICK_RATE_MS : constant := 20; -- Tickrate in Milliseconds
TEST_MODE_ACTIVE : constant Boolean := False;
-- Mission
CFG_ASCEND_TIMEOUT : constant Units.T... |
-- C48004D.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
pragma License (Unrestricted);
with Ada.Numerics.Complex_Types;
with Ada.Numerics.Generic_Complex_Arrays;
with Ada.Numerics.Real_Arrays;
package Ada.Numerics.Complex_Arrays is
new Generic_Complex_Arrays (Real_Arrays, Complex_Types);
pragma Pure (Ada.Numerics.Complex_Arrays);
|
-----------------------------------------------------------------------
-- Writer Tests - Unit tests for ASF.Contexts.Writer
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2018, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "... |
with Input_Sources; use Input_Sources;
with Unicode;
with POSIX.IO; use POSIX.IO;
with POSIX.Process_Identification;
with POSIX; use POSIX;
package Pipe_Streams is
-- Stream read from a pipe, used to interface with xmlADA
type Pipe_Stream is new Input_Source with private;
Failed_Creation_Error : exception;
... |
---------------------------------------------------------------------------------
-- Copyright 2004-2005 © Luke A. Guest
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
------------------------------------------------------------... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Element_Vectors;
with Program.Elements.Defining_Names;
with Program.Lexical_Elements;
package Program.Elements.Defining_... |
package body Railway with SPARK_Mode is
procedure Open_Route (Route: in Route_Type; Success: out Boolean) is
begin
if Route = Route_Enter_Left and Segment_State.Left = Free then
Segment_State.Left := Reserved_Moving_From_Left;
Success := True;
elsif Route = Route_Left_Middle and S... |
with Ada.Text_IO;
package body Lib_Pack is
procedure Test is
begin
Ada.Text_IO.Put_Line ("From library");
end Test;
end Lib_Pack;
|
with Ada.Command_Line;
with Ada.Directories; use Ada.Directories;
with Ada.Text_IO;
with Templates_Parser.Utils;
with Ada.Directories.Hierarchical_File_Names;
package body Filesystem is
package IO renames Ada.Text_IO;
package HF renames Ada.Directories.Hierarchical_File_Names;
function Read_Directory (Path ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2009, AdaCore --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with x86_64_linux_gnu_bits_stdint_uintn_h;
package Raspio.GPIO is
-- TODO track usages of pins using controlled type, so that trying to
-- create two overlapping pins gives a runtime error
type Pin_Type is limited private;
type Mode_Type is
(Input, Output, Alternative_5, Alternative_4, Alternative... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Atomic7_Pkg2; use Atomic7_Pkg2;
package Atomic7_Pkg1 is
I : Integer := Stamp;
pragma Atomic (I);
J : Integer := Stamp;
end Atomic7_Pkg1;
|
package Notcurses.Strings is
function Width
(Str : Wide_Wide_String)
return Natural;
end Notcurses.Strings;
|
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2018, AdaCore --
-- --
-- ... |
package Notch_Example is
-- This hierarchy provides an example of how to write a notch
-- filter using the library fakedsp. The main procedure is
-- Notch_Example.Main, the callback implementing the filter is in
-- Notch_Example.Filters.
end Notch_Example;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
package body Overload is
function Minus(x, y : in integer) return integer is
begin
return x-y;
end Minus;
function Minus(y : in integer) return integer is
begin
return Minus(0, y);
end Minus;
end Overload;
|
-- test for uninitialized objects
with Ada.Streams;
with Ada.Text_IO;
with iconv;
with iconv.Streams;
procedure test_nop is
use type Ada.Streams.Stream_Element_Offset;
begin
declare
C : iconv.Converter;
pragma Unmodified (C);
begin
begin
declare
In_Last : Ada.Streams.Stream_Element_Offset;
Out_Item ... |
with Ada.Strings.Unbounded_Strings;
with System.Address_To_Named_Access_Conversions;
package body Ada.Strings.Unbounded.Aux is
package Big_String_Access_Conv is
new System.Address_To_Named_Access_Conversions (
Big_String,
Big_String_Access);
procedure Get_String (
U : Unbounded_Str... |
-- -----------------------------------------------------------------------------
-- Copyright (C) 2003-2019 Stichting Mapcode Foundation (http://www.mapcode.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... |
-- Abstract :
--
-- see spec
--
-- Copyright (C) 2017, 2018 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 version 3, or (at
-- your option) any l... |
-- 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... |
-- Copyright (c) 2020 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
limited with Torrent.Contexts;
with Torrent.Connections;
package Torrent.Managers is
task type Manager
(Context : not null a... |
package halfbox_info is
type halfbox_info_t is
record
-- longueur de la demi boite
length : integer;
-- largeur de la demi boite
width : integer;
-- hauteur de la demi boite
height : integer;
-- epaisseur des planches
... |
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
procedure Main is
begin
...
Raise_Exception (Foo_Error'Identity, "This is the exception message");
..
exception
when Error : others =>
Put_Line ("Something is wrong here" & Exception_Information (Error));
end Main;
|
with Ada.Strings.Unbounded;
package Markov is
use Ada.Strings.Unbounded;
type Ruleset (Length : Natural) is private;
type String_Array is array (Positive range <>) of Unbounded_String;
function Parse (S : String_Array) return Ruleset;
function Apply (R : Ruleset; S : String) return String;
private
ty... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
--------------------------------------------------------------------------------------------------------------------
-- 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... |
with gnat.os_lib;
use gnat.os_lib;
with gnat.expect;
use gnat.expect;
with text_file;
use text_file;
with ada.directories;
use ada.directories;
with logger;
use logger;
package body imagemagick is
-- transforme l'image passée en chaine base64 et obtient ses dimensions
procedure get_base64(file : string; base6... |
-- 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... |
-- Lumen.Events.Key_Translate -- Translate X11 keysym to Lumen symbol
--
-- Chip Richards, NiEstu, Phoenix AZ, Summer 2010
-- This code is covered by the ISC License:
--
-- Copyright © 2010, NiEstu
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby ... |
-- todo: use HAL
--with STM32_SVD.GPIO; use STM32_SVD.GPIO;
with HIL.GPIO; use HIL.GPIO;
package body LED with SPARK_Mode is
procedure init is
begin
null;
end init;
procedure on is
begin
write (RED_LED, HIGH); -- LED on
end on;
procedure off is
begin
write (RED_LED, LOW)... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
-- "With" the shared debug trace instance access point package.
with Apsepp.Debug_Trace;
package body Apsepp_Demo_DT_Instance_Client is
------------------------------------------------------------------------... |
package body Courbes.Visiteurs is
procedure Visiter(Self : Visiteur_Courbe; C : Courbe) is
begin
null;
end;
-- En absence d'override, on se ramène au type parent
-- C'est à dire la courbe
-- Et pour profiter d'une éventuel surcharge dans héritage, on redispatch
procedure Visiter(Se... |
-----------------------------------------------------------------------
-- asf-views-facelets -- Facelets representation and management
-- Copyright (C) 2009, 2010, 2011, 2014, 2015, 2017, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, V... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Tridiagonal_LU;
With Text_IO; use Text_IO;
procedure tridiag_tst_1 is
type Real is digits 15;
package rio is new Text_IO.Float_IO(Real);
use rio;
Type Index is range 1..40;
Package Tri is new Tridiagonal_LU (Real, Index);
use Tri;
SolutionVector : Column;
D : Matrix := ... |
package body Complex is
function "+" (lhs, rhs : in Complex) return Complex is
begin
return Complex'(lhs.Re + rhs.Re, lhs.Im + rhs.Im);
end "+";
function Imag(val : in Complex) return Float is
begin
return val.Im;
end Imag;
function Real(val : in Complex) return Float is
begin
return val.Re;
end Real;
functio... |
package openGL.IO.wavefront
--
-- Provides a function to convert a Wavefront model file (*.obj) to an openGL IO model.
--
is
---------
-- Group
--
type group_Kind is (object_Name, group_Name,
smoothing_Group, merging_Group);
type Group (Kind : group_Kind := group_Name) is
... |
--
-- Jan & Uwe R. Zimmer, Australia, 2013
--
with Real_Type; use Real_Type;
with Generic_Protected; pragma Elaborate_All (Generic_Protected);
with Graphics_Structures; use Graphics_Structures;
with Vectors_3D; use Vectors_3D;
package Swarm_Structures_Base is
subtype D... |
package body Utilities.Tokenize is
----------------------
-- Uncollated_Split --
----------------------
function Uncollated_Split (To_Be_Splitted : String;
Separator : Ada.Strings.Maps.Character_Set)
return Token_List is
Result : Token_List := Str... |
with Ada.Text_IO;
procedure Flushtest is
use Text_IO;
begin
Put_Line ("Type anything for 2 s");
delay 2.0;
Flush_Input:
declare
Ch : Character;
More : Boolean;
begin
loop
Get_Immediate (Ch, More);
exit when not More;
end loop;
end Flush_Input;
New_Line;
... |
with snake_functions,snake_types,ada.calendar,display,ada.text_io ;
use ada.text_io,ada.calendar ;
procedure main is
s : snake_types.Snake ;
dir : snake_types.Snake_direction:=snake_types.LEFT ;
has_new_user_input: boolean;
user_requested_direction : snake_types.Snake_direction ;
... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
with avtas.lmcp.types; use avtas.lmcp.types;
with afrl.cmasi.object; use afrl.cmasi.object;
with afrl.cmasi.enumerations; use afrl.cmasi.enumerations;
with afrl.cmasi.abstractZone; use afrl.cmasi.abstractZone;
package afrl.cmasi.keepInZone is
type KeepInZone is new AbstractZone.AbstractZone with private;
type K... |
With
NSO.Helpers,
Ada.Strings.Fixed,
Ada.Calendar.Formatting,
Ada.Tags,
Gnoga.Types.Colors,
Gnoga.Gui.View,
Ada.Text_IO,
Report_Form
;
WITH
Ada.Tags,
Ada.Text_IO;
with
Gnoga.Gui.Base;
with Gnoga.Gui.Element.Form;
Package Body NSO.Types.Report_Objects is
Use NSO.Helpers;
DEBUGGING : Constant Boolean := Fa... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Finalization; use Ada.Finalization;
package Apsepp.Scope_Debug is
-- Don't evaluate the class-wide pre-conditions in this package. Just let
-- Constraint... |
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Strings;
with stdint_h;
package pngfunc_c is
function create_image
(filename : Interfaces.C.Strings.chars_ptr;
w : int;
h : int;
data : access stdint_h.uint8_t) return int; -- pngfunc.c:12
pragma Import... |
with Ada.Containers.Vectors;
with Line_Parsers.Receivers.Multi_Receivers;
with Utilities;
with Plugins;
with Ada.Directories;
with Tokenize.Token_Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package body Project_Processor.Configuration is
package Call_Lists is
new Ada.Containers.Vectors ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Unix;
with Replicant;
with Parameters;
with PortScan.Log;
with PortScan.Tests;
with PortScan.Packager;
with File_Operations;
with Ada.Directories;
with Ada.Characters.Latin_1;
with Ada.Exceptions;
package bod... |
with Fakedsp.Data_Streams;
with Fakedsp.Protected_Buffers;
with Fakedsp.Card;
--
-- This package defines the background task that does the data I/O
-- in parallel with the processing
--
private package Fakedsp.Background_Tasks is
task Adc_Dac is
entry Go (Buf_In : Protected_Buffers.Sample_Buffer_Acces... |
-- 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.Singles is
pragma Preelaborate;
Uniform1 : T33;
Uniform1v : T34;
Uniform2 : T35;
Uniform2v : T36;
Uniform3 : T37;
Uniform3v ... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2012 Felix Krause <contact@flyx.org>
--
-- 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/licen... |
pragma Style_Checks (Off);
package Mat.Expressions.Parser_Shift_Reduce is
type Small_Integer is range -32_000 .. 32_000;
type Shift_Reduce_Entry is record
T : Small_Integer;
Act : Small_Integer;
end record;
pragma Pack(Shift_Reduce_Entry);
subtype Row is Integer range -1 .. Inte... |
with Ada.Text_IO;
use Ada.Text_IO;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Ada.Real_Time;
use Ada.Real_Time;
with Ada.Numerics.Float_Random;
use Ada.Numerics.Float_Random;
procedure MonteCarloPi is
EXPERIMENTS : constant Integer := 100;
ITERATIONS : constant Integer := 2**24;
task type Ma... |
package body agar.gui.widget.separator is
package cbinds is
procedure set_padding
(separator : separator_access_t;
pixels : c.int);
pragma import (c, set_padding, "AG_SeparatorSetPadding");
end cbinds;
procedure set_padding
(separator : separator_access_t;
pixels : natural) i... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with Interfaces.C;
package Glfw.Events is
type Button_State is (Release, Press);
type Button_States is array (Positive range <>) of Button_State;
procedure Poll_Events;
procedure Wait_Fo... |
package body LCG is
State: Base_Type := Base_Type'First;
procedure Initialize(Seed: Base_Type) is
begin
State := Seed;
end Initialize;
function Random return Base_Type is
begin
State := State * Multiplyer + Adder;
return State / Output_Divisor;
end Random;
end LCG;
|
-- Data Watchpoint and Trace (DWT) Unit
-- Gives access to cycle counter.
with STM32.Debug; use STM32.Debug;
package body STM32.DWT is
------------
-- Enable --
------------
procedure Enable is
begin
Core_Debug.DEMCR.TRCENA := True;
end Enable;
------------
-- Disable --
--------... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.