content stringlengths 23 1.05M |
|---|
with MSP430_SVD.USCI_A0_SPI_MODE; use MSP430_SVD.USCI_A0_SPI_MODE;
with MSP430_SVD.USCI_B0_SPI_MODE; use MSP430_SVD.USCI_B0_SPI_MODE;
with MSP430_SVD.SPECIAL_FUNCTION; use MSP430_SVD.SPECIAL_FUNCTION;
package body MSPGD.SPI.Peripheral is
procedure Init is
use MSPGD.Clock;
Baud_Rate_Div : constant UInt3... |
-- 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 Statistics.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Statistics.Test_Data
.Test with
... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
package SPARKNaCl.Debug
with SPARK_Mode => On
is
-- as per Boolean'Image (B) but does not violate the
-- No_Enumeration_Maps restriction
function Img (B : in Boolean) return String is
(if B then "TRUE" else "FALSE");
procedure DH (S : in String; D : in Byte_Seq);
procedure DH (S : in String;... |
-- { dg-do compile }
with Pack10_Pkg; use Pack10_Pkg;
package Pack10 is
type Boolean_Vector is array (Positive range <>) of Boolean;
type Packed_Boolean_Vector is new Boolean_Vector;
pragma Pack (Packed_Boolean_Vector);
procedure My_Proc is new Proc (Packed_Boolean_Vector);
end Pack10;
|
package discriminant_specification is
type Buffer(Size : Integer := 100) is
record
Pos : Integer := 0;
Value : String(1 .. Size);
end record;
end discriminant_specification;
|
-- 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... |
-----------------------------------------------------------------------
-- el -- Evaluate an EL expression
-- Copyright (C) 2009, 2010 Free Software Foundation, Inc.
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- This file is part of ASF.
--
-- This program is free software; you can redistr... |
-----------------------------------------------------------------------
-- servlet-servlets-mappers -- Read servlet configuration files
-- Copyright (C) 2011, 2015, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
--... |
with mundo, Ada.Text_IO;
use mundo, Ada.Text_IO;
procedure mundo_aspiradora_main is
m : t_mundo;
c : Character;
begin
m.inicializar_mundo;
for i in 1 .. 20 loop
Put ("ITERACION ");
Put_Line (Integer'Image (i));
m.ejecutar_iteracion;
New_Line;
end loop;
Put_Li... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
package TLSF.Proof.Test.Util with SPARK_Mode is
procedure Test_Util;
end TLSF.Proof.Test.Util;
|
with Ada.Numerics;
with Math_2D.Types;
generic
with package Types is new Math_2D.Types (<>);
package Math_2D.Trigonometry is
use type Types.Real_Type'Base;
type Degrees_t is new Types.Real_Type'Base range 0.0 .. 360.0;
type Radians_t is new Types.Real_Type'Base range 0.0 .. 360.0 * (Ada.Numerics.Pi / 180.0)... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2012 Felix Krause <contact@flyx.org>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licen... |
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.NVIC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- IPR_IPR_N array element
subtype IPR_... |
------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
pragma License (Unrestricted);
-- extended unit
private with System.Native_Text_IO;
package Ada.Text_IO.Terminal is
-- Additional terminal handling subprograms.
function Is_Terminal (
File : File_Type) -- Open_File_Type
return Boolean;
pragma Inline (Is_Terminal);
-- size of screen buffer a... |
-----------------------------------------------------------------------
-- awa-blogs-module -- Blog and post management module
-- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2017, 2018, 2019, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Vers... |
-- 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... |
with Ada.Text_Io; use Ada.Text_IO;
package body Shapes.Circles is
-----------
-- Print --
-----------
procedure Print (Item : Circle) is
begin
Put_line("Circle");
end Print;
----------
-- Setx --
----------
function Setx (Item : Circle; Val : Integer) return Circle is
begin
... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.UTF_Encoding.Wide_Wide_Strings;
with GNAT.IO; use GNAT.IO;
package body Yeison_Single is
------------
-- To_Int --
------------
function To_Int (Img : String) return Any is
begin
return To_Holder (Inner_Int'(Value => Intege... |
package DDS.Request_Reply.connext_c_log is
type RTILogMessage is private;
type RTILogBitmap is private;
--
-- #define SUBMODULE_XMQ_DUMMY (0 << 10)
-- #define SUBMODULE_XMQ_REQUESTREPLY (1 << 10)
SUBMODULE_XMQ_DUMMY : constant := 0;
SUBMODULE_XMQ_REQUESTREP... |
--
-- 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 Unchecked_Conversion;
package Loop_Optimization18_Pkg is
type Arr is array (Integer range <>) of Natural;
type Rec (UB : Integer) is record
L : Arr (1 .. UB);
end record;
type Byte_Array_Type is new String (1..4);
function Conv is new Unchecked_Conversion (Byte_Array_Type, Integer);
end ... |
procedure Goto_Test is
begin
Stuff;
goto The_Mother_Ship; -- You can do this if you really must!
Stuff;
if condition then
Stuff;
<<Jail>>
Stuff;
end if;
Stuff;
-- Ada does not permit any of the following
goto Jail;
goto The_Sewer;
goto The_Morgue;
Stuff;
case condit... |
-- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
--
-- Authors: Emanuel Regnath (emanuel.regnath@tum.de)
with HIL.Devices;
-- @summary
-- Target-independent specification for HIL of UART
package HIL.UART with
Spark_Mode
is
BUFFER_MAX :... |
with Numworks.Keyboard; use Numworks.Keyboard;
package body Keyboard is
------------
-- Update --
------------
procedure Update is
begin
Numworks.Keyboard.Scan;
end Update;
-------------
-- Pressed --
-------------
function Pressed (Key : Key_Kind) return Boolean is
begin
... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
procedure P(X: in out Integer) is begin new_line; end;
type r is record a: integer; end record;
function f return access r is begin return new r; end;
begin
P(f.a);
end;
|
------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
-- -*- Mode: Ada -*-
-- Filename : ether-requests.ads
-- Description : Interface to the request objects.
-- Author : Luke A. Guest
-- Created On : Sun Jul 4 19:11:27 2010
with Ada.Strings.Hash;
with Ada.Containers.Indefinite_Hashed_Maps;
with Ada.Strings.Unboun... |
-----------------------------------------------------------------------
-- awa-settings-modules -- Module awa-settings
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file e... |
with Ada.Strings.Fixed; use Ada.Strings.Fixed;
with AUnit.Assertions; use AUnit.Assertions;
with Rejuvenation.String_Utils; use Rejuvenation.String_Utils;
package body Test_String_Utils is
Prefix : constant String := "Prefix";
New_Prefix : constant String := "New_Prefix";
Remainder : co... |
with Commands; use Commands;
with Ada.Unchecked_Deallocation;
package body Algorithm is
procedure Process (Self : in out Pong_Algorithm;
Port : in Serial_Port;
Sensors : in Sensor_Collection)
is
begin
case Self.State is
w... |
--
-- 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.
--
package body Configs is
function "<" ... |
-- Test Jacobi Eigendecomposition of real valued square matrices.
-- Uses Intel's 18 digit Real to estimate eigval err in 15 digit real,
-- so not very portable.
with Jacobi_Eigen;
with Test_Matrices;
with Text_IO; use Text_IO;
procedure jacobi_eigen_tst_2 is
type Index is range 1 .. 138;
-- the test matrix ... |
-- A string set is just a weaker form of regular expression. A string
-- set is a finite set of strings where each character belongs to a set.
--
-- A string set can be represented by a regex of the form
--
-- [...][...][...]
--
-- that is, as a concatenation of character sets.
--
-- This is convenient choice when yo... |
with ada.text_io, ada.integer_text_io;
use ada.text_io, ada.integer_text_io;
with ada.text_io, ada.integer_text_io;
use ada.text_io, ada.integer_text_io;
with divisores;
procedure prueba_divisores is
n1, divisor:integer:=0;
begin
-- caso de prueba 1:
n1:=4;
put("El resultado deberia de ser 1 2 4:");... |
with System;
with GMP.Z.Inside;
with C.string;
package body GMP.Q is
use type C.signed_int;
use type C.size_t;
procedure memcpy (dst, src : System.Address; n : C.size_t)
with Import, Convention => Intrinsic, External_Name => "__builtin_memcpy";
-- implementation
function Num (X : MP_Rational) return Z.MP_I... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test_Binomial is
function Binomial (N, K : Natural) return Natural is
Result : Natural := 1;
M : Natural;
begin
if N < K then
raise Constraint_Error;
end if;
if K > N/2 then -- Use symmetry
M := N - K;
else
... |
-----------------------------------------------------------------------
-- wiki-render-html -- Wiki HTML renderer
-- Copyright (C) 2011, 2012, 2013, 2014, 2015, 2016, 2018, 2019, 2020, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0... |
------------------------------------------------------------------------------
-- Copyright (c) 2014, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
package body Parent.Child is
function create return Domain_Member is
begin
return 0;
end create;
end Parent.Child;
|
generic
type Tipus_Element is private;
package pilas is
Memoria_Agotada : exception;
type Pila is limited private;
procedure Pila_Buida
(P : out Pila);
function Es_Buida
(P : Pila) return Boolean;
procedure Cim
(P : in Pila;
Element : out Tipus_Element);
procedure Empil... |
-- PACKAGE Extended_Real
--
-- package Extended_Real provides:
-- An arbitrary precision floating-point data type: e_Real.
--
-- Lower limit on precision is 28 decimals. No upper limit is
-- enforced. All internal arithmetic is done on 64-bit Integers,
-- so it's most efficient on 64-bit CPU's. The packa... |
--
-- 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.
--
with Ada.Text_IO;
with Ada.Strings.Unbound... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
pragma Eliminate (Subp_Elim_Errors, Proc);
package Subp_Elim_Errors is
procedure Proc;
end Subp_Elim_Errors;
|
with Ada.Text_Io; use Ada.Text_Io;
package body Shapes is
-----------
-- Print --
-----------
procedure Print (Item : in Point) is
begin
Put_line("Point");
end Print;
----------
-- Setx --
----------
function Setx (Item : in Point; Val : Integer) return Point is
begin
r... |
-- Lumen.Font.Txf -- Display textual information using texture-mapped fonts
--
-- Chip Richards, NiEstu, Phoenix AZ, Summer 2010
-- Credit for the design of the texfont mechanism belongs to Mark J. Kilgard,
-- who invented it while he was at SGI. His paper on the topic, and his
-- original source code, may be found ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- 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,... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Text_Codecs;
with Slim.Message_Visiters;
package body Slim.Messages.vers is
----------
-- Read --
----------
... |
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising f... |
package CUPS is
type Job_Id is new Natural;
Cups_Error : exception;
end CUPS;
|
pragma Ada_2012;
package body Protypo.Code_Trees.Interpreter.String_Interpolation_Handlers is
------------
-- Create --
------------
function Create (Interp : Interpreter_Access)
return Handlers.Function_Interface_Access
is
begin
return new String_Interpolator'(Status => In... |
-- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 Laurent Gomila (laurent.gom@gmail.com)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held li... |
pragma License (Unrestricted);
generic
type Index is (<>);
type Element is private;
type Element_Array is array (Index range <>) of aliased Element;
Default_Terminator : Element;
package Interfaces.C.Pointers is
-- pragma Preelaborate;
pragma Pure;
type Pointer is access all Element;
-- modified... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
pragma Warnings (Off);
pragma Style_Checks (Off);
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Strings.Fixed; use Ada.Strings, Ada.Strings.Fixed;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
-- with Ada.Characters.Handling; use Ada.Characte... |
package List is
pragma Elaborate_Body;
-- Create subprogram specs for adding to and removing from a list,
-- as well as return length of list and print the list
end List;
|
-- Copyright 2017-2019 Simon Symeonidis (psyomn)
--
-- 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 applicab... |
with Ada.Text_Io;
use Ada.Text_Io;
package body Qsort is
task body SortTask is
List : vector_ptr;
Kids : array(1..2) of Sort_access;
HalfIndex : Integer;
HalfIndex2 : Integer;
LLeft : vector_ptr;
LRight : vector_ptr;
begin
accept PortIn(ValIn : in vector_ptr) do
List := ValIn;
Put_Line(Integer... |
-----------------------------------------------------------------------
-- gen-artifacts-distribs-bundles -- Merge bundles for distribution artifact
-- Copyright (C) 2013, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
-- { dg-do compile }
package Small_Alignment is
type Int is range -512 .. 511;
for Int'Alignment use 1;
type R is record
I: Int;
end record;
Pragma Pack (R);
end Small_Alignment;
|
--
-- RTEMS / Specification
--
-- DESCRIPTION:
--
-- This package provides the interface to the RTEMS API.
--
-- DEPENDENCIES:
--
--
--
-- COPYRIGHT (c) 1997.
-- On-Line Applications Research Corporation (OAR).
--
-- The license and distribution terms for this file may in
-- the file LICENSE in this distributio... |
-- Práctica 4: César Borao Moratinos (Hash_Maps_G_Open.adb)
with Ada.Text_IO;
with Ada.Strings.Unbounded;
package body Hash_Maps_G is
package ASU renames Ada.Strings.Unbounded;
procedure Put (M: in out Map;
Key: Key_Type;
Value: Value_Type) is
Posi... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
with Ada.Text_IO;
procedure Test_Function is
function Palindrome (Text : String) return Boolean is
begin
for Offset in 0 .. Text'Length / 2 - 1 loop
if Text (Text'First + Offset) /= Text (Text'Last - Offset) then
return False;
end if;
end loop;
return True;
end... |
with p1; use p1;
package body p2 with SPARK_Mode is
procedure write_to_uart (msg : Byte_Array) with
Global => (Output => some_register)
is
begin
some_register := msg(1);
end;
procedure foo is
begin
write_to_uart(p1.toBytes (some_constant));
end foo;
end p2;
|
-- Copyright 2019 by Martin Moene
--
-- https://github.com/martinmoene/kalman-estimator-ada
--
-- Distributed under the Boost Software License, Version 1.0.
-- (See accompanying file LICENSE.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
with system.machine_code; use system.machine_code;
with interfaces; use int... |
with Ada.Text_IO; use Ada.Text_IO;
procedure Test is begin Put('a'); end; put('a');
|
with Memory.Container; use Memory.Container;
package Memory.Trace is
type Trace_Type is new Container_Type with private;
type Trace_Pointer is access all Trace_Type'Class;
function Create_Trace(mem : Memory_Pointer) return Trace_Pointer;
overriding
function Clone(mem : Trace_Type) return Memory_Poi... |
-----------------------------------------------------------------------
-- keystore -- Ada keystore
-- Copyright (C) 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance... |
--
-- Raytracer implementation in Ada
-- by John Perry (github: johnperry-math)
-- 2021
--
-- implementation for Objects that may appear in the scene
--
pragma Ada_2020;
-- Ada packages
with Ada.Numerics.Generic_Elementary_Functions;
-- local packages
with RayTracing_Constants; use RayTracing_Constants;
with RayTr... |
-- DECLS.ads
-- Paquet de declaracions
package decls is
pragma pure;
end decls;
|
with Agar.Core.Thin;
with Agar.Core.Data_Source;
with Interfaces;
package Agar.Core.Object is
subtype Object_Access_t is Thin.Object.Object_Access_t;
subtype Object_Not_Null_Access_t is Thin.Object.Object_Not_Null_Access_t;
subtype Object_Header_Access_t is Thin.Object.Object_Hea... |
with Giza.Colors; use Giza.Colors;
with Giza.Bitmap_Fonts.FreeMono12pt7b;
with Giza.Bitmap_Fonts.FreeMono18pt7b;
with Giza.Bitmap_Fonts.FreeMono24pt7b;
with Giza.Bitmap_Fonts.FreeMono32pt7b;
with Giza.Bitmap_Fonts.FreeMono8pt7b;
with Giza.Bitmap_Fonts.FreeMonoBold12pt7b;
with Giza.Bitmap_Fonts.FreeMonoBold18pt7b;
with... |
-- { dg-do compile }
package tag2 is
type I is synchronized interface;
type T1 is tagged;
type T2 is tagged;
type T3 is tagged;
type T4 is tagged;
type T5 is tagged;
type T6 is tagged;
protected type T1 is end T1; -- { dg-error "must be a tagged type" }
task type T2; -- { dg-e... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- awa-events-queues -- AWA Event Queues
-- Copyright (C) 2012, 2019, 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 this ... |
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 tictactoe is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams... |
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
package GStreamer.GST_Low_Level.gstreamer_0_10_gst_sdp_gstsdp_h is
-- GStreamer
-- * Copyright (C) <2005,2006> Wim Taymans <wim@fluendo.com>
-- *
-- * This library is free software; you can redistribute it... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
--***************************************************************
-- Procedure benchmarks FFT. 50000 calls to FFT and 50000 calls to
-- to the inverse FFT.
-- The FFT does 4N*ln(N) flops per call, where N=array length.
-- So 100000 FFT's do:
-- 1840*10**6 flops where N=512.
-- 4100*10**6 flops where N=1024.
--******... |
--Types
package Types is
pragma Elaborate_Body;
type Miles_T is digits 6;
-- Create types for at least two distance measurements (feet, meters, etc)
type Hours_T is digits 6;
-- Create types for at least two time measurements (seconds, minutes, etc)
-- Create "/" operator functions to divide distan... |
-- SPDX-FileCopyrightText: 2019-2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
--
-- Common type for Standard and full resolver
with Program.Element_Visitors;
with Program.Elements.Defining_Names;
with Program.Elements.Definition... |
with GESTE;
with GESTE.Tile_Bank;
with GESTE.Sprite.Rotated;
with GESTE_Config; use GESTE_Config;
with GESTE.Maths; use GESTE.Maths;
with GESTE.Physics;
with GESTE.Text;
with GESTE_Fonts.FreeMono6pt7b;
with Game_Assets.track_1;
with Game_Assets.Tileset;
with Interfaces; use Interfaces;
package body Playe... |
with VisitablePackage, ObjectPack;
use VisitablePackage, ObjectPack;
package body VisitableBuiltinPackage is
function makeVisitableBuiltinPackage(o: ObjectPtr) return VisitableBuiltin is
ret : VisitableBuiltin;
begin
ret.builtin := o;
return ret;
end;
function getBuiltin(v: VisitableBuiltin) return Objec... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
package body AdaM.program_Unit
is
procedure dummy is begin null; end dummy;
end AdaM.program_Unit;
|
with Ada.Interrupts;
with STM32.CAN;
with System;
package ACO.Drivers.Stm32f40x is
use STM32.CAN;
type CAN_Driver
(Device : not null access CAN_Controller)
is new Driver with private;
overriding
procedure Receive_Message_Blocking
(This : in out CAN_Driver;
Msg : out ACO.Messages.Me... |
with Basic_Test_Window; use Basic_Test_Window;
with Giza.Widget.Keyboards;
package Test_Keyboard_Window is
type Keyboard_Window is new Test_Window with private;
type Keyboard_Window_Ref is access all Keyboard_Window;
overriding
procedure On_Init (This : in out Keyboard_Window);
overriding
procedure ... |
with Irc.Bot;
with Irc.Commands;
with Irc.Message;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
with Ada.Characters.Latin_1; use Ada.Characters.Latin_1;
with Texaco;
with GNAT.Sockets;
package Pong_Bot is
Bot : Irc.Bot.Connection;
pr... |
-------------------------------------------------------------------------------
-- 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 Entities; use Entities;
with Worlds; use Worlds;
with Vectors2D; use Vectors2D;
with HAL.Bitmap; use HAL.Bitmap;
with Materials; use Materials;
with DemoLogic; use DemoLogic;
with Links; use Links;
package Renderer is
-- Displays the entities passed
procedure Render(W : in out World; Cue : VisualCue);
... |
with External; use External;
with Node; use Node;
with Logger;
with RandInt;
with Sender; use Sender;
with Receiver; use Receiver;
with EdgeRegistry; use EdgeRegistry;
with Plunderer; use Plunderer;
procedure Main is
package EDG renames EdgeRegistry;
n: Natural;
d: Natural;
b: Natural;
k: Natural... |
-- 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.