content stringlengths 23 1.05M |
|---|
generic
type elem is private;
package dcola is
type cola is limited private;
mal_uso: exception;
espacio_desbordado: exception;
procedure cvacia(qu: out cola);
procedure poner (qu: in out cola; x: in elem);
procedure borrar_primero (qu: in out cola);
function coger_primero(qu: in cola) return ... |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Thin binding to Simple Direct Media Layer --
-- Copyright (C) 2000-2012 A.M.F.Vargas --
-- Antonio M. M.... |
with Ada.Unchecked_Deallocation;
package body GNAT.Sockets is
procedure Free is
new Ada.Unchecked_Deallocation (
Ada.Streams.Stream_IO.File_Type,
Socket_Type);
function Addresses (E : Host_Entry_Type; N : Positive := 1)
return Inet_Addr_Type
is
pragma Unreferenced (N);
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- ADO Sequences -- Database sequence generator
-- Copyright (C) 2009, 2010, 2011, 2012, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- yo... |
package Pythagorean_Means is
type Set is array (Positive range <>) of Float;
function Arithmetic_Mean (Data : Set) return Float;
function Geometric_Mean (Data : Set) return Float;
function Harmonic_Mean (Data : Set) return Float;
end Pythagorean_Means;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Assertions; use Ada.Assertions;
with Ada.Unchecked_Deallocation;
with Ada.Numerics.Generic_Elementary_Functions;
with Memory.Cache; use Memory.Cache;
with Memory.SPM; use Memory.SPM;
with Memory.Transform; use Memory.Transf... |
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired)
--
-- Copyright William A. Whitaker (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is C... |
type Grayscale_Image is array (Positive range <>, Positive range <>) of Luminance;
|
with Ada.Text_IO; -- Tell compiler to use i/o library
use Ada.Text_IO; -- Use library routines w/o fully qualified names
procedure hello is
begin
--put("Hello World!\n");
Ada.Text_IO.Put_Line ("Hello world in Ada!");
end hello;
|
package body OpenGL.Vertex_Array is
procedure Enable_Attribute_Array
(Index : in Attribute_Index_t) is
begin
Thin.Enable_Vertex_Attrib_Array (Thin.Unsigned_Integer_t (Index));
end Enable_Attribute_Array;
procedure Disable_Attribute_Array
(Index : in Attribute_Index_t) is
begin
Thin.Disable_V... |
-------------------------------------------------------------------------------
with Text_IO;
package body Formatter is
-- Instantiated Input-Output packages
package IO is new Text_io.Integer_io(Integer);
package FIO is new Text_io.Float_io(Float);
package DFIO is new Text_io.Float_io(Dp_float);
... |
procedure Goto_Loop is
begin
<<Start>>
null;
goto Start;
end Goto_Loop;
|
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
package body Apsepp.Generic_Shared_Instance.Creator is
----------------------------------------------------------------------------
Locker : SB_L_Locker (Lock'Access);
---------------------------------... |
pragma License (Unrestricted);
package Ada.Real_Time.Timing_Events is
type Timing_Event is tagged limited private;
type Timing_Event_Handler is
access protected procedure (Event : in out Timing_Event);
-- procedure Set_Handler (
-- Event : in out Timing_Event;
-- At_Time : Time;
-- Handler : Tim... |
-- generic_example_options
-- An example of the use of parse_args with generic option types
-- Copyright (c) 2015, James Humphry
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permissi... |
with Ada.Text_IO, Ada.Integer_Text_IO, display, stats, player, inventory_list, Game_Map;
use Ada.Text_IO, Ada.Integer_Text_IO, display, stats, player, inventory_list, Game_Map;
procedure test is
User : Character := 'o';
Level_3 : Coords(1..30, 1..50);
Position : Room_Ptr;
Map_1 : Map_Type := (1..10 => (1..10 =>... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Calendar; use Ada.Calendar;
with Ada.Calendar.Formatting; use Ada.Calendar.Formatting;
with Ada.Calendar.Time_Zones; use Ada.Calendar.Time_Zones;
with Ada.Text_Io; use Ada.Text_Io;
procedure System_Time is
Now : Time := Clock;
begin
Put_line(Image(Date => Now, Time_Zone => -7*60));
end System_Time;
|
with Ada.Directories;
with Generic_Logging;
package body Lal_Adapter.Tool is
------------
-- EXPORTED:
------------
-- LEAKS (only intended to be called once per program execution):
procedure Process
(This : in out Class;
Project_File_Name : in String;... |
with Ada.Containers.Indefinite_Vectors;
package Protypo.Api.Engine_Values.Engine_Value_Vectors is
new Ada.Containers.Indefinite_Vectors (Index_Type => Positive,
Element_Type => Engine_Value);
-- package Engine_Value_Vectors is
-- subtype Engine_Value_Array is Engine_... |
-- Copyright 2012-2015 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.
--
-- ... |
with Pig; with Ada.Text_IO; with Ada.Command_Line;
procedure automatic_Pig is
use Pig;
type Robot is new Actor with record
Bound: Natural := 20;
Final_Run: Natural := 0;
end record;
function Roll_More(A: Robot; Self, Opponent: Player'Class) return Boolean;
function Roll_More(A: Robot; Sel... |
with STM32.Board; use STM32.Board;
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 STM32.Timers; use STM32.Timers;
with STM32.PWM; use STM32.PWM;
package control is
Selected_Timer : STM32.Timers.Timer rename... |
-----------------------------------------------------------------------
-- util-properties-tests -- Tests for properties
-- Copyright (C) 2009, 2010, 2011, 2014, 2017, 2018, 2020, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the... |
-- C45210A.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 speech_tools_c.Pointers;
with interfaces.C;
package speech_tools_c.pointer_Pointers
is
-- EST_Wave_Pointer_Pointer
--
type EST_Wave_Pointer_Pointer is access all speech_tools_c.Pointers.EST_Wave_Pointer;
-- EST_String_Pointer... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
procedure Library (X : Integer) is
begin
-- Failure
pragma Assert (X < 10);
-- Success
pragma Assert (X > 0);
end Library;
|
pragma Ada_2012;
package body EU_Projects.Times.Time_Expressions.Solving is
------------------
-- Add_Equation --
------------------
procedure Add_Equation (Equations : in out Time_Equation_System;
Left : Dotted_Identifier;
Right : Symbolic_D... |
-- Gonzalo Martin Rodriguez
-- Ivan Fernandez Samaniego
with Priorities; use Priorities;
with devices; use devices;
with ada.strings.unbounded; use ada.strings.unbounded;
with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io;
package Driver is
task Distance is
pragma Priority (Distance_Pr... |
-- C32113A.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... |
with Ada.Streams.Stream_IO;
with Interfaces;
package Benchmark_I64 is
package ASS_IO renames Ada.Streams.Stream_IO;
subtype Long is Long_Integer;
procedure Write (N : Long; File_Name : String);
procedure Read (N : Long; File_Name : String);
end Benchmark_I64;
|
with
AdaM.Any,
AdaM.library_Unit,
Ada.Containers.Vectors,
Ada.Streams;
package AdaM.library_Item
is
type Item is new Any.item with private;
-- View
--
type View is access all Item'Class;
procedure View_write (Stream : not null access Ada.Streams.Root_Stream_Type'Class;
... |
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- This software was developed by John Self of the Arcadia project
-- at the University of California, Irvine.
--
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and t... |
--------------------------------------------------------------------------------
-- Copyright (c) 2013, Felix Krause <contact@flyx.org>
--
-- 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 pe... |
--//////////////////////////////////////////////////////////
-- 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... |
package body Ada.Containers.Murmur_Hash_3 is
-- use MurmurHash3_x86_32
procedure Step (h1 : in out Hash_Type; Item : Hash_Type);
procedure Step (h1 : in out Hash_Type; Item : Hash_Type) is
c1 : constant := 16#cc9e2d51#;
c2 : constant := 16#1b873593#;
k1 : Hash_Type := Item;
begin
k... |
-----------Package Data, body-----------
with Text_IO, Ada.Integer_Text_IO;
use Text_IO, Ada.Integer_Text_IO;
with Data;
package body Data is
--Multiplication of matrices
function Matrix_Multiplication(A, B: in Matrix) return Matrix is
P: Matrix;
S: Integer;
begin
for k in 1..n loop
... |
package body Polygons is
EPSILON : constant := 0.00001;
function Ray_Intersects_Segment
(Who : Point;
Where : Segment)
return Boolean
is
The_Point : Point := Who;
Above : Point;
Below : Point;
M_Red : Float;
Red_Is_Inf... |
with AFRL.CMASI.AutomationResponse; use AFRL.CMASI.AutomationResponse;
with AFRL.CMASI.Enumerations;
with AFRL.CMASI.MissionCommand; use AFRL.CMASI.MissionCommand;
with AFRL.CMASI.ServiceStatus; use AFRL.CMASI.ServiceStatus;
with AFRL.CMASI.VehicleActionCommand; ... |
-----------------------------------------------------------------------
-- css-core-sheets -- CSS stylesheet representation
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this f... |
------ WHILE / LOOP / FOR
procedure Hello is
a: Integer;
b: Float ;
c: Boolean;
function uno(a,b:in Integer) return Integer is
begin
Put(one);
for I in 1..1 loop
Get(a);
end loop;
return True;
end uno;
begin
b := 2.0;
c := True;
wh... |
-- $Id: Idents.md,v 1.6 1992/08/07 14:45:41 grosch rel $
-- $Log: Idents.md,v $
-- Ich, Doktor Josef Grosch, Informatiker, Sept. 1994
with Text_Io, Strings, StringM;
use Text_Io, Strings, StringM;
package Idents is
subtype tIdent is Integer range 0 .. 2 ** 16 - 1;
NoIdent : tIdent; -- := MakeIdent (NoString... |
with Memory.Transform.Offset; use Memory.Transform.Offset;
with Memory.Join; use Memory.Join;
package body Test.Offset is
procedure Run_Tests is
mem : constant Monitor_Pointer := Create_Monitor(0, True);
bank : constant Monitor_Pointer := Create_Monitor(0, False);
offset ... |
package body System.Interrupt_Management is
function Reserve (Interrupt : Interrupt_ID) return Boolean is
begin
return Ada.Interrupts.Is_Reserved (
Ada.Interrupts.Interrupt_Id (Interrupt));
end Reserve;
end System.Interrupt_Management;
|
package ewok.tasks.debug
with spark_mode => on
is
procedure crashdump
(frame_a : in ewok.t_stack_frame_access);
end ewok.tasks.debug;
|
-- see OpenUxAS\src\Communications\LmcpMessage.h
with AVTAS.LMCP.Object;
package UxAS.Comms.Data.LMCP_Messages is
type LMCP_Message is tagged limited record
-- these are public member data in the C++ version so they are visible
-- in this base class (even if extensions are private, as they should b... |
with GESTE;
with GESTE.Sprite.Animated; use GESTE.Sprite.Animated;
with GESTE.Tile_Bank;
with GESTE.Maths_Types; use GESTE.Maths_Types;
with Ada.Text_IO;
with Console_Char_Screen;
procedure Sprite_Animation is
use type GESTE.Pix_Point;
package Console_Screen is new Console_Char_Screen
(Width => 5,
... |
-- { dg-do compile }
package body itypes is
Size : constant := 10;
type Arr is array (1 .. size) of Integer;
type Rec is record
Field1 : Arr := (others => 0);
Field2 : Arr := (others => 0);
Field3 : Arr := (others => 0);
Field4 : Arr := (others => 0);
Field5 : Arr := (others... |
with Ada.Strings.Unbounded;
with Ada.Containers.Vectors;
package Menu is
-- More convenient way to access unbounded strings
package SU renames Ada.Strings.Unbounded;
-- Access to procedure to call for items
type T_Func_Ptr is access procedure;
-- An item in the menu
type T_Item is
record... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
with Ada.Interrupts.Names;
package STM32.CORDIC.Interrupts is
procedure Calculate_CORDIC_Function
(This : in out CORDIC_Coprocessor;
Argument : UInt32_Array;
Result : out UInt32_Array);
-- Uses the interrupt interface to get the calculated funtion result.
procedure Calculate_CORDIC_F... |
-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
--
-- The primary authors of ayacc were David Taback and Deepak Tolani.
-- Enhancements were made by Ronald J. Schmalz.
--
-- Send requests for ayacc information to ayacc-info@ics.uci.edu
-- Send bug reports for ayacc to ... |
package LinkedLists is
type IntElem;
type IntElemPtr is access IntElem;
type IntElem is record
val : Integer;
nxt : IntElemPtr;
end record;
type Obj is tagged;
type ObjPtr is access Obj;
type Obj is tagged record
nxt : ObjPtr;
end record;
end LinkedLists;
|
-----------------------------------------------------------------------
-- util-streams-buffered-lzma-tests -- Unit tests for encoding buffered streams
-- Copyright (C) 2018, 2019, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (th... |
with System;
package Init12 is
type Arr1 is array (1 .. 3) of Integer;
for Arr1'Scalar_Storage_Order use System.Low_Order_First;
type Arr11 is array (1 .. 2, 1 .. 2) of Integer;
for Arr11'Scalar_Storage_Order use System.Low_Order_First;
type Arr2 is array (1 .. 3) of Integer;
for Arr2'Scalar_Storage_Ord... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Compare_Array_Unsigned_64 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Unsigned_64 is mod 2 ** 64;
for Unsigned_64'Size use 64;
... |
with agar.gui.surface;
with agar.gui.widget;
with agar.gui.types;
package agar.gui.window is
use type c.unsigned;
use type agar.gui.types.window_flags_t;
subtype window_t is agar.gui.types.window_t;
subtype window_access_t is agar.gui.types.window_access_t;
--
-- constants
--
caption_max : constant... |
-- PR debug/80321
-- { dg-do compile }
-- { dg-options "-O2 -g" }
with Debug10_Pkg; use Debug10_Pkg;
procedure Debug10 (T : Entity_Id) is
procedure Inner (E : Entity_Id);
pragma Inline (Inner);
procedure Inner (E : Entity_Id) is
begin
if E /= Empty
and then not Nodes (E + 3).Flag16
... |
-- { dg-do compile }
with Varsize3_Pkg1; use Varsize3_Pkg1;
procedure Varsize3_6 is
Filter : Arr renames True.E;
begin
null;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- serialize-io-json-tests -- Unit tests for JSON parser
-- Copyright (C) 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 t... |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F.... |
with Sorok, Ada.Command_Line, Ada.Integer_Text_IO;
use Sorok;
procedure SorDemo is
N: Integer;
S: Sor(Ada.Command_Line.Argument_Count);
begin
for I in 1..Ada.Command_Line.Argument_Count loop
N := Integer'Value(Ada.Command_Line.Argument(I));
Hiext( S, N );
end loop;
while no... |
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org --
-- ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Ada.Calendar.Arithmetic;
with Ada.Calendar.Formatting;
with Ada.Characters.Latin_1;
with Ada.Directories;
with File_Operations;
with Parameters;
with Utilities;
package body PortScan.Log is
package DIR re... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Internet Protocol Suite Package --
-- --
-- -... |
package Giza.Bitmap_Fonts.FreeSerif12pt7b is
Font : constant Giza.Font.Ref_Const;
private
FreeSerif12pt7bBitmaps : aliased constant Font_Bitmap := (
16#FF#, 16#FE#, 16#A8#, 16#3F#, 16#CF#, 16#3C#, 16#F3#, 16#8A#, 16#20#,
16#0C#, 16#40#, 16#C4#, 16#08#, 16#40#, 16#8C#, 16#08#, 16#C7#, 16#FF#,
16#18#, 16#81... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A . G U I... |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure aaa_02if is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.... |
pragma License (Unrestricted);
-- extended unit
package Ada.Characters.ASCII.Handling is
-- There are functions handling only lower-half characters in
-- 16#00# .. 16#7F#.
pragma Pure;
function Is_Control (Item : Character) return Boolean;
function Is_Graphic (Item : Character) return Boolean;
f... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with System.Storage_Elements;
with System.Storage_Pools.Subpools;
package Program.Dummy_Subpools is
pragma Preelaborate;
type ... |
with Memory.Flash;
with Util; use Util;
separate (Parser)
procedure Parse_Flash(parser : in out Parser_Type;
result : out Memory_Pointer) is
word_size : Positive := 8;
block_size : Positive := 256;
read_latency : Time_Type := 10;
write_latency : Time_Type := 1000;
beg... |
Revert to older code compatible with gcc9
--- gpr/src/gpr-compilation-protocol.adb.orig 2021-05-19 05:22:13 UTC
+++ gpr/src/gpr-compilation-protocol.adb
@@ -22,7 +22,7 @@
-- --
-------------------------------------------------------------------... |
-- Copyright (c) 2021, Karsten Lueth (kl@kloc-consulting.de)
-- 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... |
-- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
pragma License (Unrestricted);
-- generalized unit of Ada.Text_IO.Unbounded_IO
with Ada.Strings.Generic_Unbounded;
generic
with package Unbounded_Strings is new Strings.Generic_Unbounded (<>);
with procedure Put (
File : File_Type;
Item : Unbounded_Strings.String_Type) is <>;
with procedure Put_Li... |
<html>
<head>
<title>ThaiCreate.Com PHP & MySQL (mysqli)</title>
</head>
<body>
<?php
$serverName = "localhost";
$userName = "root";
$userPassword = "";
$dbName = "cookweeb";
$conn = mysqli_connect($serverName,$userName,$userPassword,$dbName);
if (mysqli_connect_errno())
{
echo "Database Connect ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Utilities;
with Parameters;
with Ada.Characters.Latin_1;
package body Port_Specification.Makefile is
package UTL renames Utilities;
package PM renames Parameters;
package LAT renames Ada.Characters... |
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure record2 is
type stringptr is access all char_array;
procedure PInt(i : in Integer) is
begin
String'Write (Text_Streams.Str... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
with System;
package Lv.Tasks is
type Instance is private;
type Prio_T is (Prio_Off,
Prio_Lowest,
Prio_Low,
Prio_Mid,
Prio_High,
Prio_Highest,
Prio_Num);
-- Call it periodically to handle lv_... |
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required... |
--
-- Copyright (C) 2015-2018 secunet Security Networks AG
--
-- 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 2 of the License, or
-- (at your option) any later version.
--
-- ... |
package Loop_Optimization1 is
type Number is range 0 .. 127;
type Group_List is array (Positive range <>) of Number;
subtype Index is Natural range 1 .. 5;
function Groups (T : Integer) return Group_List;
pragma Import (Ada, Groups);
type Group_Chain (Length : Index := 1) is record
Groups ... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_alloc_named_color_reply_t is
-- Item
--
type Item is record
response_type : aliased Interfaces.Unsigned_8;
pad0 : aliased Interfaces.Unsign... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- compile with -gnatW8
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Wide_Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Strings.Unbounded;
procedure Test_Types is
type Cows_Counter_Type is new Natural;
type Fixed_Point_Type is delta 0.01 range 0.0 .. 1_166_405_539.00;
-- decimal fixed ... |
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired)
--
-- Copyright William A. Whitaker (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is C... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
package VisitFailurePackage is
VisitFailure: Exception;
procedure RaiseVisitFailure(msg: String);
end VisitFailurePackage;
|
-- ----------------------------------------------------------------- --
-- --
-- This is free software; you can redistribute it and/or --
-- modify it under the terms of the GNU General Public --
-- License as published by the ... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
package body AdaBase.Logger.Facility is
------------------
-- error_mode --
------------------
function error_mode (facility : LogFacility) return Error_Modes
is
begin
return facility... |
-----------------------------------------------------------------------
-- awa-setup -- Setup and installation
-- Copyright (C) 2016, 2017, 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 use t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.