content stringlengths 38 450k | lang stringclasses 1
value | size int64 38 450k | ext stringclasses 3
values | max_stars_count int64 1 357 ⌀ | avg_line_length float64 7.6 67.5 | max_line_length int64 21 468 | alphanum_fraction float64 0.31 0.83 |
|---|---|---|---|---|---|---|---|
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 6,121 | adb | 24 | 44.035971 | 79 | 0.53586 |
-- generic_list.adb -*- Ada -*-
--
-- This package defines a generic list and list iterator.
--
-- Author: Eric Gustafson
-- Date: 25 August 1998
--
-- ------------------------------------------------------------
--
-- $Revision$
--
-- $Log$
-- -----------------------------------------------------------... | Ada | 2,167 | adb | 2 | 23.813187 | 67 | 0.515459 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 3,904 | adb | null | 56.57971 | 78 | 0.421619 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 256,401 | adb | null | 23.290126 | 79 | 0.62632 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 9,386 | ads | null | 45.563107 | 79 | 0.548476 |
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... | Ada | 6,076 | ads | 7 | 46.738462 | 79 | 0.517775 |
-------------------------------------------------------------------------------
-- 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... | Ada | 4,225 | adb | null | 37.389381 | 82 | 0.552899 |
-----------------------------------------------------------------------
-- Search.Models -- Search.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https://ada-gen.googleco... | Ada | 57,520 | adb | 9 | 34.299344 | 88 | 0.583171 |
package Buildinfo with SPARK_Mode is
function Compilation_ISO_Date return String -- implementation-defined (GNAT)
with Import, Convention => Intrinsic,
Global => null,
Post => Compilation_ISO_Date'Result'Length = 10;
-- returns "YYYY-MM-DD"
function Compilation_Time return String -- implement... | Ada | 626 | ads | 12 | 31.3 | 79 | 0.699681 |
--
-- 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... | Ada | 1,127 | ads | 65 | 28.897436 | 79 | 0.712511 |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Access_Types;
with Program.Lexical_Elements;
with Program.Elements.Parameter_Specifications;
package Program.Elements.Procedure_Acces... | Ada | 2,525 | ads | null | 34.589041 | 78 | 0.775446 |
------------------------------------------------------------------------------
-- Copyright (c) 2016, Natacha Porté --
-- --
-- Permission to use, copy, modify, and distribute this software for any --
-- p... | Ada | 1,480 | ads | 1 | 49.333333 | 78 | 0.538514 |
-- { dg-do run }
-- { dg-options "-fstack-check" }
-- This test requires architecture- and OS-specific support code for unwinding
-- through signal frames (typically located in *-unwind.h) to pass. Feel free
-- to disable it if this code hasn't been implemented yet.
procedure Stack_Check2 is
function UB return In... | Ada | 818 | adb | 7 | 18.590909 | 78 | 0.639364 |
with Ada.Calendar;
with Ada.Directories;
with Ada.Text_IO.Text_Streams;
with Ada.Unchecked_Conversion;
with Interfaces.C.Pointers;
with SDL;
with SDL.Error;
with SDL.Events.Events;
with SDL.Events.Keyboards;
with SDL.Images.IO;
with SDL.Log;
-- with SDL.Video.Palettes;
with SDL.Video.Pixel_Formats;
-- with SDL.Video.... | Ada | 4,847 | adb | 1 | 42.893805 | 122 | 0.465855 |
-- This spec has been automatically generated from STM32L4x6.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.RCC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CR_MSIRANGE_Field is H... | Ada | 63,527 | ads | 2 | 37.324912 | 78 | 0.565602 |
with Ada.Command_Line;
with Ada.Text_IO;
procedure Test is
Iterations : Positive := Positive'Value
(Ada.Command_Line.Argument (1));
protected Buffer is
entry Put (X : in Boolean);
entry Get (X : out Boolean);
private
Value : Boolean;
Full : Boolean := False;
end Buffer;
p... | Ada | 1,118 | adb | 4 | 19.964286 | 62 | 0.555456 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 2,010 | ads | null | 67 | 78 | 0.389055 |
with Ada.Text_IO;
with TOML;
with TOML.File_IO;
procedure Main is
Value : constant TOML.TOML_Value :=
TOML.File_IO.Load_File ("example.toml").Value;
begin
Value.Unset ("array");
Ada.Text_IO.Put_Line (Value.Dump_As_String);
end Main;
| Ada | 250 | adb | 19 | 19.230769 | 52 | 0.716 |
<?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="... | Ada | 299,356 | adb | null | 27.241423 | 71 | 0.598511 |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Elements;
with System.Address_To_Access_Conversions;
package body Program.Relative_Access_Types is
package Conversions is new Syste... | Ada | 1,820 | adb | null | 29.354839 | 78 | 0.571978 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 4,533 | adb | 12 | 41.972222 | 78 | 0.451577 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 6,881 | ads | 24 | 45.873333 | 78 | 0.527249 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... | Ada | 34,207 | adb | 1 | 28.649079 | 79 | 0.581723 |
With Ada.Text_IO; Use Ada.Text_IO;
Procedure BuscaBinaria is
numeros: array(1..15) of Integer;
target : Integer;
L : Integer;
R : Integer;
mid : Integer;
found: Integer;
-- Leitura String
function Get_String return String is
Line : String (1 .. 1_000);
Last : Natural;
begin
Get_Line (Line, Last);
ret... | Ada | 1,064 | adb | null | 19 | 39 | 0.675752 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 3,150 | ads | 1 | 46.323529 | 78 | 0.49873 |
-- Note: This test does not yet work due to problems with
-- declaring tasks. We can't abort without a task
--with Ada.Text_IO;
procedure Task_With_Abort is
task AbortMe is
entry Go;
end AbortMe;
task body AbortMe is
begin
accept Go;
loop
delay 1.0;
--Ada.Text_IO.Put_Line("I'm not... | Ada | 495 | adb | null | 17.678571 | 57 | 0.664646 |
-----------------------------------------------------------------------
-- keystore-logs -- Log support for the keystore
-- Copyright (C) 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... | Ada | 3,721 | adb | null | 36.841584 | 85 | 0.572158 |
-- Program Bivectors
-- Author Roger Mc Murtrie
-- Created 16 May 2017
with Ada.Exceptions; use Ada.Exceptions;
with Ada.Text_IO; use Ada.Text_IO;
with Glfw;
with Glfw.Windows;
with Initialize;
with Main_Loop;
procedure Bivectors is
Main_Window : Glfw.Windows.Window;
Window_Title : String := "GA for Comput... | Ada | 776 | adb | 3 | 23.515152 | 84 | 0.722938 |
--------------------------------------------------------------------------------------------------------------------
-- Copyright (c) 2013-2020, Luke A. Guest
--
-- This software is provided 'as-is', without any express or implied
-- warranty. In no event will the authors be held liable for any damages
-- arising f... | Ada | 6,332 | ads | 89 | 28.522523 | 116 | 0.567593 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 1,212 | ads | 7 | 60.6 | 78 | 0.306931 |
package Array15 is
function F (I : Integer) return Integer;
end Array15;
| Ada | 78 | ads | 7 | 13 | 43 | 0.717949 |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2022, AdaCore --
-- --
-- ... | Ada | 4,003 | adb | null | 48.817073 | 78 | 0.540844 |
package body Alarm is
end Alarm; | Ada | 38 | adb | null | 7.6 | 21 | 0.684211 |
with Array23_Pkg2;
package Array23_Pkg1 is
C2 : Natural := Array23_Pkg2.C1;
subtype Index is Natural range 0 .. C2;
type Inner is array (Index) of Natural;
type Arr is array (Array23_Pkg2.Index) of Inner;
end Array23_Pkg1;
| Ada | 241 | ads | 7 | 17.214286 | 51 | 0.713693 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 26,485 | adb | 7 | 31.94813 | 79 | 0.560581 |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... | Ada | 3,755 | ads | 35 | 57.769231 | 78 | 0.443675 |
<?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/>
<cdfg class_id="1" tracking_level="1" version="0... | Ada | 206,288 | adb | 1 | 30.305274 | 86 | 0.428488 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 6,539 | adb | 15 | 34.967914 | 79 | 0.539532 |
package BSSNBase.Text_IO is
procedure write_results;
procedure write_history;
procedure write_summary;
procedure write_summary_header;
procedure write_summary_trailer;
procedure create_text_io_lists;
xy_index_list_ptr : GridIndexList_ptr := new GridIndexList (1..max_num_x*max_num_y);
xz_inde... | Ada | 896 | ads | 1 | 33.185185 | 87 | 0.752232 |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... | Ada | 3,707 | ads | 2 | 60.770492 | 78 | 0.480712 |
-- This spec has been automatically generated from STM32L4x5.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.SAI is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype ACR1_MODE_Field is HAL... | Ada | 21,661 | ads | 2 | 34.058176 | 76 | 0.553622 |
<?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="... | Ada | 115,031 | adb | 1 | 25.551088 | 136 | 0.596413 |
<?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... | Ada | 192,677 | adb | null | 32.236406 | 168 | 0.465079 |
-- The Cupcake GUI Toolkit
-- (c) Kristian Klomsten Skordal 2012 <kristian.skordal@gmail.com>
-- Report bugs and issues on <http://github.com/skordal/cupcake/issues>
-- vim:ts=3:sw=3:et:si:sta
package body Cupcake.Backends is
-- Gets the backend class to be used:
function Get_Backend return Backend_Access ... | Ada | 570 | adb | 2 | 25.909091 | 72 | 0.717544 |
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Characters.Latin_1;
with Ada.Streams;
with Ada.Strings.Fixed;
with Ada.Text_IO;
with GNAT.Sockets;
with Coroutines.Polling;... | Ada | 2,511 | adb | 3 | 33.48 | 76 | 0.62047 |
-----------------------------------------------------------------------
-- mat-expressions-tests -- Unit tests for MAT expressions
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... | Ada | 1,126 | ads | 7 | 37.533333 | 76 | 0.646536 |
-- SPDX-FileCopyrightText: 2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Streams;
with Ada.Exceptions;
with League.Stream_Element_Vectors;
with League.Text_Codecs;
with Spawn.Environments;
with Spawn.Processes.Monit... | Ada | 5,480 | adb | 4 | 31.136364 | 71 | 0.598175 |
-- Copyright 2013-2021 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.
--
-- ... | Ada | 799 | ads | 1 | 38.047619 | 73 | 0.737171 |
generic
n: Integer;
package Data is
---Declaration of private types
type Vector is private;
type Matrix is private;
--Calculation function 1
function Func1 (A, B, C: in Vector; MA, ME : in Matrix) return Integer;
--Calculation function 2
function Func2 (MF, MG, MH, ML: in Matrix) return Integ... | Ada | 731 | ads | null | 23.580645 | 74 | 0.688098 |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Yaml.Dom.Vectors;
with Yaml.Events.Queue;
with Yaml.Destination;
package Yaml.Dom.Dumping is
function To_Event_Queue (Document : Document_Reference)
return Events.... | Ada | 690 | ads | 32 | 36.315789 | 75 | 0.668116 |
-- Copyright (c) 2015-2019 Marcel Schneider
-- for details see License.txt
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Ada.Containers.Hashed_Maps; use Ada.Containers;
with Tokens; use Tokens;
package body Punctuation is
procedure Initialize (O : in out Object) is
begin
-- Punctuators
... | Ada | 7,477 | adb | null | 60.788618 | 92 | 0.71847 |
-----------------------------------------------------------------------
-- awa-commands-stop -- Command to stop the web server
-- Copyright (C) 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 thi... | Ada | 1,798 | ads | 81 | 39.955556 | 82 | 0.631813 |
<?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" ver... | Ada | 257,619 | adb | 1 | 27.052294 | 100 | 0.579196 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 17,900 | ads | null | 37.763713 | 79 | 0.608883 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 3,837 | ads | 24 | 66.155172 | 78 | 0.429242 |
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
package body Program.Nodes.Explicit_Dereferences is
function Create
(Prefix : not null Program.Elements.Expressions.Expression_Access;
Dot_T... | Ada | 3,944 | adb | null | 30.8125 | 79 | 0.717039 |
<?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="... | Ada | 83,250 | adb | 1 | 25.942661 | 139 | 0.594006 |
-- C94011A.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 | 8,311 | ada | 7 | 30.895911 | 79 | 0.479365 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 31,651 | adb | null | 36.38046 | 79 | 0.507914 |
pragma Style_Checks (Off);
-- This spec has been automatically generated from STM32G474xx.svd
pragma Restrictions (No_Elaboration_Code);
with HAL;
with System;
package STM32_SVD.NVIC is
pragma Preelaborate;
---------------
-- Registers --
---------------
-- IPR_IPR_N array element
subtype IPR_... | Ada | 7,528 | ads | null | 32.448276 | 79 | 0.615436 |
-----------------------------------------------------------------------
-- 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... | Ada | 6,812 | ads | null | 41.791411 | 94 | 0.633294 |
-- Copyright (c) 2021 Devin Hill
-- zlib License -- see LICENSE for details.
with GBA.BIOS.Raw.Thumb;
with GBA.BIOS.Extended_Interface;
package GBA.BIOS.Thumb is
new GBA.BIOS.Extended_Interface (GBA.BIOS.Raw.Thumb.Generic_Interface);
| Ada | 239 | ads | 7 | 23.9 | 73 | 0.76569 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 6,714 | ads | null | 51.646154 | 79 | 0.574322 |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- --
-- ... | Ada | 6,877 | adb | null | 43.251572 | 78 | 0.470554 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 5,384 | adb | 7 | 33.65 | 78 | 0.494056 |
-- REST API Validation
-- API to validate
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: Stephane.Carrez@gmail.com
--
-- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manually.
pragma Warnings (Off, "*is not ref... | Ada | 12,787 | ads | null | 35.129121 | 84 | 0.640885 |
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... | Ada | 13,192 | ads | 2 | 38.686217 | 79 | 0.630988 |
with Ada.Text_IO; use Ada.Text_IO;
procedure adademo2 is
type Day_type is range 1 .. 31;
type Month_type is range 1 .. 12;
type Year_type is range 1800 .. 2100;
type Hours is mod 24;
type Weekday is
(Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday);
type Date is record
Day ... | Ada | 1,638 | adb | 1 | 29.781818 | 113 | 0.614164 |
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr>
-- MIT license. Please refer to the LICENSE file.
generic
type Parent is abstract new Test_Event_Base with private;
package Apsepp.Test_Event_Class.Generic_R_Index_Mixin is
type Child_W_R_Index is new Parent with private
with Type_Invariant'Class => ... | Ada | 780 | ads | null | 26.896552 | 72 | 0.769231 |
-- CC3120A.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 | 5,578 | ada | 7 | 30.81768 | 79 | 0.430979 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... | Ada | 9,459 | ads | 1 | 44.829384 | 79 | 0.62681 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 3,681 | ads | 1 | 58.428571 | 78 | 0.499593 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 12,224 | adb | 24 | 34.727273 | 78 | 0.552192 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 4,997 | ads | 24 | 54.315217 | 82 | 0.51591 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 9,217 | adb | null | 29.260317 | 79 | 0.463491 |
-- This spec has been automatically generated from FE310.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package FE310_SVD.RTC is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CONFIG_SCALE_Field is HAL.... | Ada | 2,528 | ads | 192 | 27.78022 | 62 | 0.581883 |
<?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="... | Ada | 450,082 | adb | null | 29.135293 | 410 | 0.599489 |
-- SPDX-FileCopyrightText: 2019-2020 Max Reznik <reznikmm@gmail.com>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Ada.Characters.Conversions;
with Ada.Command_Line;
with Ada.Wide_Wide_Text_IO;
with Program.Compilation_Unit_Vectors;
with Program.Compilation_Un... | Ada | 2,217 | adb | null | 29.56 | 78 | 0.695535 |
with Ada.Exceptions;
with Ada.Unchecked_Deallocation;
with System.Address_To_Named_Access_Conversions;
with System.Shared_Locking;
package body System.Finalization_Masters is
pragma Suppress (All_Checks);
use type Storage_Barriers.Flag;
procedure Free is new Ada.Unchecked_Deallocation (FM_List, FM_List_Access... | Ada | 6,133 | adb | 33 | 31.13198 | 78 | 0.626773 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... | Ada | 3,098 | ads | null | 56.327273 | 78 | 0.437056 |
-- Copyright 2015,2016,2017 Steven Stewart-Gallus
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable ... | Ada | 1,710 | adb | null | 30.535714 | 75 | 0.688304 |
-- part of AdaYaml, (c) 2017 Felix Krause
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Unchecked_Deallocation;
with Yaml.Dom.Node;
with Yaml.Dom.Sequence_Data;
with Yaml.Dom.Mapping_Data;
with Yaml.Dom.Node_Memory;
package body Yaml.Dom is
use type Text.Reference;
use ty... | Ada | 9,420 | adb | null | 38.137652 | 90 | 0.61189 |
-- CE3413B.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 | 5,533 | ada | 7 | 33.737805 | 79 | 0.516718 |
package body Ada.Strings.Generic_Bounded.Generic_Functions is
package body Generic_Bounded_Length is
-- Copying
procedure Tail (
Source : Bounded.Bounded_String;
Count : Natural;
Pad : Character_Type := Fixed_Functions.Space;
Drop : Truncation := Error;
Tar... | Ada | 26,935 | adb | 33 | 32.608959 | 79 | 0.481641 |
with Ada.Containers.Ordered_Maps; use Ada.Containers;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Input12; use Input12;
procedure Day12 is
package String_Maps is new Ordered_Maps
(Key_Type => String_Pattern,
... | Ada | 2,682 | adb | 2 | 34.384615 | 79 | 0.516779 |
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... | Ada | 3,715 | ads | 24 | 67.545455 | 78 | 0.410767 |
-- Copyright 2015-2021 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.
--
-- ... | Ada | 838 | adb | 1 | 34.916667 | 73 | 0.72673 |
-----------------------------------------------------------------------
-- css-print-tests -- Unit tests for CSS printer
-- 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... | Ada | 1,587 | ads | 3 | 36.906977 | 76 | 0.653434 |
pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with bits_types_struct_u_jmp_buf_tag_h;
package setjmp_h is
-- arg-macro: procedure setjmp (env)
-- _setjmp (env)
-- arg-macro: procedure sigsetjmp (env, savemask)
-- __sigsetjmp (env, savemask)
-- Copyright (C) 19... | Ada | 3,582 | ads | 5 | 39.8 | 133 | 0.68593 |
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... | Ada | 4,077 | adb | 269 | 51.607595 | 78 | 0.482217 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... | Ada | 6,516 | adb | 1 | 39.253012 | 78 | 0.494629 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 16,740 | adb | 7 | 30.162162 | 79 | 0.541517 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 8,898 | adb | null | 27.045593 | 78 | 0.478759 |
pragma License (Unrestricted);
-- implementation unit specialized for FreeBSD
with C;
function System.Environment_Block return C.char_ptr_ptr;
pragma Preelaborate (System.Environment_Block);
pragma Inline (System.Environment_Block);
| Ada | 234 | ads | 33 | 33.428571 | 56 | 0.833333 |
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... | Ada | 2,240 | adb | null | 50.909091 | 78 | 0.399554 |
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... | Ada | 8,784 | ads | null | 47.481081 | 79 | 0.563525 |
-- OEML _ REST API
-- This section will provide necessary information about the `CoinAPI OEML REST API` protocol. <br/> This API is also available in the Postman application: <a href=\"https://postman.coinapi.io/\" target=\"_blank\">https://postman.coinapi.io/</a> <br/><br/> Implemented Standards: * [HTTP1.0]... | Ada | 34,961 | adb | 357 | 37.714132 | 468 | 0.622665 |
<?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="... | Ada | 344,433 | adb | 1 | 26.858468 | 71 | 0.588373 |
-----------------------------------------------------------------------
-- upload_servlet -- Servlet example to upload files on the server
-- Copyright (C) 2012, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... | Ada | 2,437 | ads | null | 39.95082 | 81 | 0.642183 |
with Ada.Characters.Handling;
with Ada.Directories;
with Ada.Strings.Fixed;
with Ada.Tags;
with Ahven.Framework;
with Unknown.Api;
package Test_Unknown.Write is
package Skill renames Unknown.Api;
use Unknown;
use Unknown.Api;
type Test is new Ahven.Framework.Test_Case with null record;
procedure Init... | Ada | 674 | ads | 1 | 24.962963 | 73 | 0.746291 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.