text stringlengths 4 1.04M |
|---|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package RP_SVD.SYSINFO is
pragma Preelaborat... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- gen-artifacts-distribs-copies -- Copy based distribution artifact
-- Copyright (C) 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License")... |
package Adventofcode.Day_18 is
end Adventofcode.Day_18;
|
Package Example is
function Hello(i: in Integer) return Integer;
end Example;
|
with STM32_SVD.TIM;
with STM32_SVD; use STM32_SVD;
package STM32GD.Timer is
type Timer_Callback_Type is access procedure;
type Timer_Type is (
Timer_1, Timer2, Timer_3, Timer_6, Timer_7, Timer_8,
Timer_15, Timer_16, Timer_17, Timer_20);
end STM32GD.Timer;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="14">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="... |
-- for SjLj
pragma Check_Policy (Trace => Ignore);
with System.Address_To_Constant_Access_Conversions;
separate (System.Unwind.Backtrace)
package body Separated is
pragma Suppress (All_Checks);
-- Note: In SjLj mode, Unwind_Backtrace does not work.
procedure main
with Import, Convention => C;
typ... |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="11">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with Interfaces; use Interfaces;
package avtas.lmcp.types is
-- C/C++ compatible integer types
type UInt16_t is new Interfaces.Unsigned_16;
type UInt32_t is new Interfaces.Unsigned_32;
type Int16_t is new Interfaces.Integer_16;
type Int32_t is new Interfaces.Integer_32;
type Int64_t is new Interf... |
with Ada.Text_IO;
use Ada.Text_IO;
package body mycalendar is
procedure makecal(w: in weekday; d: in daynum; m:in monthnum) is
today_weekday: weekday := w;
today_daynum: daynum := d;
today_monthnum: monthnum := m;
begin
-- print cal
Put_Line("Calendar for the next 30 days:");
for d in Integer range 1 .. 31... |
-- 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 ... |
-- ----------------------------------------------------------------- --
-- --
-- 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 ... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Parameter_Specifications;
with Program.Elements.Procedure_Access_Types;
with Program.Element_Visitors;
... |
package body AMPC is
use type C.int;
function Parse (Input : in String;
Parser : in Parsers_Ptr;
Result : in Results_Ptr;
Filename : in String := "<stdin>") return Boolean is
function Parse (Filename : in C.Strings.chars_ptr;
... |
with Memory.Transform.Flip; use Memory.Transform.Flip;
with Parser.Transform_Parser;
separate (Parser)
procedure Parse_Flip(parser : in out Parser_Type;
result : out Memory_Pointer) is
package Flip_Parser is new Transform_Parser(
T_Type => Flip_Type,
T_Pointer ... |
-- This spec has been automatically generated from STM32F072x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.I2C is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR1_PE_Field is STM32_SVD.Bit;
... |
-- 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... |
with impact.d3.collision.Algorithm,
impact.d3.Object;
with impact.d3.Dispatcher;
with impact.d3.Collision.Algorithm;
package impact.d3.Collision.create_Func
is
type Item is abstract tagged -- Used by the impact.d3.Dispatcher.collision to register and create instances for impact.d3.collision.Algorithm
... |
-----------------------------------------------------------------------
-- components-ajax-includes -- AJAX Include component
-- 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 this... |
package body Timeout is
procedure Start (Timeout_Time : out Time ; Duration : Time_Span) is
begin
Timeout_Time := Clock + Duration;
end Start;
function Timed_Out (Timeout_Time : Time) return Boolean is
begin
return Clock > Timeout_Time;
end Timed_Out;
end Timeout;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with Sort;
with Ada.Text_Io;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
procedure Sort_Test is
type Days is (Mon, Tue, Wed, Thu, Fri, Sat, Sun);
type Sales is array(Days range <>) of Float;
procedure Sort_Days is new Sort(Float, Days, Sales);
procedure Print(Item : Sales) is
begin
for I in It... |
PROCEDURE Tax IS
SUBTYPE NonNegFloat IS Float RANGE 0.0 .. Float'Last;
Tot_Tax : NonNegFloat;
Taxable_Income : Float;
BEGIN
Float (Tot_Tax) := Taxable_Income;
END TAX;
|
procedure TEST is
COLUMN_MAX : constant := 10;
ROW_MAX : constant := COLUMN_MAX;
type COLUMN_INDEX is range 1..COLUMN_MAX;
type ROW_INDEX is range 1..ROW_MAX;
type MATRIX is array(COLUMN_INDEX, ROW_INDEX) of INTEGER;
A : MATRIX;
I : INTEGER;
procedure INIT_MATRIX(X : in INTEGER; Y : out MATRIX) is
I, J ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
pragma License (Unrestricted);
-- Ada 2012
with System.Storage_Pools.Subpools;
procedure Ada.Unchecked_Deallocate_Subpool (
Subpool : in out System.Storage_Pools.Subpools.Subpool_Handle);
pragma Preelaborate (Ada.Unchecked_Deallocate_Subpool);
pragma Inline (Ada.Unchecked_Deallocate_Subpool);
|
-- 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,... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
package Giza.Bitmap_Fonts.FreeSans12pt7b is
Font : constant Giza.Font.Ref_Const;
private
FreeSans12pt7bBitmaps : aliased constant Font_Bitmap := (
16#FF#, 16#FF#, 16#FF#, 16#F0#, 16#F0#, 16#CF#, 16#3C#, 16#F3#, 16#8A#,
16#20#, 16#06#, 16#30#, 16#31#, 16#03#, 16#18#, 16#18#, 16#C7#, 16#FF#,
16#BF#, 16#FC#,... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
procedure Named_Block is
begin
TheBlock: declare
type IntArray is array(1..2) of Integer;
ia : IntArray := (others => 0);
begin
null;
end TheBlock;
end Named_Block;
|
with Ada.Containers; use Ada.Containers;
with Ada.Directories; use Ada.Directories;
with Blueprint; use Blueprint;
with AAA.Strings; use AAA.Strings;
with Ada.Command_Line;
with Templates_Parser;
with Filesystem;
with Commands;
package body Commands.Destroy is
-------------
-- Execute --
------------... |
with
Ada.Streams;
package AdaM.a_Type.ordinary_fixed_point_type
is
type Item is new a_Type.fixed_Type with private;
type View is access all Item'Class;
-- Forge
--
function new_Type (Name : in String := "") return ordinary_fixed_point_type.view;
overriding
procedure destruct (Self... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME 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,... |
-- 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... |
-- Changes
--
-- 11 - Nov - 2009 (GdM) : Unbounded_Stream.Write and .Set_Index are buffered
-- 18 - Jan - 2009 (GdM) : Fixed Read (Stream, Item .. .) which read
-- only 1st element of Item
-- with Ada.Strings.Unbounded.Text_IO; use Ada.Strings.Unbounded.Text_IO;
-- with Ada.Text_IO; -- use A... |
with Ada.Strings.Fixed;
with Ada.Integer_Text_IO;
-- Copyright 2021 Melwyn Francis Carlo
procedure A030 is
use Ada.Strings.Fixed;
use Ada.Integer_Text_IO;
Sum : Integer := 0;
Sum_Of_Powers : Integer := 0;
Num_len : Integer;
begin
for I in 2 .. 1_000_000 loop
Sum_Of_Power... |
No-one has translated the mdbroker example into Ada yet. Be the first to create
mdbroker in Ada and get one free Internet! If you're the author of the Ada
binding, this is a great way to get people to use 0MQ in Ada.
To submit a new translation email it to zeromq-dev@lists.zeromq.org. Please:
* Stick to identical ... |
-- { dg-do run }
with Init12; use Init12;
with Text_IO; use Text_IO;
with Dump;
procedure S12 is
A11 : Arr11 := My_A11;
A22 : Arr22 := My_A22;
A1 : Arr1;
A2 : Arr2;
C1 : Integer;
C2 : Integer;
C3 : Integer;
begin
Put ("A11 :");
Dump (A11'Address, Arr11'Max_Size_In_Storage_Elements);
New_Line;
... |
-- 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... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with swig;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_glx_query_context_reply_t is
-- Item
--
type Item is record
response_type : aliased Interfaces.Unsigned_8;
pad0 : aliased Interf... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
pragma Ada_2012;
package body GStreamer.rtsp.message is
--------------
-- Get_Type --
--------------
function Get_Type
(Msg : access GstRTSPMessage_Record)
return GstRTSPMsgType
is
begin
-- Generated stub: replace with real body!
pragma Compile_Time_Warning (Standard.True, "G... |
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,
... |
with
AdaM.Factory;
package body AdaM.Declaration.of_null_procedure
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (".adam-store",
"Declaration.of_null_procedures",
... |
with Ada.Unchecked_Deallocation;
package body Serialization.YAML is
use type Ada.Strings.Unbounded.String_Access;
use type Standard.YAML.Event_Type;
Null_String : aliased String := "";
procedure Free is
new Ada.Unchecked_Deallocation (Serializer, Serializer_Access);
procedure Free_And_Null (X : in out Ada.... |
--
-- 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 Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body LC is
procedure Free is
new Ada.Unchecked_Deallocation (Object => T_Cellule, Name => T_LC);
procedure Initialiser(Sda: out T_LC) is
begin
Sda := null;
end Initialiser;
function Est_Vide (Sda : T_LC) return Boolean... |
-- This spec has been automatically generated from STM32L0x1.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.SPI is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- control register 1
type CR1_Regis... |
with Lv.Style;
with System;
package Lv.Objx.Btnm is
subtype Instance is Obj_T;
Btnm_Ctrl_Code : constant := 16#80#;
Btnm_Ctrl_Mask : constant := 16#C0#;
Btnm_Width_Mask : constant := 16#07#;
Btnm_Hide_Mask : constant := 16#08#;
Btnm_Repeat_Disable_Mask : const... |
with
lace.make_Subject,
lace.make_Observer,
lace.Any,
lace.Subject,
lace.Observer;
private
with
ada.Strings.unbounded;
package lace.Subject_and_instant_Observer
--
-- Provides a concrete type for a combined event Subject and an instant Observer.
--
is
type Item is limited new lace.An... |
-- Copyright (c) 2020-2021 Bartek thindil Jasicki <thindil@laeran.pl>
--
-- 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 vers... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Interfaces; use Interfaces;
package P1 with SPARK_Mode is
type Byte_Array is array (Natural range <>) of Unsigned_8;
function toBytes(uint : Unsigned_16) return Byte_Array is
(1 => Unsigned_8( uint mod 2**8 ), 2 => Unsigned_8 ( uint / 2**8 ) );
end P1;
|
with Ada.Unchecked_Conversion;
package Tkmrpc.Response.Ike.Esa_Create_No_Pfs.Convert is
function To_Response is new Ada.Unchecked_Conversion (
Source => Esa_Create_No_Pfs.Response_Type,
Target => Response.Data_Type);
function From_Response is new Ada.Unchecked_Conversion (
Source => Response.... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
M:callback
S:Lcallback.aligned_alloc$size$1$101({2}SI:U),B,1,-4
S:Lcallback.aligned_alloc$alignment$1$101({2}SI:U),B,1,1
F:G$USBD_ResetCb$0$0({2}DF,SV:S),Z,0,0,0,0,0
F:G$USBD_DeviceStateChangeCb$0$0({2}DF,SV:S),Z,0,0,0,0,0
S:Lcallback.USBD_DeviceStateChangeCb$newState$1$133({1}SC:U),B,1,-3
S:Lcallback.USBD_DeviceStateC... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- Auto generated file. Don't edit
-- Read copyright and license at the end of this file
package body Encodings.Maps.CP_856 is
Forward : Forward_Map (Character'Val(16#80#) .. Character'Last) :=
(Wide_Character'Val( 16#5D0#),
Wide_Character'Val( 16#5D1#),
Wide_Character'Val( 16#5D2#),
Wid... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="15">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="... |
--::::::::::
--io_libs.ada
--::::::::::
-- Precompiled instantiations of Integer_IO and
-- Float_IO for the predefined Integer and Float types
WITH Text_IO;
PACKAGE My_Int_IO IS
NEW Text_IO.Integer_IO (Num => Integer);
WITH Text_IO;
PACKAGE My_Flt_IO IS
NEW Text_IO.Float_IO (Num => Float);
--::::::::::
--rand... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Private_Type_Definitions is
function Create
(Abstract_Token : Program.Lexical_Elements.Lexical_Elem... |
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE boost_serialization>
<boost_serialization signature="serialization::archive" version="15">
<syndb class_id="0" tracking_level="0" version="0">
<userIPLatency>-1</userIPLatency>
<userIPName></userIPName>
<cdfg class_id="1" tracking_level="1" version="... |
with Ada.Text_IO;
package body Problem_54 is
package IO renames Ada.Text_IO;
procedure Solve is
type Faces is (Low_Ace, Two, Three, Four, Five, Six, Seven, Eight, Nine, Ten, Jack, Queen, King, Ace, Out_of_Range);
pragma Unreferenced (Out_of_Range);
type Suits is (Clubs, Diamonds, Spades, Hearts... |
-- ////////////////////////////////////////////////////////////
-- //
-- // 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... |
-- C47005A.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... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
-- The MIT License (MIT)
-- Copyright (c) 2015 Pavel Zhukov <landgraf@fedoraproject.org>
-- 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 limit... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- 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 Bases.Test_Data.Tests is
type Test is new GNATtest_Generated.GNATtest_Standard.Bases.Test_Data
.Test with
null re... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO, Ada.Directories, Ada.Containers.Indefinite_Vectors;
procedure Directory_List is
use Ada.Directories, Ada.Text_IO;
Search: Search_Type; Found: Directory_Entry_Type;
package SV is new Ada.Containers.Indefinite_Vectors(Natural, String);
Result: SV.Vector;
package Sorting is new SV.Generi... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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... |
-- Copyright 2019 Michael Casadevall <michael@casadevall.pro>
--
-- 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, cop... |
-- Reading from multiple sockets
-- This version uses zmq_poll()
with Ada.Command_Line;
with Ada.Text_IO;
with GNAT.Formatted_String;
with Ada.Calendar;
with ZMQ;
procedure MSPoller is
use type Ada.Calendar.Time;
use type GNAT.Formatted_String.Formatted_String;
function Main return Ada.Command_Line.Exit... |
-----------------------------------------------------------------------
-- babel-streams-files -- Local file stream management
-- Copyright (C) 2014, 2015, 2016 Stephane.Carrez
-- Written by Stephane.Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... |
-- Copyright 2017-2021 Bartek thindil Jasicki
--
-- This file is part of Steam Sky.
--
-- Steam Sky is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (a... |
-- Abstract :
--
-- Generic Emacs background process; parse token stream, return
-- parser actions.
--
-- See gen_run_wisi_parse.ads for a standalone version.
--
-- References : see gen_emacs_wisi_lr_parse.ads
--
-- Copyright (C) 2017, 2018, 2019 Free Software Foundation, Inc.
--
-- This program is free software... |
with GESTE;
with Interfaces; use Interfaces;
generic
Width : Natural;
Height : Natural;
Pixel_Scale : Natural;
Buffer_Size : Positive;
package SDL_Display is
Screen_Rect : constant GESTE.Pix_Rect := ((0, 0), (Width - 1, Height - 1));
Buffer : GESTE.Output_Buffer (1 .. Buffer_Size);
proced... |
with AdaBase;
with Connect;
with CommonText;
with Ada.Text_IO;
with AdaBase.Results.Sets;
procedure Bad_Select is
package CON renames Connect;
package TIO renames Ada.Text_IO;
package ARS renames AdaBase.Results.Sets;
package CT renames CommonText;
row : ARS.Datarow;
sql : String := "SELECT fruit,... |
with datos;
use datos;
procedure Desplazar_Una_Posicion_A_La_Derecha (L : in out Lista_Enteros; PosActual, Pos : in Integer) is
--Pre: Pos indica una posicion de L (entre 1 y L.Cont + 1)
--Post: se han desplazado una posicion a la derecha todos los
-- elementos de L, empezando por Pos hasta L.Cont... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces;
with swig;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_glx_pbuffer_clobber_event_t is
-- Item
--
type Item is record
response_type : aliased Interfaces.Unsigned_8;
pad0 : aliased Inte... |
package Giza.Hershey_Fonts.Meteorology is
Font : constant Giza.Font.Ref_Const;
private
Glyph_0 : aliased constant Glyph :=
(Number_Of_Vectors => 0,
Width => 16,
Height => 0,
Y_Offset => 0,
X_Offset => -8,
Vects => (others => (Raise_Pen)));
Glyph_1 : aliased constant Glyph :=
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.