content stringlengths 23 1.05M |
|---|
with Interfaces.C;
with System.Address_To_Access_Conversions;
with System;
package body Agar.Core.Database is
package C renames Interfaces.C;
use type C.int;
use type C.size_t;
procedure New_Database
(Database_Type : in Type_t;
Database : out Database_Access_t) is
begin
null;
end... |
with STM32_SVD; use STM32_SVD;
with STM32_SVD.GPIO;
package STM32GD.GPIO is
pragma Preelaborate;
type GPIO_Port is (Port_A, Port_B, Port_C, Port_D, Port_F);
type GPIO_Pin is
(Pin_0, Pin_1, Pin_2, Pin_3, Pin_4, Pin_5, Pin_6, Pin_7,
Pin_8, Pin_9, Pin_10, Pin_11, Pin_12, Pin_13, Pin_14, Pin_15... |
1 3 7 12 18 26 35 45 56 69
Test Passed: No overlap between FFR(I) and FFS(J)
|
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Library_Environments is
-----------------
-- Public_View --
-----------------
function Public_View
(Self : Library_E... |
procedure Very_Large_Value is
begin
if 16#2B.20000000000000000000000000000000000000000#E1 > 0.1 then
null;
end if;
end Very_Large_Value;
|
-- part of FreeTypeAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with FT.Errors;
with FT.Faces;
package FT.API.Glyphs is
pragma Preelaborate;
procedure FT_Done_Glyph (Glyph : Glyph_Ptr);
pragma Import (C, FT_Done_Glyph, "FT_Done_Glyph");
-- tell the... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
procedure parfait is
function Est_Parfait(nb : Integer) return Boolean is
somme : Integer := 0;
begin
for i in 1..(nb / 2 + 1) loop
if nb mod i = 0 th... |
-------------------------------------------------------------------------------
-- 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... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
pragma Style_Checks (Off);
with Osint; use Osint;
package body Sdefault is
S0 : constant String := "/usr/local/";
S1 : constant String := "/usr/local/lib/gcc/i686-pc-linux-gnu/4.4.5/adainclude/";
S2 : constant String := "/usr/local/lib/gcc/i686-pc-linux-gnu/4.4.5/adalib/";
S3 : constant String := "i686-pc-l... |
with Ada.Numerics.Generic_Elementary_Functions;
package body Unit_Conversion_Utilities is
package Real_Elementary_Fuctions is new Ada.Numerics.Generic_Elementary_Functions (Real);
----------------
-- Initialize --
----------------
procedure Initialize
(This : out Unit_Converter;
... |
with Numerics, Ada.Text_IO, Forward_AD.AD2D;
use Numerics, Ada.Text_IO, Forward_AD.AD2D;
procedure Forward_AD.Bubble is
use Real_Functions, Real_IO, Int_IO;
type Potential_Function is not null access
function (X : in Pos2D_Vector) return AD_Type;
function Potential (Q : in Pos2D_Vector) return ... |
with System.Storage_Elements;
package body System.Bit_Ops is
pragma Suppress (All_Checks);
use type Storage_Elements.Storage_Element;
use type Storage_Elements.Storage_Offset;
function Bit_Eq (
Left : Address;
Llen : Natural;
Right : Address;
Rlen : Natural)
return Boolean is
... |
pragma SPARK_Mode;
with Pwm;
with Sparkduino; use Sparkduino;
package body Zumo_Motors is
PWM_L : constant := 10;
PWM_R : constant := 9;
DIR_L : constant := 8;
DIR_R : constant := 7;
procedure Init
is
begin
Initd := True;
SetPinMode (Pin => PWM_L,
Mode => PinMode'... |
-----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2013, AdaCore --
-- ... |
with C.unistd;
function System.Environment_Block return C.char_ptr_ptr is
begin
return C.unistd.environ;
end System.Environment_Block;
|
with Ada.Text_IO;
procedure Langtons_Ant is
Size: constant Positive := 100; -- change this to extend the playground
subtype Step is Integer range -1 .. +1;
procedure Right(N, W: in out Step) is
Tmp: Step := W;
begin
W := - N;
N := Tmp;
end Right;
procedure Left(N, W: in out Step... |
-- Copyright 2019-2021 Free Software Foundation, Inc.
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- ... |
-----------------------------------------------------------------------
-- ASF tests - ASF Tests Framework
-- Copyright (C) 2011, 2012 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 ... |
-- C37304A.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... |
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Directories;
with Ada.Direct_IO;
package body Utils is
function File_Content (Path : String) return String is
File_Size : constant Natural := Natural (Ada.Directories.Size (Path));
... |
-- $Id: DynArray.mi,v 1.8 1994/06/13 09:41:43 grosch rel $
-- $Log: DynArray.mi,v $
-- Ich, Doktor Josef Grosch, Informatiker, Aug. 1994
with Unchecked_Deallocation;
package body DynArray is
procedure Free is new Unchecked_Deallocation (tArray, FlexArray);
procedure MakeArray (ArrayPtr : out FlexArray ;
El... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
-- =============================================================================
-- Package AVR.TIMERS.SCHEDULER
--
-- Implements timers configurations specific for a fixed scheduler which uses
-- for handling scheduler-type threads.
--
-- This timer is used for handling the device clock:
-- - TIMER1_COMPA (16 bits tim... |
------------------------------------------------------------------------------
-- Copyright (c) 2013-2015, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
with Libadalang.Analysis; use Libadalang.Analysis;
with Libadalang.Common; use Libadalang.Common;
with String_Vectors; use String_Vectors;
private with Ada.Strings.Unbounded;
package Generators is
-- For now: single placeholder - so single Name
-- package St... |
-----------------------------------------------------------------------
-- AWA.Settings.Models -- AWA.Settings.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-... |
-- 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.
name = "Alterations"
type = "alt"
ldh_chars = "_abcdefghijklmnopqrstuvwxyz0123456789-"
function resolved(ctx, name, domain, records)
local nparts = split(name,... |
generic
type Elem is limited private;
type Index is (<>);
type Tomb is array (Index range <>) of Elem;
with procedure Swap (A, B: in out Elem);
procedure Reversal (T: in out Tomb);
|
-------------------------------------------------------------------------------
-- 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... |
-- The Village of Vampire by YT, このソースコードはNYSLです
with Serialization;
package Tabula.Villages.Village_IO is
package Village_State_IO is
new Serialization.IO_Enumeration (Tabula.Villages.Village_State);
end Tabula.Villages.Village_IO;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Abstract_Test_Suite; use Apsepp.Abstract_Test_Suite;
private with Apsepp_Test_Node_Class_Early_Test_Case,
Apsepp_Test_Reporter_Class_Struct_Builder_Early_Test_Case,
Apsepp_Sco... |
-- with Ada.Text_IO; use Ada.Text_IO;
package body Iface_Lists is
function Has_Element (Position : Cursor) return Boolean is
-- Ada's stock ACV checks for Position = No_Element here,
-- which requires much more bookkeeping, possibly type specific.
-- Here we deal with type hierarchy, with... |
with m4.mpu;
with types;
package soc.layout
with spark_mode => on
is
FLASH_BASE : constant system_address := 16#0800_0000#;
FLASH_SIZE : constant := 1 * MBYTE;
SRAM_BASE : constant system_address := 16#1000_0000#;
SRAM_SIZE : constant := 64 * KBYTE;
BOOT_ROM_BASE ... |
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@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 Sam Ho... |
--
-- 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.
--
-------------------------------------------... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Containers.Vectors;
with League.String_Vectors;
with League.Strings;
with Slim.Players;
package Slim.Menu_Models.Play_List... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Definitions;
with Program.Lexical_Elements;
package Program.Elements.Null_Components is
pragma Pure (Program.Elements.Null_Compon... |
with Garden_Pkg, tools;
use Garden_Pkg, tools;
procedure main is
task Mantis;
task Gardener;
task body Mantis is
pos : Position := GetRandPos;
hp : Natural := 1;
begin
while hp > 0 loop
if GetField(pos) = true then
hp := hp - 1;
Output.Puts("Mantis died - pos:" & Position'Im... |
with Ada.Unchecked_Conversion;
with SDL;
with SDL.Events.Events;
with SDL.Events.Keyboards;
with SDL.Log;
with SDL.Video.Pixel_Formats;
with SDL.Video.Rectangles;
with SDL.Video.Surfaces;
with SDL.Video.Windows.Makers;
procedure Surface is
W : SDL.Video.Windows.Window;
begin
SDL.Log.Set (Category => SDL.Log.Appl... |
-- This spec has been automatically generated from msp430g2553.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- System Clock
package MSP430_SVD.SYSTEM_CLOCK is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- XIN/XOU... |
with Ada.Text_IO; use Ada.Text_IO;
package body Menu is
procedure Add_Item(M : in out T_Menu; Item : T_Item) is
begin
T_Items.Append(M.Items, Item);
end;
procedure Show(M : in T_Menu) is
Item : T_Item;
First : T_Items.Extended_Index := T_Items.First_Index(M.Items);
La... |
with Ada.Formatting;
with Interfaces;
with System.Machine_Code;
procedure fpu is
use type Interfaces.Unsigned_16;
CW : aliased Interfaces.Unsigned_16 := 0;
begin
System.Machine_Code.Asm ("fstcw (%0)",
Inputs => System.Address'Asm_Input ("r", CW'Address),
Volatile => True);
declare
function Image is
new Ada... |
-- 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 must retain the above copyright notice, t... |
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
with
FLTK.Menu_Items,
Ada.Iterator_Interfaces;
private with
Ada.Containers.Vectors,
Interfaces,
System;
package FLTK.Widgets.Menus is
type Menu is new Widget with private
with Default_Iterator => Iterate,
Iterator_Element => FLTK.Menu_Items.Menu_Item_Reference,
... |
-- Copyright (c) 2015-2019 Marcel Schneider
-- for details see License.txt
with TokenValue; use TokenValue;
package TokenReading is
type Object is interface;
function ReadToken (O : Object) return TokenValue.Object is abstract;
end TokenReading;
|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-----------------------------------------------------------------------
-- ado-audits-tests -- Audit tests
-- 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 this file except ... |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with Interfaces;
use Interfaces;
package GBA.Numerics is
pragma Preelaborate;
Pi : constant :=
3.14159_26535_89793_23846_26433_83279_50288_41971_69399_37511;
e : constant :=
2.71828_18284_59045_23536_02874_71352_66249_7757... |
--
-- Jan & Uwe R. Zimmer, Australia, July 2011
--
with Real_Type; use Real_Type;
generic
type Element is private;
Buffer_Size : Positive;
package Generic_Sliding_Statistics is
procedure Add_Reading (New_Reading : Element);
generic
with function "+" (Left, Right : Element) return Element... |
with Ada.Directories;
with Ada.Strings.Unbounded;
with AWS.Messages;
with AWS.MIME;
with AWS.Templates;
package body @_Project_Name_@.Dispatchers is
use Ada;
use Ada.Strings.Unbounded;
Web_Root : Unbounded_String;
----------------------
-- Default Dispatch --
----------------------
overridin... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- A29003A.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... |
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 Lionel Draghi <lionel.draghi@free.fr>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 ... |
private
with
sdl.Video.Windows,
sdl.Video.GL;
package gel.Window.sdl
--
-- Provides an SDL implementation of a window.
--
is
type Item is new gel.Window.item with private;
type View is access all Item'Class;
---------
--- Forge
--
procedure define (Self : in View; Title : in String;
... |
with Ada.Integer_Text_IO;
with Ada.Text_IO;
with Ada.Containers.Vectors;
with Ada.Strings.Bounded;
package body Problem_22 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
procedure Solve is
package bs is new Ada.Strings.Bounded.Generic_Bounded_Length(12);
use bs;
... |
-- CC1301A.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... |
-- The Village of Vampire by YT, このソースコードはNYSLです
procedure Vampire.Villages.Load (
Name : in String;
Village : in out Village_Type;
Info_Only : in Boolean := False);
|
-----------------------------------------------------------------------
-- measure -- Benchmark tools
-- Copyright (C) 2008 - 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 c... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------
-- This program asks the user to enter a character,
-- preferably a 'c' or a 't'. The resultant behavior
-- (conditional or timed) depends on the character entered
-- and the time it is entered.
-- Taken from http://www.cs.uni.edu//~mccormic/AdaEssentials/... |
with Ada.Integer_Text_IO, Ada.Float_Text_IO;
package body S_Expr is
function First(This: List_Of_Data) return Data is
begin
return This.Values.First_Element;
end First;
function Rest(This: List_Of_Data) return List_Of_Data is
List: List_Of_Data := This;
begin
List.Values.Delete_First... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
procedure Euler15 is
function To_Integer(C : Character) return Integer is (Character'Pos(C) - Character'Pos('0'));
function To_String(I : Integer) return String is
S : String := Integer'Image(I);
begin
if... |
-----------------------------------------------------------------------
-- asf-converters-numbers -- Floating point number converters
-- Copyright (C) 2010, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... |
-----------------------------------------------------------------------
-- EL.Variables -- Default Variable Mapper
-- Copyright (C) 2009, 2010, 2011 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... |
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO; use Ada.Text_IO;
with Libadalang.Common; use Libadalang.Common;
with Rejuvenation; use Rejuvenation;
with Rejuvenation.Find_And_Replacer; use Rejuvenation.Find_And_Replacer;
with Rejuvenat... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, Fabien Chouteau --
-- --
-- ... |
private with GMP_c.mpz_t;
package GMP.discrete
--
--
--
is
type Integer is private;
-- forge
--
function to_Integer return Integer;
function to_Integer (From : long_long_Integer) return Integer;
function to_Integer (From : discrete.Integer) return Integer;
... |
with Neural.Set;
with Neural.Net;
-- with opengl.IO;
-- with Math;
-- with lace.text.Cursor;
with lace.Environ;
with ada.Strings.Fixed;
with ada.Text_Io;
package body linear_Net is
use Math, Ada.Text_IO;
use type -- opengl.Real,
neural.signal;
-- input_neuron_Count : constant := 1;
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
-- The MIT License (MIT)
--
-- Copyright (c) 2016 artium@nihamkin.com
--
-- 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
-... |
--PRÁCTICA 4: CÉSAR BORAO MORATINOS (Ordered_Maps_G.adb)
package body Ordered_Maps_G is
function Binary_Search (M: Map; Key: Key_Type;
Left: Integer; Right: Integer) return Integer is
Middle: Integer;
begin
if Right < Left then
return Left;
... |
-----------------------------------------------------------------------
-- keystore-files-tests -- Tests for files
-- 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 excep... |
with HAL; use HAL;
with Ada.Real_Time; use Ada.Real_Time;
with Ada.Unchecked_Conversion;
package body mpu6000_spi is
--
-- Types
--
type Register_Address is new HAL.UInt8;
subtype Read_Buffer is SPI_Data_8b (1 .. 6);
--
-- Constants
--
MPU_RA_ACCEL_XOUT_H : constant Register_Address := ... |
generic
type Element_Type is private;
with function To_String (E : Element_Type) return String is <>;
package Nestable_Lists is
type Node_Kind is (Data_Node, List_Node);
type Node (Kind : Node_Kind);
type List is access Node;
type Node (Kind : Node_Kind) is record
Next : List;
case Kin... |
date Span1 Span2 Max_%_DIFF
------ ----------------------- ----------------------- -----------------------
200601 +0.400177086687482E+01 -0.999000000000000E+03 -0.999000000000000E+03
200602 +0.403293150539614E+01 -0.999000000000000E+03 -0.999000000000000E+03
200603 +0.403250875904038E+01 -0.999000000000000E+03 -0.99900... |
pragma License (Unrestricted);
with Ada.Text_IO.Editing;
package Ada.Wide_Wide_Text_IO.Editing is
-- modified
-- type Picture is private;
subtype Picture is Text_IO.Editing.Picture;
function Valid (
Pic_String : String;
Blank_When_Zero : Boolean := False)
return Boolean
renames Text... |
------------------------------------------------------------------------------
-- --
-- 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... |
with STM32GD.Clock;
with STM32GD.Clock.Tree;
generic
Clock : STM32GD.Clock.RTC_Source_Type;
with package Clock_Tree is new STM32GD.Clock.Tree (<>);
package STM32GD.RTC is
subtype Second_Delta_Type is Natural range 0 .. (60 * 60 * 24);
subtype Minute_Delta_Type is Natural range 0 .. (60 * 24);
type Da... |
with GL; use GL;
with Interfaces.C.Strings;
with Glut; use Glut;
with ada_sphere_procs; use ada_sphere_procs;
procedure ada_sphere is
package ICS renames Interfaces.C.Strings;
type chars_ptr_ptr is access ICS.chars_ptr;
argc : aliased integer;
pragma Import (C, argc, "gnat_argc");
argv : chars_ptr_ptr... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Numerics, Ada.Text_IO;
use Numerics, Ada.Text_IO;
procedure Forward_AD.Jacobian is
use Real_IO, Int_IO;
function Func (X : in Real_Array) return AD_Vector is
Y : constant AD_Vector := Var (X);
Zero : constant Real_Array (X'Range) := (others => 0.0);
Result : AD_Vector := Var (Zero);
... |
with Interfaces; use Interfaces;
package body Natools.Smaz.Original_Hash is
P : constant array (0 .. 3) of Natural :=
(1, 2, 3, 4);
T1 : constant array (0 .. 3) of Unsigned_16 :=
(205, 471, 343, 362);
T2 : constant array (0 .. 3) of Unsigned_16 :=
(421, 215, 438, 437);
G : constant array... |
-----------------------------------------------------------------------
-- awa-comments-beans -- Beans for the comments module
-- Copyright (C) 2014, 2015, 2016, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
-- Copyright 2016,2017 Steven Stewart-Gallus
--
-- 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 applicable law ... |
-----------------------------------------------------------------------
-- util-processes -- Process creation and control
-- Copyright (C) 2011, 2012, 2016, 2018, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
-- MIT License
-- Copyright (c) 2021 Stephen 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,... |
-- Generated at 2017-06-17 18:23:38 +0000 by Natools.Static_Hash_Maps
-- from src/natools-s_expressions-conditionals-strings-maps.sx
package Natools.Static_Maps.S_Expressions.Conditionals.Strings is
pragma Pure;
type Parametric_Condition is
(Unknown_Parametric_Condition,
Case_Insensitive,
Cas... |
package Asis_Adapter.Element.Associations is
procedure Do_Pre_Child_Processing
(Element : in Asis.Element;
State : in out Class);
private
-- For debuggng:
Parent_Name : constant String := Module_Name;
Module_Name : constant String := Parent_Name & "Associations";
end Asis_Adapter.Elemen... |
-----------------------------------------------------------------------
-- wiki-nodes -- Wiki Document Internal representation
-- Copyright (C) 2016, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.