content stringlengths 23 1.05M |
|---|
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.RTC is
pragma Preelaborate;
---------------
-- Registers --
---------------
----------------------------------
-- RtcM... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Defining_Operator_Symbols;
with Program.Element_Visitors;
package Program.Nodes.Defining_Operator_Symb... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
private with Replicant.Platform;
package PortScan.Packages is
-- This routine first removes all invalid packages (package from removed
-- port or older version) and inserts the origins of the remaining pa... |
package test_image_p is
type type1 is tagged private;
type type3 is limited private;
type type5 is tagged limited private;
type a_type5_class is access all type5'Class;
task type task_t (arg : access type3) is
entry entry1;
end task_t;
function to_type1 (arg1 : in Integer) return typ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2019, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Definitions; use Definitions;
package Repository is
-- returns True if CONSERVATIVE_UPGRADE option on host pkg(8) is enabled
function host_pkg8_conservative_upgrade_set return Boolean;
-- Create ... |
with Ada.Text_IO; use Ada.Text_IO;
with GNAT.Sockets; use GNAT.Sockets;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Plugin_Management; use Plugin_Management;
with Ada.Command_Line; use Ada.Command_Line;
with Plugin;
with IRC;
with Config;
with Ada.Streams;
use type Ada.Stre... |
-- Copyright 2016-2021 Bartek thindil Jasicki
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (a... |
package body agar.gui.widget.hsvpal is
function widget (hsvpal : hsvpal_access_t) return widget_access_t is
begin
return hsvpal.widget'access;
end widget;
end agar.gui.widget.hsvpal;
|
--------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, Georg Bauhaus
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices are retained unchanged,
-- ... |
-- Test LU decomposition on a real valued square matrix.
with Ada.Numerics.Generic_elementary_functions;
with Crout_LU;
with Text_IO; use Text_IO;
with Test_Matrices;
procedure crout_lu_tst_1 is
type Real is digits 15;
type Index is range 0..69;
Starting_Index : constant Index := Index'First + 0;
Fina... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
-- 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... |
procedure Hello is
begin
I := 5+12;
num := 5+12+val;
I := 5-12;
num := 5-12-val;
num := 5*val;
num := 5*val*max;
num := 5/val;
num := index/val/max;
num := index+val/max;
num := index*val-max;
num := (index+val)*max;
num := index+val/max*min;
num := index+val*max/min;
num := index+val*(max/min);
n... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Environment_Variables;
with GNAT.String_Split;
package body Loga is
----------------
-- New_Logger --
----------------
Current_Color : Natural range Colors_As_Integer (Colors'Val (1)) ..
Colors_As_Integer (Colors'Last) := Colors_A... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- 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
... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
package Synchronous_Concurrent is
task Printer is
entry Put(Item : in String);
entry Get_Count(Count : out Natural);
end Printer;
end Synchronous_Concurrent;
|
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.API;
package body Glfw.Display.Modes is
function Available_Modes return Mode_List is
Max_Modes : Integer := 32;
Mode_Count : Integer;
begin
loop
declare
... |
with Tkmrpc.Servers.Ike;
with Tkmrpc.Response.Ike.Tkm_Version.Convert;
package body Tkmrpc.Operation_Handlers.Ike.Tkm_Version is
-------------------------------------------------------------------------
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type) is
pragma Unreferenced (Req);... |
private with
Interfaces.C.Strings,
System;
package FLTK.Widgets.Inputs is
type Input is new Widget with private;
type Input_Reference (Data : not null access Input'Class) is limited null record
with Implicit_Dereference => Data;
type Input_Kind is
(Normal_Kind, Float_Kind, In... |
with OpenAL.Thin;
package body OpenAL.Source is
use type Types.Size_t;
--
-- Delete_Sources
--
procedure Delete_Sources
(Sources : in Source_Array_t) is
begin
Thin.Delete_Sources
(Size => Sources'Length,
Sources => Sources (Sources'First)'Address);
end Delete_Sources;
--
-... |
with Program.Parsers.On_Reduce_1;
with Program.Parsers.On_Reduce_501;
with Program.Parsers.On_Reduce_1001;
with Program.Parsers.On_Reduce_1501;
with Program.Parsers.On_Reduce_2001;
procedure Program.Parsers.On_Reduce
(Self : access Parse_Context;
Prod : Anagram.Grammars.Production_Index;
Nodes : in out Progr... |
-- Weather proxy device
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with Ada.Calendar;
with ZMQ;
procedure WUPRoxy is
use type Ada.Calendar.Time;
use type GNAT.Formatted_String.Formatted_String;
function Main return Ada.Command_Line.Exit_Status
is
begin
declare
... |
generic
package any_Math.any_Analysis
is
pragma Pure;
pragma Optimize (Time);
end any_Math.any_Analysis;
|
with Lv.Style;
with System;
package Lv.Objx.Preload is
subtype Instance is Obj_T;
type Type_T is (Type_Spinning_Arc);
type Style_T is (Style_Main);
-- Create a pre loader objects
-- @param par pointer to an object, it will be the parent of the new pre loader
-- @param copy pointer to a pre loa... |
--
-- 5.3 If Statements
--
-- if_statement ::=
-- if condition then
-- sequence_of_statements
-- {elsif condition then
-- sequence_of_statements}
-- [else
-- sequence_of_statements]
-- end if;
--
-- condition ::= boolean_expression
--
-- NOTE: This module is not compilation is used only for testing ... |
package body Employee is
procedure Set_Attribute
(O : in out Person_T;
Value : String) is
begin
null;
end Set_Attribute;
function Get_Attribute
(O : Person_T)
return String is
begin
return "";
end Get_Attribute;
procedure Print (O : Person_T) is
be... |
with FSmaker.TOML;
package body FSmaker.Commands.Build is
-------------
-- Execute --
-------------
overriding
procedure Execute (This : in out Instance;
Args : AAA.Strings.Vector)
is
begin
if Args.Count /= 2 then
This.Failure ("takes exactly two arguments");... |
with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Numerics;
with Ada.Numerics.Discrete_Random;
procedure Hello is
starts : array(1..4) of Ada.Strings.Unbounded.Unbounded_String;
middles : array(1..4) of A... |
generic
type Number is digits <>;
package Euler is
type Waveform is array (Integer range <>) of Number;
function Solve
( F : not null access function (T, Y : Number) return Number;
Y0 : Number;
T0, T1 : Number;
N : Positive
) ... |
-----------------------------------------------------------------------
-- gen-utils-gnat -- GNAT utilities
-- Copyright (C) 2011, 2012, 2014 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 ... |
with
Shell.Directory_Iteration,
Ada.Directories,
Ada.Text_IO;
procedure Test_Iterate_Directory
is
use Ada.Text_IO;
begin
Put_Line ("Begin 'Iterate_Directory' test.");
New_Line (2);
declare
use Shell.Directory_Iteration,
Ada .Directories;
begin
for Each of To_Direc... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- BUILD FILE : apass --
-- Description : A CLI password generator written in Ada. --
-- Author : Simon Rowe <simon@wiremoons.com> --
... |
with Ada.Interrupts.Names;
with STM32GD.USB;
generic
with function EP0_Reset_Callback (BTable_Offset : Integer) return Integer is STM32GD.USB.EP_Unused_Reset;
with function EP1_Reset_Callback (BTable_Offset : Integer) return Integer is STM32GD.USB.EP_Unused_Reset;
with function EP2_Reset_Callback (BTable_Off... |
--------------------------------------------------------------------------------
-- 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... |
------------------------------------------------------------------------------
-- 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 --
-- ... |
pragma License (Unrestricted);
with Ada.Iterator_Interfaces;
private with Ada.Finalization;
private with System.Native_Environment_Variables;
package Ada.Environment_Variables is
pragma Preelaborate;
function Value (Name : String) return String;
function Value (Name : String; Default : String) return String;
... |
-----------------------------------------------------------------------
-- volume_servlet -- Servlet example to compute some volumes
-- Copyright (C) 2010, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Containers.Doubly_Linked_Lists;
package body Silo is
use Ada.Containers;
package Label_Container is new Doubly_Linked_Lists (Label_Data);
type Label_List is new Label_Container.List with null record;
theStack : Label_List;
procedure Push (Data : Label_Data) is
begin
Append (theStac... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 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... |
package Swapping
is
procedure Swap (X, Y: in out Positive);
procedure Identity (X, Y: in out Positive)
with Depends => (X => X,
Y => Y);
end Swapping;
|
with Ada.Text_IO;
procedure Strip_ASCII is
Full: String := 'a' & Character'Val(11) & 'b' & Character'Val(166) &
'c' & Character'Val(127) & Character'Val(203) &
Character'Val(202) & "de";
-- 5 ordinary characters ('a' .. 'e')
-- 2 control characters (11, 127); note that 1... |
PROCEDURE Procedure_Instantiation2 IS
PACKAGE PKG IS
GENERIC
PROCEDURE P20 ; -- OK.
END PKG;
PACKAGE BODY PKG IS
PROCEDURE P20 IS
BEGIN
null;
END P20;
END PKG;
PACKAGE INSTANCES IS
PROCEDURE NP20 IS NEW PKG.P20;
... |
------------------------------------------------------------------------------
-- Copyright (c) 2013-2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
Src : String := "Hello";
Dest : String := Src;
|
-- 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... |
package body Sinu is
function Norm (Y : Dynamical_Variable)
return Real
is
Sum : Real := +0.0;
begin
for i in Dyn_Index loop
Sum := Sum + Abs Y(i);
--Sum := Sum + Y(i) * Y(i);
end loop;
return Sum;
end Norm;
function "-"
(Left : Dynamical_Variable;
Right :... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Entities; use Entities;
package Links is
type LinkTypes is (LTRope, LTSpring);
type LinkTypesFactorsArr is array (LinkTypes) of Float;
type Link is record
A, B : EntityClassAcc;
LinkType : LinkTypes;
Factor, RestLen : Float;
end record;
pragma Pack(Link);
type LinkAcc is acces... |
package body Parser_OO is
function Evaluate (Root : in Node_Ptr) return Integer is
Result : Integer := 0;
begin
if Root /= null then
if Root.all'Class in Literal then
return Literal (Root.all).Value;
elsif Root.all'Class in Operator then
case Operator (Root.al... |
-- Authors: Catherine Jiawen Song 965600, Ziqi Jia 693241
-- Our implementation proves following security properties:
-- The Get, Put, Remove and Lock operations can only ever be performed
-- when the password manager is in the unlocked state.
-- We implemented procedures called Execute_xxx (i.e. Execute_Lock)
... |
package body OpenGL.Error is
function Get_Error return Error_t is
Error_Value : constant Thin.Enumeration_t := OpenGL.Thin.Get_Error;
begin
case Error_Value is
when Thin.GL_NO_ERROR => return No_Error;
when Thin.GL_INVALID_ENUM => return Invalid_Enum;
... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- This spec has been automatically generated from STM32F0xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.CEC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_CECEN_Field is STM32_SVD.Bit;... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
with AAA.Strings;
with CLIC.User_Input; use CLIC.User_Input;
with GNAT.OS_Lib;
package body CLIC_Ex.Commands.User_Input is
function Valid_Number (Str : String) return Boolean
is (for all C of Str => C in '0' .. '9');
-------------
-- Execute --
-------------
ov... |
with Ada.Text_IO;
with Ada.Numerics.Discrete_Random;
with Ada.Numerics.Float_Random;
with Ada.Strings.Fixed;
with Ada.Strings.Maps;
procedure Evolution is
-- only upper case characters allowed, and space, which uses '@' in
-- internal representation (allowing subtype of Character).
subtype DNA_Char is Charac... |
with Ada.Text_IO; use Ada.Text_IO;
with Readable_Sequences.String_Sequences;
procedure String_Sequences_Test is
use Readable_Sequences.String_Sequences;
S : Sequence := Empty_Sequence;
A : constant String := "pippo pluto e paperino";
b : constant string := " aldo giovanni e giacomo";
begin
S.Append (A)... |
pragma License (Unrestricted);
with Ada.Calendar.Time_Zones;
package Ada.Calendar.Formatting is
-- Day of the week:
type Day_Name is (
Monday,
Tuesday,
Wednesday,
Thursday,
Friday,
Saturday,
Sunday);
-- modified
-- function Day_of_Week (Date : Time) return Day_Na... |
-- from ACATS 2.6 tests
package Switches is -- Switches
type Toggle is tagged private; ---------------------------------- Toggle
procedure Flip ( It : in out Toggle );
private
type Toggle is tagged record
On : Boolean := False;
end record;
end Switches;
|
-------------------------------------------------------------------------------
-- --
-- 0MQ Ada-binding --
-- --
... |
with impact.d2.Contact,
impact.d2.Solid,
ada.Unchecked_Deallocation;
package body impact.d2.Fixture
is
use type int32;
function getKind (Self : in b2Fixture) return shape.Kind
is
begin
return Self.m_shape.getKind;
end getKind;
function getShape (Self : in b2Fixture) return ac... |
--------------------------------------------------------------------------
-- package Jacobi_Eigen, Jacobi iterative eigen-decomposition
-- 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, provide... |
with HAL; use HAL;
with HAL.Framebuffer; use HAL.Framebuffer;
with Framebuffer_LTDC;
private with ILI9341;
private with STM32.GPIO;
private with STM32.Device;
package Framebuffer_ILI9341 is
type Frame_Buffer is limited
new Framebuffer_LTDC.Frame_Buffer with private;
procedure Initialize
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
with Interfaces; use Interfaces;
with STM32GD.Board; use STM32GD.Board;
with STM32_SVD; use STM32_SVD;
with Host_Message;
package body Modem is
RX_Address : constant Radio.Address_Type := (16#00#, 16#F0#, 16#F0#, 16#F0#, 16#F0#);
Channel : constant Radio.Channel_Type := 70;
Packet: Radio.Packet_Type (1 .. 32... |
with Simple_Logging; use Simple_Logging;
with GNAT.OS_Lib; use GNAT.OS_Lib;
with CLIC.User_Input;
with CLIC.TTY;
with FSmaker.Commands.Init;
with FSmaker.Commands.Mkdir;
with FSmaker.Commands.Tree;
with FSmaker.Commands.Import;
with FSmaker.Commands.Cat;
with FSmaker.Commands.Hexdump;
with FSmaker.Commands.Export;
wi... |
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
-- 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... |
--
-- Copyright (C) 2020, AdaCore
--
-- This spec has been automatically generated from STM32F401.svd
-- This is a version for the STM32F401 MCU
package Ada.Interrupts.Names is
-- All identifiers in this unit are implementation defined
pragma Implementation_Defined;
----------------
-- Interrupts -... |
-- CC3606B.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... |
-----------------------------------------------------------------------
-- awa-wikis-tests -- Unit tests for wikis module
-- Copyright (C) 2018, 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 th... |
with Ada.Text_IO; use Ada.Text_IO;
with Colors;
with Flags;
with Input;
procedure Main is
Map : Flags.Map_T;
begin
loop
Put ("Enter key value: ");
declare
Str : constant String := Get_Line;
Key : Flags.Key_T;
Description : Colors.Color_Set_T;
Succes... |
with Agar.Core.Thin;
with Interfaces;
package Agar.Core.Data_Source is
subtype Data_Source_Access_t is Thin.Data_Source.Data_Source_Access_t;
subtype Data_Source_Not_Null_Access_t is Thin.Data_Source.Data_Source_Not_Null_Access_t;
--
-- Open.
--
procedure Open_File
(Path : in String;
... |
with
ada.Text_IO,
ada.Integer_Text_IO,
ada.Strings.fixed,
ada.Strings.unbounded;
package body openGL.IO.wavefront
is
package real_Text_IO is new Ada.Text_IO.Float_IO (openGL.Real);
function to_Text (Self : in String) return Text
is
begin
return ada.Strings.unbounded.to_unbounded_... |
-- { dg-do run }
with Ada.Real_Time.Timing_Events;
use Ada.Real_Time, Ada.Real_Time.Timing_Events;
procedure Timer_Cancel is
E : Timing_Event;
C : Boolean;
protected Dummy is
procedure Trigger (Event : in out Timing_Event);
end Dummy;
protected body Dummy is
procedure Trigger (Event : in... |
-- { dg-do compile }
-- { dg-options "-gnatws" }
with FRUnaligned1; use FRUnaligned1;
function FRUnaligned return r is
ss : s;
begin
return ss.y;
end;
|
function Palindrome (message: String) return Boolean is
-- Palindrome checker
rev, orig : String(message'First..message'Last);
counter, rev_count : Integer := 0;
begin
-- Remove any spaces
for c in message'First..message'Last loop
if message(c) /= ' ' then
counter := counter + 1;
... |
with Ada.Unchecked_Deallocation;
with Courbes.Visiteurs; use Courbes.Visiteurs;
package body Courbes is
use Liste_Points;
procedure Liberer_Courbe (Self : in out Courbe_Ptr) is
procedure Liberer_Delivrer is new Ada.Unchecked_Deallocation (Courbe'Class, Courbe_Ptr);
begin
-- Libération de l... |
-----------------------------------------------------------------------
-- awa-wikis-previews -- Wiki preview management
-- Copyright (C) 2015, 2018, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
-- 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.
... |
-- Abstract :
--
-- See spec.
--
-- 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 version 3, or (at your option) ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
with
FLTK.Widgets.Groups.Windows;
package FLTK.Devices.Surfaces.Copy is
type Copy_Surface is new Surface_Device with private;
type Copy_Surface_Reference (Data : not null access Copy_Surface'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
fu... |
generic
package Ada_Lapack.Extras is
----------------------------------------------------------------------------------
-- Some extra procedures built upon the Lapack routines.
-- determinants of a square marix ------------------------------------------------
function MatrixDeterm (Source : Real_Matrix) r... |
with Rejuvenation.Match_Patterns; use Rejuvenation.Match_Patterns;
with Rejuvenation.Node_Locations; use Rejuvenation.Node_Locations;
with Rejuvenation.Patterns; use Rejuvenation.Patterns;
with Rejuvenation.Text_Rewrites; use Rejuvenation.Text_Rewrites;
package Rejuvenation.Find_And_Replacer is
function Acc... |
package Nilakantha is
type NilakanthaSeries is tagged private;
procedure Iterate (Self : in out NilakanthaSeries);
function GetPi (Self : NilakanthaSeries) return Long_Float;
private
type NilakanthaSeries is tagged record
A : Integer := 2;
S : Integer := 1;
Pi : Long_Float := 3.0... |
with Ada.Text_IO;
procedure Nth is
function Suffix(N: Natural) return String is
begin
if N mod 10 = 1 and then N mod 100 /= 11 then return "st";
elsif N mod 10 = 2 and then N mod 100 /= 12 then return "nd";
elsif N mod 10 = 3 and then N mod 100 /= 13 then return "rd";
else return "th"... |
-- (The MIT License)
--Copyright (c) 2012 Erik Price
-- 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... |
-------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2010, Alexander Senier
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or withou... |
with MPI;
package MPIUse is
flag : MPI.Errorcode_Type := MPI.Errorcode_Type(-2);
end MPIUse;
|
-----------------------------------------------------------------------
-- awa-mail-components -- Mail UI Components
-- Copyright (C) 2012, 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 fi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.