content stringlengths 23 1.05M |
|---|
with AUnit.Test_Suites;
package GStreamer.tests.Rtsp_Suit is
function Suit return AUnit.Test_Suites.Access_Test_Suite;
end GStreamer.tests.Rtsp_Suit;
|
-- 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;
-- Controls the crystal oscillator
package RP_... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
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;
|
with Ada.Interrupts.Names;
with System;
package EVB1000.USB
with SPARK_Mode => On
is
Driver_Priority : constant System.Interrupt_Priority := System.Interrupt_Priority'First;
-- By default, use lowest interrupt priority.
-- Any interrupt priority value can be used, though.
Rx_Buffer_Size : constant... |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Calendar.Formatting;
with Ada.Text_IO;
with Coroutines.Timeouts;
procedure Timeout_Proc is
begin
Ada.Text_IO.Put_Line
... |
pragma Ada_2012;
with Ada.Strings.Fixed;
with Ada.Text_Io; use Ada.Text_Io;
package body Protypo.Code_Trees is
function To_Expression_Vector (X : Tree_Array;
Void_Accepted : Boolean := False)
return Node_Vectors.Vector;
function ... |
-----------------------------------------------------------------------
-- package body Predictor_2, 20th order Predictor-Corrector
-- Copyright (C) 2008-2018 Jonathan S. Parker.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided th... |
pragma License (Unrestricted);
with Ada.Characters.Conversions;
with Ada.Strings.Generic_Hash;
function Ada.Strings.Wide_Wide_Hash is
new Generic_Hash (
Wide_Wide_Character,
Wide_Wide_String,
Characters.Conversions.Get);
pragma Pure (Ada.Strings.Wide_Wide_Hash);
|
-- C37211E.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... |
-- auto generated - do not edit
package PGAda.Errors is
pragma Preelaborate;
type Error_Value_t is (
Successful_Completion,
Warning,
Warn_Dynamic_Result_Sets_Returned,
Warn_Implicit_Zero_Bit_Padding,
Warn_Null_Value_Eliminated_In_Set_Function,
Warn_Privilege_Not_Granted,
Warn_Privilege... |
package Discr34_Pkg is
function N return Natural;
type Enum is (One, Two);
type Rec (D : Enum := One) is record
case D is
when One => S : String (1 .. N);
when Two => null;
end case;
end record;
function F return Rec;
end Discr34_Pkg;
|
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
with Ada.Assertions,
Apsepp.Debug_Trace,
Apsepp.Debug_Trace_Class.Standard,
Apsepp.Generic_Shared_Instance.Access_Setter,
Apsepp.Test_Node_Class.Abstract_Simu_Case,
Apsepp.Test_Node_Class.... |
-------------------------------------------------------------------------------
-- 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, in... |
with System;
with Ada.Unchecked_Conversion;
-- =============================================================================
-- Package AVR.USART
--
-- Implements Universal Asynchronous Receiver/Transmitter (UART) communication
-- for the MCU micro-controller.
-- =======================================================... |
with TEXT_IO; use TEXT_IO;
with Strings_Package; use Strings_Package;
with LATIN_FILE_NAMES; use LATIN_FILE_NAMES;
with CONFIG;
with WORD_PARAMETERS; use WORD_PARAMETERS;
with Inflections_Package; use Inflections_Package;
with Dictionary_Package; use Dictionary_Package;
with DEVELOPER_PARAMETER... |
------------------------------------------------------------------------------
-- philosophers.adb
--
-- Implementation of the philosophers.
------------------------------------------------------------------------------
with Randoms, Meals, Chopsticks, Host, Orders, Reporter, Waiters;
use Randoms, Meals, Chopst... |
-----------------------------------------------------------------------
-- bean - A simple bean example
-- Copyright (C) 2009, 2010 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 ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Plugin.Base; use Plugin.Base;
with Plugin.URL; use Plugin.URL;
with IRC;
package Plugin_Management
is
type Callback is access procedure (Message : IRC.Message);
type Plugins is (Say, Title, Join, Leave, Nick);
Callbacks : cons... |
-----------------------------------------------------------------------
-- util-serialize-io -- IO Drivers for serialization
-- Copyright (C) 2010, 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... |
with Ada.Containers.Vectors,
Ada.Containers.Bounded_Hashed_Maps,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Text_IO;
use Utils;
package Integer_Vectors is new Ada.Containers.Vectors (Natural, Integer);
use Integer_Vectors;
subtype Hegih... |
-- package Quadrature
--
-- The equation is dY/dt = F (t).
-- The solution is just the area under the curve - quadrature.
-- F(t) is input as a generic formal function called Integrand.
--
-- If you want (d/dt)**N Y = F(t), then N is written as
--
-- N = Order_of_Equation
--
-- Then the integrated Y(0) is solution ... |
-- Abstract :
--
-- See spec.
--
-- Copyright (C) 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) any lat... |
with Ada.Text_IO; use Ada.Text_IO;
with Employee;
procedure Main is
function Read
(Prompt : String)
return String is
begin
Put (Prompt & "> ");
return Get_Line;
end Read;
function Read_Date
(Prompt : String)
return String is (Read (Prompt & " (YYYY-MM-DD)"));
Applicant ... |
package Sub_Derived_Types is
subtype smallSub is Integer range -10 .. 10;
type smallDerived is new Integer range -10 .. 10;
type smallRange is range -10 .. 10;
subtype bigSub is Integer;
type bigDerived is new Integer;
type bigRange is range -2**10 .. 2**10;
end Sub_Derived_Types;
|
-- { dg-do compile }
pragma Restrictions (No_Default_Initialization);
package Array_No_Def_Init is
type Int_Array is array (Natural range <>) of Integer;
IA : Int_Array (1 .. 10);
end Array_No_Def_Init;
|
with NXP.GPIO; use NXP.GPIO;
with NXP_SVD; use NXP_SVD;
with NXP_SVD.SYSCON; use NXP_SVD.SYSCON;
with NXP_SVD.IOCON; use NXP_SVD.IOCON;
with System;
package NXP.Device is
pragma Elaborate_Body;
Unknown_Port : exception;
procedure Enable_Clock (This : aliased in out GPIO_Port; Port : Ports);
... |
with Extraction.Graph_Operations;
private package Extraction.File_System is
procedure Extract_Nodes
(Directory : VFS.Virtual_File;
Graph : Graph_Operations.Graph_Context);
procedure Extract_Edges
(Directory : VFS.Virtual_File;
Graph : Graph_Operations.Graph_Context);
end Extracti... |
-- 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... |
-- 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,... |
-- { dg-do compile }
-- { dg-options "-flto" { target lto } }
package body Lto4 is
procedure SS_Allocate (Stack : Stack_Ptr) is
Chunk : Chunk_Ptr := Stack.Current_Chunk;
begin
Chunk := new Chunk_Id (First => Chunk.Last, Last => Chunk.Last);
end;
end Lto4;
|
with
Ahven.Framework;
package JSA.Tests is
function Suite return Ahven.Framework.Test_Suite;
end JSA.Tests;
|
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
package body Logic is
function Sum(T: Table) return Natural is
Result: Natural := 0;
begin
for I in T'Range loop
if T(I) then
Result := Result + 1;
end if;
end loop;
return Result;
end Sum;
function Half(T: Table; Which: Even_Odd) return Table is
... |
-- with
-- glx.Pointers;
with
OSMesa_C.Binding,
System;
package body openGL.Context
is
procedure define (Self : in out Item; the_Display : access openGL.Display.item'Class;
the_surface_Profile : in openGL.surface_Profile.item'Class)
is
... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
with TEXT_IO; use TEXT_IO;
with TASK_CONTROL;
use TASK_CONTROL;
procedure AB is
task A;
task B;
task C;
task D;
-- --
-- End of type declairations. --
-- --
task body A is
begin
delay(0.01);
loop
PUT("A");
... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Lv.Area;
with Lv.Style;
with Lv.Color; use Lv.Color;
package Lv.Objx is
type Obj_T is new System.Address;
No_Obj : constant Obj_T := Obj_T (System.Null_Address);
Anim_In : constant := 16#00#;
Anim_Out : constant := 16#80#;
Anim_Dir_Mask : constant := 16#80#;
Lv_Max_Ancestor_Num : ... |
with Ada.Unchecked_Conversion;
with Ada.Unchecked_Deallocation;
package body Ada.Containers.Access_Holders is
use type Weak_Access_Holders.Data_Access;
subtype Nonnull_Data_Access is not null Data_Access;
function Upcast is
new Unchecked_Conversion (
Nonnull_Data_Access,
System.Refere... |
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_... |
with Ada.Text_IO;
package body Sets.IO is
procedure Put (Set : in Set_Type) is
use Ada.Text_IO;
begin
if Set = Null_Set then
Put ("<null>");
else
for Bit of Set.all loop
if Bit then
Put ("1");
else
Put (" ");
... |
with Ada.Numerics.Generic_Real_Arrays;
generic
with package Matrix is new Ada.Numerics.Generic_Real_Arrays (<>);
package Decomposition is
-- decompose a square matrix A by PA = LU
procedure Decompose (A : Matrix.Real_Matrix; P, L, U : out Matrix.Real_Matrix);
end Decomposition;
|
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Text_IO.Unbounded_IO; use Ada.Text_IO.Unbounded_IO;
-- Exemple d'utilisation des Unbonded_String
procedure Exemple_Unbounded_String is
Chaine:... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
---------------------------------------------------------------------------------
-- Copyright 2004-2005 © Luke A. Guest
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
------------------------------------------------------------... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Strings,
Ada.Strings.UTF_Encoding,
Ada.Strings.UTF_Encoding.Wide_Strings,
Ada.Wide_Text_IO;
use Ada.Strings.UTF_Encoding;
package body Password_Encode is
--
--
package body Base64 is
--
procedure Decode(Source : in String;
Target : out Byte... |
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Exponentiations;
package System.Exp_Int is
pragma Pure;
-- required for "**" with checking by compiler (s-expint.ads)
function Exp_Integer is new Exponentiations.Generic_Exp_Integer (Integer);
end System.Exp_Int;
|
with Ada.Text_IO;
use Ada.Text_IO;
package body Clases is
function Dame_Alumno
(Num : in Num_Alumno;
La_Clase : in Clase)
return Alumnos.Alumno
is
begin
return La_Clase.Alumnos(Num);
end Dame_Alumno;
procedure Inserta_Alumno
(Alu : in Alumnos.Alumno; La_Clase : in out Clase)
is
begin
La_Clase.Num:=La_Clase.Num+1... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO, Ada.Integer_Text_IO;
use Ada.Text_IO, Ada.Integer_Text_IO;
package body display is
function "=" (L, R : pixelType) return Boolean is
begin
null;
--do compare
return (L.char = R.char);
end "=";
procedure setPixel(X,Y : Integer; char : character; color : colorType := colorDefault) is
beg... |
with Ada.Text_IO; use Ada.Text_IO;
procedure practice is
begin
null;
end practice;
|
with Ada.Text_IO, tools;
use Ada.Text_IO;
package body Garden_Pkg is
package Position_Generator is new tools.Random_Generator(Position);
function GetRandPos return Position is
begin
return Position_Generator.GetRandom;
end GetRandPos;
function GetField(pos : Position) return Boolean is
begin
ret... |
-- C83027C.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... |
-----------------------------------------------------------------------
-- awa-counters --
-- Copyright (C) 2015, 2018, 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complia... |
-- Take advantage of the DMA2D to accelerate some graphical operations on
-- bitmap surfaces
with System;
with HAL.Bitmap;
package STM32.DMA2D_Bitmap is
type DMA2D_Bitmap_Buffer is new HAL.Bitmap.Bitmap_Buffer with null record;
overriding procedure Set_Pixel
(Buffer : DMA2D_Bitmap_Buffer;
X ... |
------------------------------------------------------------------------------
-- --
-- Command Line Interface Toolkit --
-- --
-- -... |
with System.Interrupt_Handlers;
with System.Interrupt_Numbers;
with System.Native_Interrupts.Vector;
package body Ada.Interrupts is
function Is_Reserved (Interrupt : Interrupt_Id) return Boolean is
begin
return System.Interrupt_Numbers.Is_Reserved (
System.Native_Interrupts.Interrupt_Id (Interrupt... |
with impact.d3.Scalar,
impact.d3.Vector;
package body impact.d3.Quaternions
is
function to_Quaternion (x, y, z, w : in Real) return Quaternion
is
begin
return (x, (y, z, w));
end to_Quaternion;
function to_Quaternion (Axis : in Vector_3; Angle : in Real) return Quaternion
is
... |
package GESTE_Fonts.FreeMonoBold5pt7b is
Font : constant Bitmap_Font_Ref;
private
FreeMonoBold5pt7bBitmaps : aliased constant Font_Bitmap := (
16#00#, 16#00#, 16#0C#, 16#30#, 16#C3#, 16#00#, 16#30#, 16#00#, 16#00#,
16#00#, 16#1E#, 16#51#, 16#40#, 16#00#, 16#00#, 16#00#, 16#00#, 16#02#,
16#8A#, 16#78#, 16#... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Strings.Fixed;
package body AdaBase.Driver.Base.Firebird is
package ASF renames Ada.Strings.Fixed;
---------------
-- execute --
---------------
overriding
function execute (drive... |
-- { dg-do run }
with Init12; use Init12;
with Text_IO; use Text_IO;
with Dump;
procedure P12 is
Local_A1 : Arr1;
Local_A11 : Arr11;
Local_A2 : Arr2;
Local_A22 : Arr22;
begin
Put ("My_A1 :");
Dump (My_A1'Address, Arr1'Max_Size_In_Storage_Elements);
New_Line;
-- { dg-output "My_A1 : 12 00 a... |
--------------------------------------------------------------------------------
-- Copyright (c) 2013, Felix Krause <contact@flyx.org>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- copyright notice and this pe... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Unchecked_Deallocation;
package body ABR is
procedure Free is
new Ada.Unchecked_Deallocation (Object => T_Noeud, Name => T_ABR);
procedure Initialiser(Abr: out T_ABR) is
begin
Abr := Null;
end Initialiser;
function Est_Vide (Abr : T_Abr) return Boole... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2016, AdaCore --
-- --
-- ... |
-- Implantation du module Piles.
with Ada.Unchecked_Deallocation;
with Ada.Text_IO; use Ada.Text_IO;
--// Ce module est nécessaire parce qu'on a ajouté le SP Afficher.
package body Piles is
procedure Free is
new Ada.Unchecked_Deallocation (T_Cellule, T_Pile);
procedure Initialiser (Pile : out T_Pile) is
beg... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Containers.Functional_Vectors;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Common; use Common;
package LMCP_Messages with SPARK_Mode is
type Message_Root is abstract tagged null record;
-- Messages only contain functional containers and SPARK compatible data
type Al... |
package Shell.Commands.Safe
--
-- Allows commands to be safely run in different tasks.
--
-- Requires the 'ashell_spawn_server' binary to be installed
-- in a folder on the users PATH (such as /usr/bin).
--
is
--- Run - Block until process completes.
--
procedure Run (The_Command : in out Command;
... |
pragma License (Unrestricted);
-- implementation unit required by compiler
package System.Img_WChar is
pragma Pure;
-- required for Wide_Character'Image by compiler (s-imgwch.ads)
procedure Image_Wide_Character (
V : Wide_Character;
S : in out String;
P : out Natural;
Ada_2005 : Bool... |
with Ada.Text_IO; use Ada.Text_IO;
with Datastore; use Datastore;
procedure Main is
function Get
(Prompt : String)
return String is
begin
Put (" " & Prompt & "> ");
return Get_Line;
end Get;
Index : Integer;
begin
loop
Index := Integer'value (Get ("Enter index"));
... |
package body Servo_Controller is
------------
-- Engine --
------------
task body Engine is
begin
loop
case Engine_Servo.Current_Direction is
when Forward =>
Servo.Write(1600, Engine_Servo.Pin);
when Backward =>
Servo.Write(1000, Engin... |
-- Generated at 2017-03-27 17:51:44 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-acl-maps.sx
package Natools.Static_Maps.Web.ACL is
pragma Pure;
type Command is
(Unknown_Command,
Is_In_All_Groups,
Is_In_Any_Group,
Is_User);
function To_Command (Key : String) return Comm... |
-- { dg-do run }
procedure Pack10 is
type U16 is mod 2**16;
type U8 is mod 2**8;
type R is record
A : U16;
B : U8;
end record;
type M is array (1..2) of R;
pragma Pack (M);
-- This size clause can actually be omitted
for M'Size use 48;
type R2 is record
C : M;
D : U8;
end record... |
------------------------------------------------------------------------------
-- --
-- GNAT EXAMPLE --
-- --
-- ... |
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2018 - 2019 Joakim Strandberg <joakim@mequinox.se>
--
-- 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.ap... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with interfaces.c.strings;
package body agar.gui.surface is
package cs renames interfaces.c.strings;
package cbinds is
function allocate
(width : c.int;
height : c.int;
format : agar.gui.pixelformat.pixel_format_access_t;
flags : flags_t) return surface_access_t;
pragma import... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
--
-- Jan & Uwe R. Zimmer, Australia, July 2011
--
with Real_Type; use Real_Type;
generic
Dimension : Positive;
package Matrices is
type Matrix is array (1 .. Dimension, 1 .. Dimension) of Real;
-- function Image (Matrix : Matrix_3D) return String;
function "*" (A, B : Matrix) return Matrix;
funct... |
with cLib.Binding;
with cLib.lconv;
with interfaces.C.Strings;
with ada.Strings.unbounded;
with ada.Text_IO;
procedure Simple
is
use ada.text_IO, ada.Strings.Unbounded, Interfaces.C.Strings;
the_set_Locale : Interfaces.C.Strings.chars_ptr := clib.Binding.setlocale (cLib.binding.LC_ALL,
... |
-- Laboratory work on the topic: "Ada. Semaphores"
-- Variant: A = ( B + C ) * ( MO + d * ( MK * MR ) )
-- Created: 8.02.2018 8:52 PM
-- Author: Obozniy Dmitriy IO-51
with Data, Ada.Text_IO, Ada.Integer_Text_IO, Ada.Synchronous_Task_Control;
use Ada.Text_IO, Ada.Integer_Text_IO, Ada.Synchronous_Task_Control;
proced... |
-----------------------------------------------------------------------
-- security-policies-urls -- URL security policy
-- Copyright (C) 2010, 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 u... |
-- part of OpenGLAda, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.Monitors;
with Ada.Text_IO;
procedure Glfw_Test.Monitors is
procedure Print_Gamma_Value_Array (Values : Glfw.Monitors.Gamma_Value_Array) is
use Ada.Text_IO;
First : Boolean :=... |
------------------------------------------------------------------------------
-- --
-- GNAT SYSTEM UTILITIES --
-- --
-- ... |
-----------------------------------------------------------------------
-- AWA.Comments.Models -- AWA.Comments.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-... |
-----------------------------------------------------------------------
-- security-oauth -- OAuth Security
-- Copyright (C) 2012, 2013, 2016, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Images.Bitmaps is
procedure free_fl_bitmap
(I : in System.Address);
pragma Import (C, free_fl_bitmap, "free_fl_bitmap");
pragma Inline (free_fl_bitmap);
function fl_bitmap_copy
(I : in Sy... |
with Project_Processor.Parsers.Abstract_Parsers;
with EU_Projects.Projects;
package Project_Processor.Parsers.Simple_Format is
type Parser_Type is
new Abstract_Parsers.Abstract_Parser with private;
overriding
function Create (Params : not null access Plugins.Parameter_Maps.Map)
... |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2019, Fabien Chouteau --
-- --
-- ... |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Yaml.Dom.Sequence_Data;
with Yaml.Dom.Mapping_Data;
package Yaml.Dom.Node is
type Instance (Kind : Node_Kind) is record
Tag : Text.Reference;
case Kind is
when Scalar =>
... |
-- with
-- Glx;
package openGL.Surface.privvy
is
-- function to_glx (Self : in Surface.item'Class) return glx.GLXDrawable;
procedure dummy;
end openGL.Surface.privvy;
|
-----------------------------------------------------------------------
-- Util-texts -- Various Text Transformation Utilities
-- Copyright (C) 2001, 2002, 2003, 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "Licen... |
with Ada.Text_IO;
with Ada.Integer_Text_IO;
package body Problem_36 is
package IO renames Ada.Text_IO;
package I_IO renames Ada.Integer_Text_IO;
function Is_Palindrome(s : String) return Boolean is
left : Integer := s'First;
right : Integer := s'Last;
begin
while left <= right loop
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.