content stringlengths 23 1.05M |
|---|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Text_IO.Text_Streams; use Ada.Text_IO;
with Ada.Streams; use Ada.Streams;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Command_Line; use Ada.Command_Line;
with AWS.Default;
with AWS.Net; use AWS;
with AWS.Net.SSL; use AWS.Net;
with Aids.Env; use Aids;
wit... |
-------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
package SomeClass is
type SomeClass1 is record
someAttribute : Integer := 1;
end record;
type SomeClass2 is record
someAttribute2 : SomeClass1;
end record;
end SomeClass;
|
package body OpenGL.Vertex is
--
-- Immediate mode.
--
function Primitive_Type_To_Constant
(Mode : in Primitive_Type_t) return Thin.Enumeration_t is
begin
case Mode is
when Points => return Thin.GL_POINTS;
when Lines => return Thin.GL_LINES;
when Line_Strip => ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017-2020, Fabien Chouteau --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with GL.Types;
with GA_Maths; use GA_Maths;
with Multivectors; use Multivectors;
package E3GA is
type Array_19F is array (1 .. 19) of float;
-- subtype M_Vector is GA_Maths.Coords_Continuous_Array (1 .. 3); -- m_c[3] coordinate storage
subtype E3_Vector is GL.Types.Singles.Vector3; -- m_c[3] coordinat... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, Universidad Politécnica de Madrid --
-- --
-- ... |
with STM32.Device;
with STM32.SPI; use STM32.SPI;
with HAL.SPI; use HAL.SPI;
with cc3df4revo.Board;
package body spi_accel is
package GPIO renames STM32.GPIO;
--
-- SPI connection initialization
--
procedure init is
procedure init_gpio;
procedure reinit_spi;
procedure configure_accel;... |
--
-- Copyright (C) 2017 Nico Huber <nico.h@gmx.de>
--
-- 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.
--
-- This pr... |
-- { dg-do compile }
procedure Slice_Enum is
Pos : array (Boolean) of Integer;
begin
Pos (Boolean) := (others => 0);
end;
|
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2018 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 fr... |
with Ada.Strings.Unbounded;
package body Test_Utils is
function Shift_Right
(Value : Storage_Element;
Amount : Natural) return Storage_Element
with Import, Convention => Intrinsic;
type UInt4 is mod 2 ** 4
with Size => 4;
UInt4_To_Char : constant array (UInt4) of Character
:= (0 ... |
with game_types,ada.text_io ;
use ada.text_io ;
package game_functions is
function initialize_cells return game_types.array_of_cell ;
procedure render_game(cells : game_types.array_of_cell) ;
function evolve_cells(cells : game_types.array_of_cell) return game_types.array_of_cell ;
end game_f... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- --
-- ... |
package Crawler is
end Crawler;
|
--::::::::::
--random_generic.ads
--::::::::::
generic
type Result_Subtype is (<>);
package Random_Generic is
-- Simple integer pseudo-random number generator package.
-- Michael B. Feldman, The George Washington University,
-- June 1995.
function Random_Value return Result_Subtype;
end Random_Generi... |
-----------------------------------------------------------------------
-- AWA.Comments.Models -- AWA.Comments.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-spec.xhtml
-- Ada Generator: https://ada-... |
-------------------------------------------------------------------------------
-- 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... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2021 The progress_indicators authors
--
-- 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... |
with Ada.Text_IO; use Ada.Text_IO;
with Integer_IO; use Integer_IO;
-- utiliser les opérations de Integer_IO.
procedure Exemple_Integer_IO is
Nombre: Integer;
begin
Put ("10 = ");
Afficher (10);
New_Line;
Put ("0 = ");
Afficher (0);
New_Line;
Put ("Integer'Last = ");
Afficher (In... |
with STM32.GPIO; use STM32.GPIO;
with STM32.Timers; use STM32.Timers;
with STM32.PWM; use STM32.PWM;
with STM_Board; use STM_Board;
with Inverter_ADC; use Inverter_ADC;
package Inverter_PWM is
-----------------
-- Definitions --
-----------------
type PWM_Phase is (A, B);
-- Each phase of a ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with SDA_Exceptions; use SDA_Exceptions;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
--! Les Unbounded_String ont une capacité variable, contrairement au String
--! pour lesquelles une capacité doit être fix... |
--
-- Jan & Uwe R. Zimmer, Australia, July 2011
--
generic
No_Of_CPU_Cores : Positive;
package Swarm_Control_Concurrent_Generic is
type Job_Type is (Set_Accelerations, Forward_Messages, Move_Elements, Update_Rotations, No_Job);
procedure Distribute_Jobs (Job : Job_Type);
end Swarm_Control_Concurrent_Gene... |
package Noreturn3 is
Exc1 : Exception;
Exc2 : Exception;
Exc3 : Exception;
type Enum is (One, Two, Three);
procedure Raise_Error (E : Enum; ErrorMessage : String);
pragma No_Return (Raise_Error);
end Noreturn3;
|
with STM32GD.Board;
with Drivers.Si7006;
with Drivers.Text_IO;
package Peripherals is
subtype Millivolts is Natural range 0..4095;
package Si7006 is new Drivers.Si7006 (I2C => STM32GD.Board.I2C);
procedure Init;
procedure Power_Down;
procedure Power_Up;
procedure Enable_Stop_Mode (Low_Power : Bool... |
--
-- Copyright (c) 2008-2009 Tero Koskinen <tero.koskinen@iki.fi>
--
-- Permission to use, copy, modify, and distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this permission notice appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Command_Line; use Ada.Command_Line;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with System.Assertions; use System.Assertions;
with Ada.Containers.Hashed_Maps; use Ada.Containers;
with Ada.Characters.Handling; use Ada.Characters.Handling;
procedure Day24 is
t... |
with
glx.Pointers;
package glx.Context
is
subtype Item is Pointers.ContextRec_Pointer;
type Pointer is access all Item;
type Pointer_Pointer is access all Pointer;
type Items is array (C.size_t range <>) of aliased Item;
type Pointers is array (C.size_t range <>) of aliased Pointer;
e... |
-----------------------------------------------------------------------
-- util-http-clients -- HTTP Clients
-- 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 excep... |
-- C38102A.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);
-- overridable runtime unit specialized for Windows (x86_64)
with System.Unwind.Representation;
with C.winnt;
package System.Unwind.Mapping is
pragma Preelaborate;
-- signal alt stack
type Signal_Stack_Type is private;
-- register signal handler (init.c/seh_init.c)
pro... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Characters.Latin_1;
package body Spatial_Data is
package LAT renames Ada.Characters.Latin_1;
---------------------------
-- initialize_as_point --
---------------------------
functio... |
-- 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... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
--
-- Copyright 2022 (C) Nicolas Pinault (aka DrPi)
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with Interfaces; use Interfaces;
package Elf is
ELF_MAGIC : constant := 16#464c457f#;
EM_ARM : constant := 16#28#;
PT_LOAD : constant := 16#00000001#;
type Elf_Header_Pad_Array is array (1 .. 7) of Uns... |
------------------------------------------------------------------------------
-- Copyright (c) 2006-2013, Maxim Reznik
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistr... |
package body Flags is
procedure Add
(Map : in out Map_T;
Key : Key_T;
Description : Colors.Color_Set_T;
Success : out Boolean) is
begin
Success := False;
-- If the key is not already in the map then
-- Create a map element and add i... |
-- ----------------------------------------------------------------- --
-- AdaSDL --
-- Binding to Simple Direct Media Layer --
-- Copyright (C) 2001 A.M.F.Vargas --
-- Antonio M. F.... |
-----------------------------------------------------------------------
-- tool-data -- Perf data representation
-- Copyright (C) 2018 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 ... |
-- Generated at 2015-02-03 21:39:53 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-error_pages-maps.sx
package Natools.Static_Maps.Web.Error_Pages is
pragma Pure;
type Command is
(Unknown_Command,
Location,
Message,
Path,
Status_Code);
function To_Command (Key : Str... |
-- 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 ... |
-- MIT License
--
-- Copyright (c) 2020 Max Reznik
--
-- 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, mo... |
------------------------------------------------------------------------------
-- Copyright (c) 2016, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
generic
type Element_Type is private;
type Index is (<>);
type Collection is array(Index) of Element_Type;
with function "<=" (Left, Right : Element_Type) return Boolean is <>;
procedure Gnome_Sort(Item : in out Collection);
|
-- ___ _ ___ _ _ --
-- / __| |/ (_) | | Common SKilL implementation --
-- \__ \ ' <| | | |__ API types for skill types --
-- |___/_|\_\_|_|____| by: Timm Felden, Dennis Przytarski ... |
package Web.HTML is
-- input
function Checkbox_Value (S : String) return Boolean;
-- output
type HTML_Version is (HTML, XHTML);
generic
with procedure Write (Item : in String);
Version : in HTML_Version;
procedure Generic_Write_In_HTML (
Item : in String;
Pre : in Boolean := False);
procedure... |
pragma SPARK_Mode(ON);
with Types; use Types;
package gpsModule with SPARK_Mode is
Top_Left : constant Types.Point := (667271.0, 6398091.0, 0.0);
Bottom_Right : constant Types.Point := (677862.0, 6397724.0, 0.0);
function gpstest(Position : Types.Point) return Boolean with
Post => (if Gpstest'Result the... |
with Interfaces;
with kv.avm.Actor_References;
with kv.avm.Tuples;
with kv.avm.Registers;
with kv.avm.Messages;
package kv.avm.Control is
NO_FUTURE : constant Interfaces.Unsigned_32 := 0;
type Status_Type is (Active, Blocked, Deferred, Idle, Error);
subtype Running_Status_Type is Status_Type range Active .... |
-- 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... |
pragma License (Unrestricted);
-- extended unit specialized for POSIX (Darwin, FreeBSD, or Linux)
package Ada.Text_IO.Terminal.Colors.Names is
-- Constants for system-specific system colors.
Black : constant Color; -- (R => 0.0, G => 0.0, B => 0.0)
Dark_Red : constant Color; -- (R => 0.75, G => 0.0, B => 0.... |
with Golub_SVD;
with Rectangular_Test_Matrices;
with Ada.Text_IO;
use Ada.Text_IO;
-- Demonstrates use of SVD when No_of_Rows > No_of_Cols.
-- So you have more equations than unknowns in equation solving.
-- (Can't have No_of_Rows < No_of_Cols.)
procedure golub_svd_tst_2 is
type Real is digits 15;
Start ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Containers.Ordered_Maps;
procedure Euler14 is
package Length_Map is new Ada.Containers.Ordered_Maps
(Long_Long_Integer,Integer);
Lengths : Length_Map.Map;
function Chain_Length(Value : Long_Long_Integer) return Integer is
Count : Natural := 0;
... |
-- Copyright (C)2021,2022 Steve Merrony
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publis... |
pragma Ada_2012;
pragma Warnings (Off, "no entities of ""Ada.Text_Io"" are referenced");
with Ada.Text_Io; use Ada.Text_Io;
with Ada.Unchecked_Deallocation;
package body Readable_Sequences.Generic_Sequences is
type Nullable_Buffer_Access is access all Buffer_Type;
procedure Free is
new Ada.Unchecked_Deallo... |
-- AUTHOR: GUILLERMO ALBERTO PEREZ GUILLEN
with Last_Chance_Handler; pragma Unreferenced (Last_Chance_Handler);
with STM32.Device; use STM32.Device;
with HAL; use HAL;
with STM32.ADC; use STM32.ADC;
with STM32.GPIO; use STM32.GPIO;
with Ada.Real_Time; use Ada.Real_Time;
with STM32.User_Button; --... |
with Ada.Characters.Latin_1;
with Ada.Numerics;
with Orka.Rendering.Textures;
with Orka.Resources.Textures.KTX;
with Orka.Features.Terrain.Spheres;
with Orka.Transforms.Doubles.Matrices;
with Orka.Transforms.Doubles.Matrix_Conversions;
with Orka.Transforms.Doubles.Quaternions;
with Orka.Transforms.Doubles.Vectors;
wit... |
package c_code_h is
procedure c_func;
pragma Import (C, c_func);
procedure c_ada_caller;
pragma Import (C, c_ada_caller);
end c_code_h;
|
with Ada.Containers.Vectors;
with Ada.Strings.Wide_Unbounded;
with Symbex.Lex;
with Stack;
pragma Elaborate_All (Stack);
package Symbex.Parse is
type Tree_t is private;
--
-- Tree status value.
--
type Tree_Status_t is
(Tree_OK,
Tree_Error_Excess_Closing_Parentheses,
Tree_Error_Unterminated... |
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with XML.SAX.Writers;
with Incr.Documents;
with Incr.Parsers.Incremental;
package Incr.Debug is
package P renames Incr.Parse... |
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Widgets.Groups.Wizards is
procedure wizard_set_draw_hook
(W, D : in System.Address);
pragma Import (C, wizard_set_draw_hook, "wizard_set_draw_hook");
pragma Inline (wizard_set_draw_hook);
procedure wiz... |
with
openGL.Primitive.indexed,
openGL.Geometry.colored;
package body openGL.Model.box.colored
is
---------
--- Forge
--
function new_Box (Size : in Vector_3;
Faces : in colored.Faces) return View
is
Self : constant View := new Item;
begin
Self.Faces := Fa... |
-- SPDX-License-Identifier: MIT
--
-- Copyright (c) 1999 - 2018 Gautier de Montmollin
-- SWITZERLAND
--
-- 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... |
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with Gnattest_Generated;
package Tcl.Info.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Tcl.Info.Test_Data
.Test with
n... |
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 euler26 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.S... |
-------------------------------------------------------------------------------
-- 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 MSP430_SVD; use MSP430_SVD;
with MSPGD.Board; use MSPGD.Board;
with MSPGD.Clock; use MSPGD.Clock;
with MSPGD.Clock.Source;
with MSPGD.GPIO; use MSPGD.GPIO;
with MSPGD.GPIO.Pin;
with Drivers.Text_IO;
with Drivers.NTC;
with Interfaces; use Interfaces;
procedure Main is
pragma Preelaborate;
package Text_IO i... |
with ada.containers.vectors;
with numbers; use numbers;
with strings; use strings;
with env; use env;
package getter.for_loop is
ERROR_NO_CLOSED : exception;
function get return character;
procedure create (start_i, end_i : word; var : environment_t.cursor);
private
end_for_statement : constant string := ".... |
-----------------------------------------------------------------------
-- asf-views-nodes -- Facelet node tree representation
-- Copyright (C) 2009, 2010, 2011, 2012, 2013, 2014, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.Renamings is
use type LALCO.Ada_Node_Kind_Type;
function Is_Renaming (Node : LAL.Ada_Node'Class) return Boolean;
function Is_Renaming (Node : LAL.Ada_Node'Class) return Boolean is
begin
return
Node.Kind in L... |
with MathUtils;
with NNClassifier;
with DataBatch;
with PixelArray;
with Ada.Strings.Unbounded;
package TrainingData is
pragma Elaborate_Body;
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
type Set is tagged limited re... |
with Ada.Directories;
with Ada.Strings.Unbounded;
with Ada.Tags;
with Ahven.Framework;
with Aircraft.Api;
package Test_Aircraft.Append is
package Skill renames Aircraft.Api;
use Aircraft;
use Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT INTERFACE COMPONENTS --
-- --
-- ... |
-------------------------------------------------------------------------------
-- Copyright (c) 2020 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... |
-- This spec has been automatically generated from STM32F40x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with HAL;
with System;
package STM32_SVD.I2C is
pragma Preelaborate;
---------------
-- Registers --
---------------
------------------
-- CR1_Register --
-------------... |
package Encoding is
function Encode (Text : String) return Wide_Wide_String;
private
end Encoding; |
-- 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... |
with Ada.IO_Exceptions;
with AWS.Config.Set;
with Swagger.Servers.AWS;
with Swagger.Servers.Applications;
with Util.Log.Loggers;
with Util.Properties;
with .Servers;
procedure .Server is
procedure Configure (Config : in out AWS.Config.Object);
CONFIG_PATH : constant String := ".properties";
procedure Config... |
-- Advanced Resource Embedder 1.2.0
package Lines is
type Content_Array is array (Positive range <>) of access constant String;
type Content_Access is access constant Content_Array;
Id_multiple_txt : aliased constant Content_Array;
private
L_1 : aliased constant String := "line 1";
L_2 : aliased... |
-- 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... |
-- { dg-do compile }
package body Incomplete3 is
function Get_Tracer (This : access Output_T'Class) return Tracer_T'class is
begin
return Tracer_T'Class (Tracer_T'(Output => This));
end ;
function Get_Output (This : in Tracer_T) return access Output_T'Class is
begin
return This.Output;
... |
with Trendy_Test;
package Trendy_Terminal.Lines.Tests is
function All_Tests return Trendy_Test.Test_Group;
end Trendy_Terminal.Lines.Tests;
|
-- BinToAsc
-- Binary data to ASCII codecs
-- Copyright (c) 2015, James Humphry - see LICENSE file for details
with Ada.Characters.Handling;
package body BinToAsc is
use Ada.Characters.Handling;
function To_String (Input : in Bin_Array) return String is
C : Codec;
Buffer_Length : constant Integer... |
-- Copyright 2015-2017 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.
--
-- ... |
-----------------------------------------------------------------------
-- awa-events-dispatchers-tasks -- AWA Event Dispatchers
-- Copyright (C) 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 t... |
with Ada.Directories; use Ada.Directories;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Calendar.Formatting; use Ada.Calendar.Formatting;
procedure File_Time_Test is
begin
Put_Line (Image (Modification_Time ("file_time_test.adb")));
end File_Time_Test;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
-- The Village of Vampire by YT, このソースコードはNYSLです
with Web.HTML;
with Vampire.Villages.Text;
procedure Vampire.R3.Target_Page (
Output : not null access Ada.Streams.Root_Stream_Type'Class;
Form : in Forms.Root_Form_Type'Class;
Template : in String;
Village_Id : in Tabula.Villages.Village_Id;
Village : in Villages.V... |
-- Fuel Management System
with Ada.Text_IO;
with Ada.Strings.Maps;
with Ada.Strings.Fixed;
with Ada.Strings.Unbounded;
with Ada.Strings.Hash;
package body FMS is
package TIO renames Ada.Text_IO;
function to_dir(c : in Character) return Direction is
begin
case c is
when 'U' => return Up;
when 'D'... |
-- CA1108B.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... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-----------------------------------------------------------------------
-- awa-users-principals -- User principals
-- Copyright (C) 2011, 2012, 2013, 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_h;
with bits_types_u_mbstate_t_h;
package bits_types_u_fpos64_t_h is
-- The tag name of this struct is _G_fpos64_t to preserve historic
-- C++ mangled names for functions taking fpos_t and/or fpos64_t
-- argume... |
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 2018 - 2019 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) ... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with System;
with Glfw.Input.Mouse;
with Glfw.Input.Keys;
with Glfw.Monitors;
private with Ada.Finalization;
package Glfw.Windows is
type Window is tagged private;
type Window_Reference is not... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
-----------------------------------------------------------------------
-- atlas-server -- Application server
-- Copyright (C) 2011, 2012, 2013, 2016, 2017, 2018, 2019, 2020, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Lic... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.