content stringlengths 23 1.05M |
|---|
------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+spat@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hoc... |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
-- { dg-do run }
with System; use System;
with Deferred_Const2_Pkg; use Deferred_Const2_Pkg;
procedure Deferred_Const2 is
begin
if I'Address /= S'Address then
raise Program_Error;
end if;
end;
|
with Ada.Numerics.Discrete_Random;
with Ada.Text_IO;
use Ada.Text_IO;
procedure Saskas is
subtype Rand1_10 is Integer range 1..10;
package RandomPos is new Ada.Numerics.Discrete_Random(Rand1_10);
seed: RandomPos.Generator;
protected Kiiro is
entry Kiir(mit: String);
end Kiiro;
protected body Kii... |
-- Generated at 2016-03-04 22:16:27 +0000 by Natools.Static_Hash_Maps
-- from src/simple_webapps-append_servers-maps.sx
package Simple_Webapps.Commands.Append_Servers is
pragma Pure;
type Endpoint_Command is
(Endpoint_Error,
Data_Path,
Force_Separator,
Invalid_Log,
Key,
No_S... |
--------------------------------------------------------------------------------------------------------------------
-- 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 ... |
with
openGL.Texture;
private
with
ada.unchecked_Conversion;
package openGL.Primitive
--
-- Provides a base class for openGL primitives.
--
is
type Item is abstract tagged limited private;
subtype Class is Item'Class;
type View is access all Item'class;
type Views is array (Index_t r... |
with
ada.Containers.Vectors;
package body AdaM.Any
is
package view_resolver_Vectors is new ada.Containers.Vectors (Positive, view_Resolver);
all_Resolvers : view_resolver_Vectors.Vector;
procedure register_view_Resolver (the_Resolver : in view_Resolver)
is
begin
all_Resolvers.append (th... |
with ILI9341_Regs;
package body ILI9341.Hack is
---------------------
-- Prepare_For_DMA --
---------------------
procedure Prepare_For_DMA (This : in out ILI9341_Device;
X1 : Width;
Y1 : Height;
X2 : Widt... |
-----------------------------------------------------------------------
-- mat-types -- Global types
-- Copyright (C) 2014, 2015, 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 ... |
with Ada.Text_IO;
with Ada.Strings.Unbounded;
with ada.Text_IO.Unbounded_IO;
with Ada.IO_Exceptions;
with Ada.Command_Line, Ada.Text_IO;
use Ada.Command_Line, Ada.Text_IO;
procedure Friends is
-- Initializing
Read_From : Ada.Strings.Unbounded.Unbounded_String;
Write_To : Ada.Strings.Unbounded.Unbound... |
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 Zane Myers
--
-- 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 witho... |
package FLTK.Widgets.Clocks is
type Clock is new Widget with private;
type Clock_Reference (Data : not null access Clock'Class) is limited null record
with Implicit_Dereference => Data;
subtype Hour is Integer range 0 .. 23;
subtype Minute is Integer range 0 .. 59;
subtype Second is In... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
function Duplication ( T: Tomb ) return Boolean is
J: Index := T'First;
Re: Boolean := False;
begin
for I in T'Range loop
if T(Mh) < T(I) then
Mh := I;
end if;
end loop;
return Mh;
end Duplication;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
with Ada.Task_Identification; use Ada.Task_Identification;
procedure Main is
-- Create as many task objects as your program needs
begin
-- whatever logic is required in your Main procedure
if some_condition then
Abort_Task (Current_Task);
end if;
end Main;
|
pragma License (Unrestricted);
generic
type Real is digits <>;
package Ada.Numerics.Generic_Real_Arrays is
pragma Pure;
-- Types
type Real_Vector is array (Integer range <>) of Real'Base;
for Real_Vector'Alignment use Standard'Maximum_Alignment;
type Real_Matrix is array (Integer range <>, Integer ... |
-- { dg-do compile }
with Pack3_Pkg;
package Pack3 is
subtype N_TYPE is INTEGER range 0..5;
type LIST_ARRAY is array (N_TYPE range <>) of INTEGER;
type LIST (N : N_TYPE := 0) is record
LIST : LIST_ARRAY(1..N);
end record;
pragma PACK(LIST);
subtype CS is STRING(1..Pack3_Pkg.F);
type CSA is arra... |
-- smart_ptrs.adb
-- A reference-counted "smart pointer" type similar to that in C++
-- Copyright (c) 2016, James Humphry
--
-- 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 permission noti... |
-- C41104A.ADA
-- Grant of Unlimited Rights
--
-- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687,
-- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained
-- unlimited rights in the software and documentation contained herein.
-- Unlimit... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
with Types; use Types;
with Vecteur;
with TH;
generic
type T_Precision is digits<>;
Taille: Integer;
MaxIterations: Integer;
Alpha: T_Precision;
package Google_Creuse is
type T_Google is limited private;
-- Initialiser la matrice Google.
procedure Initialiser(Google: out T_Google);
procedure... |
------------------------------------------------------------------------------
-- Copyright (c) 2014-2019, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
--
-- 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... |
package body Fractal_Impl is
procedure Init (Viewport : Viewport_Info) is
begin
Float_Julia_Fractal.Init (Viewport => Viewport);
Fixed_Julia_Fractal.Init (Viewport => Viewport);
end Init;
procedure Compute_Image (Buffer : in out Buffer_Access)
is
begin
case Current_Comput... |
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package body Replicant.Platform is
------------------
-- df_command --
------------------
function df_command return String is
begin
case platform_type is
when dragonfly |
... |
-- 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... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Containers.Ordered_Maps; use Ada.Containers;
with Interfaces.C; use Interfaces.C;
with GNAT.Regpat; use GNAT.Regpat;
with Device; use... |
-- Integer_Storage_IO
-- A re-implementation of Storage_IO for Integers with SPARK_Mode turned on in
-- the specification and off in the body.
-- Copyright (c) 2015, James Humphry - see LICENSE file for details
with Ada.Unchecked_Conversion;
package body Integer_Storage_IO
with SPARK_Mode => Off
is
type Integer_... |
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Sign; use SPARKNaCl.Sign;
with SPARKNaCl.Cryptobox; use SPARKNaCl.Cryptobox;
with SPARKNaCl.Hashing; use SPARKNaCl.Hashing;
with SPARKNaCl.Stream; use SPARKNaCl.Stream;
with SPARKNaCl.Core; use SPARKNaCl.Core;
with Interfaces; use Interface... |
package Array17_Pkg is
type Varray is array (Integer range <>) of Long_Float;
for Varray'Alignment use 16;
function "+" (X, Y : Varray) return Varray;
end Array17_Pkg;
|
--------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (gh+owm@heisenbug.eu)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Ho... |
with Ada.Command_Line;
with Ada.Text_IO;
with ZMQ;
procedure HWClient is
function Main return Ada.Command_Line.Exit_Status
is
begin
Ada.Text_IO.Put_Line ("Connecting to hello world server...");
declare
Context : ZMQ.Context_Type := ZMQ.New_Context;
Requester : constant ZMQ.Soc... |
-- This file is used to illustrate all
-- the files in the library
-- Root package
with Sf;
-- Used in all modules
with Sf.Config;
-- System module
with Sf.System;
with Sf.System.Types;
with Sf.System.Clock;
with Sf.System.Mutex;
with Sf.System.Randomizer;
with Sf.System.Sleep;
with Sf.System.Thread;
-- Window modu... |
-- generated parser support file.
-- command line: wisitoken-bnf-generate.exe --generate LR1 Ada_Emacs re2c PROCESS gpr.wy
--
-- Copyright (C) 2013 - 2019 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 Licens... |
-- This sample program receives MIDI events from a keyboard and from
-- rotary encoders and outputs audio, like a synthesizer.
-- Call it like this from Linux:
--
-- amidi -p "hw:1,0,0" -r >(./obj/ada_synth | \
-- aplay -f S16_LE -c1 -r44100 --buffer-size=4096)
--
-- The BASH syntax ">(program)" creates a tempo... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- akt-commands-extract -- Get content from 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 ... |
package body GL.Materials is
function is_Transparent (Self : Material_type) return Boolean is (Self.diffuse (3) < 1.0);
end GL.Materials;
|
-- A74106C.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... |
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G... |
-----------------------------------------------------------------------
-- asf-events-faces-actions -- Actions Events
-- Copyright (C) 2009, 2010, 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ... |
generic
type Position is (<>);
package Garden_Pkg is
function GetRandPos return Position;
function GetField(pos : Position) return Boolean;
procedure Start;
task type Gardener;
task type Mantis;
type Mantis_Access is access Mantis;
type Mantis_Array is array (Integer range <>) of Mantis_Access;
n... |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
-- Shoot'n'loot
-- Copyright (c) 2020 Fabien Chouteau
with VirtAPU; use VirtAPU;
package Music_2 is
C_32nd : constant Command := (Wait_Ticks, 1);
C_16th : constant Command := (Wait_Ticks, C_32nd.Ticks * 2);
C_8th : constant Command := (Wait_Ticks, C_16th.Ticks * 2);
C_Quarter : constant Com... |
with Ada.Command_Line;
with GNAT.Command_Line; use GNAT.Command_Line;
with GNAT.OS_Lib;
with GNAT.Strings;
with Ada.Containers.Hashed_Maps;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Strings.Unbounded.Hash;
with AAA.Table_IO;
with AAA.Text_IO;
package body CLIC.Subcommand.Instance is
package... |
generic
type Element_Type is private;
-- The type of picture elements within the input.
type Element_Matrix is
array (Natural range <>, Natural range <>) of Element_Type;
-- The array type we'll take as input and provide as output.
-- We treat these as a toroidal surface which infinitely tiles.
with ... |
-- Generated at 2016-07-04 19:19:16 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-comments-maps.sx
with Natools.Static_Maps.Web.Comments.Item_Commands;
with Natools.Static_Maps.Web.Comments.Item_Conditions;
with Natools.Static_Maps.Web.Comments.Item_Elements;
with Natools.Static_Maps.Web.Comments.Item_Fo... |
package body openGL.Glyph.texture
is
---------
-- Forge
--
function to_Glyph (glyth_Slot : in freetype_c.FT_GlyphSlot.item;
texture_Id : in openGL.Texture.texture_Name;
xOffset, yOffset : in Integer;
Width, Height : in Integ... |
generic
type Element is (<>);
function Get_Discreet return Element;
|
with Ada.Text_IO; with Gnat.Regpat; use Ada.Text_IO;
procedure Regex is
package Pat renames Gnat.Regpat;
procedure Search_For_Pattern(Compiled_Expression: Pat.Pattern_Matcher;
Search_In: String;
First, Last: out Positive;
... |
with Text_IO;
procedure Main is
task type Sieve is
entry Pass_On(Int: Integer);
end Sieve;
type Sieve_Ptr is access Sieve;
function Get_New_Sieve return Sieve_Ptr is
begin
return new Sieve;
end Get_New_Sieve;
task Odd;
task body Odd is
Limit : constant Positive := 1000;
... |
with Ada.Finalization;
generic
type Item_Type is private;
with function "=" (L : Item_Type; R : Item_Type) return Boolean is <>;
package ACO.Utils.DS.Generic_Collection is
pragma Preelaborate;
type Collection
(Max_Size : Positive)
is new Ada.Finalization.Controlled with private;
No_Index : c... |
--
-- 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.
--
-- ... |
-- Copyright 2021 Jeff Foley. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "IPv4Info"
type = "scrape"
function start()
setratelimit(1)
end
function vertical(ctx, domain)
local path = getpath(ctx, domain)
if path == "" then
... |
---------------------------------------------------------------
-- SPECIFICATIONS FILE
---------------------------------------------------------------
-- Author: Matthew Bennett ---
-- Class: CSC410 Burgess ---
-- Date: 09-01-04 Modified: 9-02-04 ---
-- Desc: Assignment 1:D... |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2009, AdaCore --
-- ... |
with AWS.Response;
with AWS.Status;
package HTTPd.Callbacks is
function Default (Request : in AWS.Status.Data) return AWS.Response.Data;
end HTTPd.Callbacks;
|
with
AdaM.Factory;
package body AdaM.a_Type.access_type
is
-- Storage Pool
--
record_Version : constant := 1;
pool_Size : constant := 5_000;
package Pool is new AdaM.Factory.Pools (storage_Folder => ".adam-store",
poo... |
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- --
-- ... |
-----------------------------------------------------------------------
-- gen-commands-database -- Database creation from application model
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
package body Receiver is
task body ReceiverTask is
receivedMessagesCount: Natural := 0;
begin
loop
accept ReceiveMessage do
receivedMessagesCount := Natural'Succ(receivedMessagesCount);
end ReceiveMessage;
if k = receivedMessagesCount then
... |
-- { dg-do compile }
-- { dg-options "-O" }
with Sizetype3_Pkg; use Sizetype3_Pkg;
package body Sizetype3 is
procedure Handle_Enum_Values is
Values : constant List := F;
L : Values_Array_Access;
begin
L := new Values_Array (1 .. Values'Length);
end Handle_Enum_Values;
procedure Simplif... |
generic
type Base is abstract tagged limited private;
package DDS.Request_Reply.Replier.Typed_Replier_Generic.Passive_Replier_Generic is
package Listners is
type Ref is limited interface;
type Ref_Access is access all Ref'Class;
procedure Compute_And_Reply
(Self : not null access R... |
-- Generated at 2017-03-29 14:57:31 +0000 by Natools.Static_Hash_Maps
-- from src/natools-web-sites-maps.sx
package Natools.Static_Maps.Web.Sites is
pragma Pure;
type Command is
(Error,
Set_ACL,
Set_Backends,
Set_Default_Template,
Set_File_Prefix,
Set_File_Suffix,
Set_... |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package xcb_util is
end xcb_util;
|
package Loop_Optimization3_Pkg is
function F (n : Integer) return Integer;
end Loop_Optimization3_Pkg;
|
package body Ada.Strings.Naked_Maps.Debug is
-- implementation of sets
function Valid (Set : Character_Set_Data) return Boolean is
begin
for I in Set.Items'First .. Set.Items'Last loop
if Set.Items (I).High < Set.Items (I).Low then
return False;
end if;
end loop;
... |
-----------------------------------------------------------------------
-- components-core -- ASF Core Components
-- Copyright (C) 2009, 2010, 2011, 2012, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... |
--
-- Tiny_Text demo board setup
--
-- This is a STM32-H405 dev board with a PCD8544 LCD.
--
with STM32.GPIO; use STM32.GPIO;
with STM32.Device; use STM32.Device;
with PCD8544; use PCD8544;
with Ravenscar_Time;
package Board is
LCD_CLK : GPIO_Point renames PB13; -- EXT2_16
LCD_DIN : GPIO_Point renames... |
-- { dg-do compile }
-- { dg-options "-O" }
with Modular4_Pkg; use Modular4_Pkg;
procedure Modular4 is
begin
for I in Zero .. F mod 8 loop
raise Program_Error;
end loop;
end;
|
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
private with System;
private with ACO.Utils.DS.Generic_Collection;
private with ACO.Utils.Scope_Locks;
generic
type Item_Type is private;
Max_Nof_Subscribers : Positive;
package ACO.Utils.Generic_Pubsub is
pragma Preelaborate;
type Sub is abstract tagged null record;
type Sub_Access is access all Su... |
with Ada.Text_IO, Bin_Trees.Traverse;
procedure Main is
package B_Trees is new Bin_Trees(Character); use B_Trees;
function Same_Fringe(T1, T2: Tree_Type) return Boolean is
protected type Buffer_Type is
entry Write(Item: Character);
entry Write_Done;
entry Read_And_Compare(Item... |
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
package avxintrin_h is
-- Copyright (C) 2008-2017 Free Software Foundation, Inc.
-- This file is part of GCC.
-- GCC is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public L... |
package body WFC is
function Modular_Index (Matrix : in Element_Matrix; X, Y : Natural) return Element_Type
with Inline
is
Matrix_X : constant Natural := ((X - Matrix'First(1)) mod Matrix'Length(1)) + Matrix'First(1);
Matrix_Y : constant Natural := ((Y - Matrix'First(2)) mod Matrix'Length(2)) + Matrix... |
with STM_Board; use STM_Board;
with Inverter_PWM;
package body Error_Handling is
procedure Make_Safe is
begin
if not STM_Board.Is_Initialized then
STM_Board.Initialize_GPIO;
end if;
-- Force the gate driver into a safe state
Inverter_PWM.Safe_State;
-- Signal error t... |
package Generic_Root is
type Number is range 0 .. 2**63-1;
type Number_Array is array(Positive range <>) of Number;
type Base_Type is range 2 .. 16; -- any reasonable base to write down numb
generic
with function "&"(X, Y: Number) return Number;
-- instantiate with "+" for additive digital root... |
-- { dg-do run }
with System, NAT1; use NAT1;
procedure Nat1R is
use type System.Address;
begin
if One_Address /= Nat_One_Storage'Address then
raise Constraint_Error;
end if;
end;
|
with Ada.Text_IO;
with Ada.Integer_Text_IO;
with Ada.Numerics.Elementary_Functions;
-- Copyright 2021 Melwyn Francis Carlo
procedure A042 is
use Ada.Text_IO;
use Ada.Integer_Text_IO;
use Ada.Numerics.Elementary_Functions;
-- File Reference: http://www.naturalnumbers.org/primes.html
FT ... |
-- { dg-do compile }
-- { dg-options "-O3 -gnatn -Winline" }
package body Warn10 is
procedure Do_Something(Driver : My_Driver) is
X : Float;
begin
X := Get_Input_Value( Driver, 1, 1);
end;
end Warn10;
|
package body Utility is
procedure While_1 is
begin
loop
null;
end loop;
end While_1;
procedure Delay_random is
Iterations : constant := 100_000;
begin
for I in 1 .. Iterations loop
null;
end loop;
end Delay_random;
end Utility; |
-----------------------------------------------------------------------
-- awa-comments-module -- Comments module
-- Copyright (C) 2011, 2012, 2013, 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.Generic_Instantiations is
use type LALCO.Ada_Node_Kind_Type;
function Is_Generic_Instantiation
(Node : LAL.Ada_Node'Class) return Boolean is
(Node.Kind in LALCO.Ada_Generic_Package_Instantiation |
LALCO.Ada_... |
-- 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... |
with PIN;
with PasswordDatabase;
with Ada.Containers; use Ada.Containers;
with Ada.Text_IO; use Ada.Text_IO;
package PasswordManager with SPARK_Mode is
type Information is private;
-- Private function returns length of database in Password Manager
function StoredDatabaseLength(Manager_Information : in Infor... |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Extensions;
package bits_thread_shared_types_h is
-- Common threading primitives definitions for both POSIX and C11.
-- Copyright (C) 2017-2021 Free Software Foundation, Inc.
-- This file is part of the GNU C... |
package Tkmrpc.Operations.Ees is
Esa_Acquire : constant Operations.Operation_Type := 16#0100#;
Esa_Expire : constant Operations.Operation_Type := 16#0101#;
end Tkmrpc.Operations.Ees;
|
-- SPDX-FileCopyrightText: 2022 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Containers.Hashed_Maps;
with Ada.Unchecked_Deallocation;
with Regions.Entities;
with Regions.Shared_Hashed_Maps;
private
package Regions.Contexts.... |
with Ada.Unchecked_Deallocation;
package body Spark_Unbound.Safe_Alloc with SPARK_Mode is
package body Definite with SPARK_Mode is
function Alloc return T_Acc is
pragma SPARK_Mode (Off); -- Spark OFF for exception handling
begin
return new T;
exception
when Stora... |
with Ada.Text_IO;
procedure Numbers is
package Int_IO is new Ada.Text_IO.Integer_IO (Integer);
package Float_IO is new Ada.Text_IO.Float_IO (Float);
begin
Int_IO.Put (Integer'Value ("16#ABCF123#"));
Ada.Text_IO.New_Line;
Int_IO.Put (Integer'Value ("8#7651#"));
Ada.Text_IO.New_Line;
Int_IO.Put (Inte... |
--
-- Copyright (C) 2015-2016 secunet Security Networks AG
-- Copyright (C) 2016 Nico Huber <nico.h@gmx.de>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 2 of the License,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.