CombinedText stringlengths 4 3.42M |
|---|
with Ada.Characters.Handling;
with Ada.Directories;
with Ada.Strings.Fixed;
with Ada.Tags;
with Ahven.Framework;
with Subtypes.Api;
package Test_Subtypes.Write is
package Skill renames Subtypes.Api;
use Subtypes;
use Subtypes.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure... |
with ada.text_io; use ada.text_io;
with NPC_PC; use NPC_PC;
with enemy_bst; use enemy_bst;
with list_lib; use list_lib;
package screen is
-------------------------------
-- Name: Jon Spohn
-- David Rogina
-- Screen Package specification
-------------------------------
type Map_Array is array... |
-- Copyright 2009-2016 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.
--
-- ... |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Object_Renaming_Declarations is
function Create
(Names : not null Program.Elements.Defining_Identifiers
... |
-- Copyright 2004-2020 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.
--
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- This spec has been automatically generated from STM32WL5x_CM0P.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.I2C is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR1_DNF_Field is ... |
package freetype_c.Pointers
is
type FT_UShort_Pointer is access all FT_UShort;
type FT_Int_Pointer is access all FT_Int;
type FT_UInt_Pointer is access all FT_UInt;
type FT_Long_Pointer is access all FT_Long;
type FT_ULong_Pointer is access all FT_ULong;
type FT_... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with Ada.Exceptions;
with System.Tasking.Protected_Objects.Entries;
package System.Tasking.Rendezvous is
-- required for accept statement by compiler (s-tasren.ads)
procedure Accept_Call (
E : Task_Entry_Index;
Uninterpreted... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Aspect_Specifications;
with Program.E... |
-- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.GPIO is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- MODER array element
su... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with
openGL.Geometry.lit_textured,
openGL.Primitive.indexed;
package body openGL.Model.box.lit_textured
is
---------
--- Forge
--
function new_Box (Size : in Vector_3;
Faces : in lit_textured.Faces) return View
is
Self : constant View := new Item;
begin
S... |
--
-- Copyright (C) 2015-2016 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.
--
-- ... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
package Glfw.Display.Modes is
type Mode is record
Width, Height : Natural;
Red_Bits, Green_Bits, Blue_Bits : Natural;
end record;
type Mode_List is array (Positive range <>) of Mo... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
-- Copyright 2012-2020 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.
--
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
-----------------------------------------------------------------------
-- awa-wikis-parsers -- Wiki parser
-- Copyright (C) 2011, 2012, 2013, 2014, 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
-- 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... |
-----------------------------------------------------------------------
-- util-systems-os -- Unix system operations
-- Copyright (C) 2011, 2012, 2014, 2015, 2016, 2017, 2018, 2019, 2021 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (t... |
with Ada.Numerics.Generic_Elementary_Functions;
with Ahven.Framework;
with Floats.Api;
package Test_Floats.Read is
use Floats;
use Floats.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Initialize (T : in out Test);
procedure Float;
procedure Double;
end Test_Floats.R... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with AdaBase.Interfaces.Driver;
with AdaBase.Statement.Base.PostgreSQL;
with AdaBase.Connection.Base.PostgreSQL;
with Ada.Containers.Vectors;
package AdaBase.Driver.Base.PostgreSQL is
package AID renames Ad... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-- AoC 2020, Day 13
with Ada.Text_IO;
with GNAT.String_Split;
use GNAT;
package body Day is
package TIO renames Ada.Text_IO;
function load_file(filename : in String) return Schedule is
file : TIO.File_Type;
earliest : Long_Long_Integer;
departs : Depart_Vectors.Vector := Empty_Vector;
offsets : De... |
with HAL; use HAL;
with System; use System;
pragma Warnings (Off, "* is an internal GNAT unit");
with System.BB.Parameters;
pragma Warnings (On, "* is an internal GNAT unit");
package body NXP.Device is
-- SYSCON : aliased SYSCON_Peripheral
-- with Import, Address => S_NS_Periph (SYSCON_Base)... |
--
-- 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 com.github.asyncmc.mojang.api.ada.model.Clients;
with com.github.asyncmc.mojang.api.ada.model.Models;
with Swagger;
with Util.Http.Clients.Curl;
with Ada.Text_IO;
with Ada.Command_Line;
with Ada.Calendar.Formatting;
with Ada.Exceptions;
procedure com.github.asyncmc.mojang.api.ada.model.Client is
use Ada.Text_I... |
with System.Address_To_Named_Access_Conversions;
with System.Growth;
with System.Zero_Terminated_Strings;
with C.grp;
with C.pwd;
package body System.Native_Credentials is
use type C.pwd.struct_passwd_ptr;
use type C.grp.struct_group_ptr;
use type C.signed_int;
-- use type C.sys.types.gid_t;
-- use type C.sy... |
with AUnit.Test_Cases;
package GStreamer.Rtsp.url.Tests is
use AUnit;
type Test_Case is new AUnit.Test_Cases.Test_Case with null record;
function Name (Test : Test_Case) return Message_String;
procedure Register_Tests (Test : in out Test_Case);
end GStreamer.Rtsp.url.Tests;
|
-- This spec has been automatically generated from cm0.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package Cortex_M_SVD.Debug is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- Debug Fault Status Register... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
--
-- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
-- ------------ EDIT NOTE ------------
-- This file was generated with openapi-generator. You can modify it to implement
-- the server. After you modify this file, you should add the following line
-... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
package body ACO.Protocols.Network_Management is
function Is_Allowed_Transition
(Current : ACO.States.State;
Next : ACO.States.State)
return Boolean
is
use ACO.States;
begin
case Current is
when Initializing =>
return Next = Pre_Operational;
wh... |
<?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="... |
-------------------------------------------------------------------------------
-- LSE -- L-System Editor
-- Author: Heziode
--
-- License:
-- MIT License
--
-- Copyright (c) 2018 Quentin Dauprat (Heziode) <Heziode@protonmail.com>
--
-- Permission is hereby granted, free of charge, to any person obtaining a
-- c... |
-- AD7001D1.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.
-- Unlimi... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces.C;
with xcb.xcb_setup_t;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_setup_iterator_t is
-- Item
--
type Item is record
data : access xcb.xcb_setup_t.Item;
the_rem : aliased Interfaces.C.int... |
--------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with League.Strings;
with League.String_Vectors;
package Meta.Classes is
type Capacity_Kind is
(Just_One,
Zero_Or_One,... |
------------------------------------------------------------------------------
-- --
-- J E W L . W I N 3 2 _ I N T E R F A C E --
-- --
... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
WITH TileADT, Text_IO;
USE TileADT, Text_IO;
PACKAGE BODY Display IS
--
-- Implementation of Display ADT for Mahjongg solitaire game
--
PROCEDURE SayTile(TheTile : Tile) IS
BEGIN
null;
END SayTile;
PROCEDURE ShowTile(TheTile : Tile) IS
-- Assumes : TheTile has a position and a value.
-- Uses : The... |
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 euler40 is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Streams.S... |
<?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/>
<cdfg class_id="1" tracking_level="1" version="0... |
<?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/>
<cdfg class_id="1" tracking_level="1" version="0... |
package body Rev with SPARK_Mode is
procedure Reve (S : in out String) is
Tmp: String := S;
begin
for I in S'Range loop
S(I) := Tmp(S'First + S'Last - I);
pragma Loop_Invariant (for all J in S'First .. I => S(J) = Tmp(S'First + S'Last - J));
end loop;
end Reve;
end Rev;
|
-- This spec has been automatically generated from STM32F411xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.SPI is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR1_CPHA_Field is STM32_SVD.Bi... |
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_00hello is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
String'Write (Text_Strea... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
with
mmi.Window.setup,
mmi.Applet.gui_world,
mmi.Forge,
mmi.World,
mmi.Camera,
Physics;
pragma Unreferenced (mmi.Window.setup);
procedure launch_Pong_Tute
--
-- Basic pong game.
--
is
use mmi.Applet,
mmi.Applet.gui_world,
mmi.Math;
--- Applet
--
the_Applet :... |
-- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Finnish is
pragma Style_Checks ("-mr");
pragma Warnings (Off, "*variable*is never read and never assigned*");
pragma Warnings (Off, "*mode could be*instead of*");
pragma Warnings (Off, "*formal parameter.*is not modified*");
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- net-interfaces-stm32 -- Ethernet driver for STM32F74x
-- Copyright (C) 2016, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not... |
-- 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.Text_IO, Ada.Containers.Generic_Array_Sort;
procedure Largest_Int_From_List is
function Img(N: Natural) return String is
S: String := Integer'Image(N);
begin
return S(S'First+1 .. S'Last); -- First character is ' '
end Img;
function Order(Left, Right: Natural) return Boolean is
... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- This spec has been automatically generated from STM32WL5x_CM4.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.ADC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- ISR_AWD array
type ... |
-------------------------------------------------------------------------------
-- 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
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUNTIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
package Problem_43 is
procedure Solve;
end Problem_43;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
--
-- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr>
-- - Ryad Benadjila
-- - Arnauld Michelizza
-- - Mathieu Renard
-- - Philippe Thierry
-- - Philippe Trebuchet
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
package Opt55 is
type Date is record
D : Float;
end record;
type Rec1 (Kind : Boolean := False) is record
case Kind is
when True => N : Natural;
when False => null;
end case;
end record;
type Rec2 (D : Positive) is record
R : Rec1;
D1 : D... |
-- This file is generated by SWIG. Please do not modify by hand.
--
with Interfaces.C;
with Interfaces.C;
with Interfaces.C.Pointers;
package xcb.xcb_pixmap_iterator_t is
-- Item
--
type Item is record
data : access xcb.xcb_pixmap_t;
the_rem : aliased Interfaces.C.int;
index : aliased... |
-------------------------------------------------------------------------
-- GL.Errors - error support sub - programs.
--
-- Copyright (c) Rod Kay 2007
-- AUSTRALIA
-- Permission granted to use this software, without any warranty,
-- for any purpose, provided this copyright note remains attached
-- ... |
package body signal is
protected body Handler is
entry Wait when Call_Count > 0 is
begin
Call_Count := Call_Count - 1;
end Wait;
procedure Handle is
begin
Call_Count := Call_Count + 1;
end Handle;
end Handler;
end signal; |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with MSPGD.GPIO.Pin;
with MSPGD.GPIO.Polled;
with MSPGD.Clock.Source;
with MSPGD.UART.Peripheral;
with MSPGD.SPI.Peripheral;
package HAL is
pragma Preelaborate;
generic package Pin renames MSPGD.GPIO.Pin;
generic package Pin_IRQ renames MSPGD.GPIO.Polled;
generic package USART renames MSPGD.UART.Pe... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Call_Statements is
function Create
(Called_Name : not null Program.Elements.Expressions
... |
generic
type ELEMENT is private;
package LIST_PACKAGE is
type LIST is private;
EMPTY_LIST : constant LIST;
procedure APPEND(L : in out LIST; E : in ELEMENT);
procedure REMOVE(L : in out LIST; E : out ELEMENT);
procedure CONS(E : in ELEMENT; L : in out LIST);
function FIRST(L : in LIST... |
with Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body GID.Decoding_PNG.Huffman is
procedure Build(t: out Huff_tree; descr: in Huff_descriptor) is
curr, alloc: Natural;
code, mask: Unsigned_32;
begin
alloc:= root;
for i in descr'Range loop
if descr(i).length > 0 then
... |
-- Standard Ada library specification
-- Copyright (c) 2003-2018 Maxim Reznik <reznikmm@gmail.com>
-- Copyright (c) 2004-2016 AXE Consultants
-- Copyright (c) 2004, 2005, 2006 Ada-Europe
-- Copyright (c) 2000 The MITRE Corporation, Inc.
-- Copyright (c) 1992, 1993, 1994, 1995 Intermetrics, Inc.
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- css-analysis-rules -- CSS Analysis Rules
-- 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 file exce... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Ada.Real_Time;
with XAda.Dispatching.TTS;
generic
with package TTS is new XAda.Dispatching.TTS(<>);
package TT_Patterns is
type Task_State is abstract tagged record
Release_Time: Ada.Real_Time.Time := Ada.Real_Time.Time_First;
Work_Id : TTS.TT_Work_Id;
Sync_Id : TTS.TT_Sync_Id;
end re... |
<?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="... |
with
gel.World,
openGL.Surface,
openGL.Camera;
package gel.Camera
--
-- Models a camera.
--
is
type Item is new openGL.Camera.item with private;
type View is access all Camera.item'Class;
type Views is array (Positive range <>) of View;
---------
-- Forge
--
procedure free ... |
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with League.String_Vectors;
with League.Strings;
with Network.Addresses;
with Network.Connections;
with Network.Connection_Promises;
with Network.Polls;
p... |
-- CE2102K.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... |
-------------------------------------------------------------------------------
-- Copyright (c) 2019, Daniel King
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
-- * Redistributions of s... |
package body Semantica is
procedure Abuit
(P : out Pnode) is
begin
P := null;
end Abuit;
procedure Creanode_Programa
(P : out Atribut;
A : in Atribut) is
begin
P := A;
Arbre := P.A;
end Creanode_Programa;
procedure Creanode
(P : out Atribut;
Fe, Fd ... |
--
-- Copyright 2021 (C) Holger Rodriguez
--
-- SPDX-License-Identifier: BSD-3-Clause
--
-- private with Edc_Client.Alpha.Common;
private with Edc_Client.Alpha.Common;
package body Edc_Client.Alpha.Block1 is
Block : constant Character := '1';
----------------------------------------------------------------... |
with
openGL.FontImpl,
openGL.Texture,
openGL.GlyphImpl.texture,
freetype_c.FT_GlyphSlot,
ada.Containers.Vectors;
private
with
GL;
package openGL.FontImpl.texture
--
-- Implements a texture font.
--
is
type Item is new FontImpl.item with private;
type View is access all Item'Clas... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Defining_Names;
with Program.Elements.Parameter_Specifications;
with Program.Elem... |
-- { dg-do compile }
-- { dg-options "-O" }
with Unchecked_Conversion;
with System; use System;
with Opt58_Pkg; use Opt58_Pkg;
procedure Opt58 is
function Convert is new Unchecked_Conversion (Integer, Rec);
Dword : Integer := 0;
I : Small_Int := F1 (Convert (Dword));
begin
if F2 (Null_Address, I = 0) t... |
separate (Numerics.Sparse_Matrices)
function Has_Same_Dimensions (Left, Right : in Sparse_Matrix) return Boolean is
begin
if Left.N_Row /= Right.N_Row or else Left.N_Col /= Right.N_Col then
return False;
end if;
return True;
end Has_Same_Dimensions;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
with System;
with Interfaces.C.Extensions;
package Lv.Anim is
type Path_T is access function (Arg1 : System.Address) return Int32_T;
pragma Convention (C, Path_T);
type Fp_T is access procedure (Arg1 : System.Address; Arg2 : Int32_T);
pragma Convention (C, Fp_T);
type Cb_T is access procedure (Arg1 :... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.