id int64 0 30.9k | extension stringclasses 1
value | max_stars_count int64 0 17k | max_stars_repo_name stringlengths 7 106 | max_stars_repo_path stringlengths 5 136 | text stringlengths 9 1M |
|---|---|---|---|---|---|
6,500 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/exp_prag.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
6,501 | ada | 6 | HeisenbugLtd/si_units | src/si_units-binary-scaling.ads | --------------------------------------------------------------------------------
-- Copyright (C) 2020 by Heisenbug Ltd. (<EMAIL>)
--
-- 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 Hocevar. See t... |
6,502 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-dg-radial_gradients-collections.ads | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
6,503 | ada | 6 | jonashaggstrom/ada-canopen | src/aco-protocols-network_management-masters.ads | with ACO.CANopen;
with Ada.Real_Time;
private with ACO.Events;
package ACO.Protocols.Network_Management.Masters is
type Master
(Id : ACO.Messages.Node_Nr;
Handler : not null access ACO.CANopen.Handler;
Od : not null access ACO.OD.Object_Dictionary'Class)
is new NMT with private;
... |
6,504 | ada | 12 | jquorning/ada-asf | src/asf-lifecycles-default.adb | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- asf-lifecycles-default -- Default Lifecycle handler
-- Copyright (C) 2010, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this ... |
6,505 | ada | 0 | sebsgit/textproc | src/tests/shapedatabasetest.adb | <filename>src/tests/shapedatabasetest.adb
with AUnit.Assertions; use AUnit.Assertions;
with Ada.Containers; use Ada.Containers;
with Ada.Text_IO;
with Interfaces.C.Strings;
with ImageIO;
with PixelArray;
with ShapeDatabase;
with Morphology;
with ImageFilters;
with ImageRegions;
with ImageThresholds;
with HistogramDesc... |
6,506 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/scalar_mode_agg_compare.adb | -- { dg-do run }
procedure Scalar_Mode_Agg_Compare is
type Point is record
Mapped : Boolean;
Tag : String (1 .. 2); -- HImode
end record;
pragma Pack (Point); -- Tag possibly at bitpos 1
function My_Point return Point is
begin
return (Mapped => True, Tag => "XX");
end... |
6,507 | ada | 0 | stcarrez/hyperion | src/hyperion-hosts-modules.ads | -----------------------------------------------------------------------
-- hyperion-hosts-modules -- Module hosts
-- Copyright (C) 2017 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- ... |
6,508 | ada | 1 | brucegua/moocos | tools/scitools/sample/mahjongg/mahjongg.adb | <filename>tools/scitools/sample/mahjongg/mahjongg.adb
WITH Board, Input_Line, Screen;
WITH Text_IO;
PROCEDURE Mahjongg IS
--------------------------------------------------------------------
--| Program : Mah Jongg Version : 1.0a
---------------------------------------------... |
6,509 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt61_pkg.ads | with Interfaces;
package Opt61_Pkg is
subtype Int64 is Interfaces.Integer_64;
procedure Double_Divide
(X, Y, Z : Int64;
Q, R : out Int64;
Round : Boolean);
end Opt61_Pkg;
|
6,510 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/cortex_m/src/cm0/cortex_m_svd.ads | -- This spec has been automatically generated from cm0.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Cortex_M_SVD is
pragma Preelaborate;
--------------------
-- Base addresses --
--------------------
NVIC_Base : constant System.Addr... |
6,511 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-tifiio.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
6,512 | ada | 81 | fuzzysloth/ada-awa | awa/src/awa-converters-dates.adb | -----------------------------------------------------------------------
-- awa-converters-dates -- Date Converters
-- Copyright (C) 2012, 2013, 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
6,513 | ada | 24 | svn2github/matreshka | tools/ayacc/src/options.adb | <gh_stars>10-100
package body Options is
SCCS_ID : constant String := "@(#) options.ada, Version 1.2";
Rcs_ID : constant String := "$Header: options.a,v 0.1 86/04/01 15:08:15 ada Exp $";
Verbose_Option : Boolean := False;
Verbose_Conflict_Option : Boolean := False;
Debug_Option ... |
6,514 | ada | 1 | sparre/JSA | tests/unit_tests/jsa-tests-intermediate_backups.adb | with
Ada.Integer_Text_IO,
Ada.Text_IO;
with
JSA.Intermediate_Backups;
package body JSA.Tests.Intermediate_Backups is
overriding
procedure Initialize (T : in out Test) is
use Ahven.Framework;
begin
T.Set_Name ("Intermediate backups");
Add_Test_Routine (T, Run'Access, "Run");
end In... |
6,515 | ada | 0 | KLOC-Karsten/ada_projects | microbit_v20/read_temperature/src/lsm303agr.adb | -- Copyright (c) 2021, <NAME> (<EMAIL>)
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain the above copyright notice,
-- this list of... |
6,516 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudiofilter_h.ads | <filename>src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_audio_gstaudiofilter_h.ads<gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstbasetransform_h... |
6,517 | ada | 0 | Tim-Tom/scratch | single-substitution-cipher/ada/inc/Decipherer.ads | <reponame>Tim-Tom/scratch<filename>single-substitution-cipher/ada/inc/Decipherer.ads<gh_stars>0
with Word_List;
with Ada.Containers.Vectors;
package Decipherer is
type Encrypted_Char is new Character;
type Encrypted_Word is Array(Positive range 1 .. Word_List.Word'Last) of Encrypted_Char;
type Candidate_Set ... |
6,518 | ada | 52 | onox/orka | orka/src/orka/interface/orka-cameras-rotate_around_cameras.ads | <reponame>onox/orka<gh_stars>10-100
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2017 onox <<EMAIL>>
--
-- 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://w... |
6,519 | ada | 0 | My-Colaborations/ada-awa | awa/src/awa-commands.adb | <reponame>My-Colaborations/ada-awa<gh_stars>0
-----------------------------------------------------------------------
-- awa-commands -- AWA commands for server or admin tool
-- Copyright (C) 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- y... |
6,520 | ada | 24 | svn2github/matreshka | source/web/fastcgi/matreshka-fastcgi-protocol.ads | <filename>source/web/fastcgi/matreshka-fastcgi-protocol.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
6,521 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Globe_3d/objects/globe_3d-tri_mesh.ads | <gh_stars>1-10
pragma Warnings (Off);
pragma Style_Checks (Off);
-------------------------------------------------------------------------
-- GLOBE_3D - GL - based, real - time, 3D engine
--
-- Copyright (c) <NAME>/<NAME> 2007
-- CH - 8810 Horgen
-- SWITZERLAND
-- Permission granted to use this sof... |
6,522 | ada | 17 | WinterAlexander/Ada-IntelliJ | src/main/resources/project-templates/simple_ada_project/src/@_main_name_@.adb | procedure @_Main_Name_@ is
begin
-- Insert code here.
null;
end @_Main_Name_@;
|
6,523 | ada | 24 | svn2github/matreshka | source/amf/mofext/amf-internals-mof_tags.adb | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
6,524 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-plls.ads | <filename>firmware/coreboot/3rdparty/libgfxinit/common/skylake/hw-gfx-gma-plls.ads
--
-- 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... |
6,525 | ada | 2 | SMerrony/dgemua | aosvs/aosvs-agent-tasking.adb | <filename>aosvs/aosvs-agent-tasking.adb
-- MIT License
-- Copyright (c) 2021 <NAME>
-- 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 ... |
6,526 | ada | 0 | thierr26/ada-keystore | tools/akt-commands-password-remove.adb | -----------------------------------------------------------------------
-- akt-commands-password-remove -- Remove a wallet password
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance wit... |
6,527 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Count-in-octal/Ada/count-in-octal.ada | <reponame>LaudateCorpus1/RosettaCodeData<filename>Task/Count-in-octal/Ada/count-in-octal.ada
with Ada.Text_IO;
procedure Octal is
package IIO is new Ada.Text_IO.Integer_IO(Integer);
begin
for I in 0 .. Integer'Last loop
IIO.Put(I, Base => 8);
Ada.Text_IO.New_Line;
end loop;
end Octal;
|
6,528 | ada | 3 | stcarrez/ada-stemmer | src/lang/stemmer-nepali.adb | -- Generated by Snowball 2.2.0 - https://snowballstem.org/
package body Stemmer.Nepali 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*");
... |
6,529 | ada | 76 | yannickmoy/SPARKNaCl | perf/tsize.adb | with HAL; use HAL;
with HiFive1.LEDs; use HiFive1.LEDs;
with FE310;
with FE310.CLINT;
with FE310.Time; use FE310.Time;
with Interfaces; use Interfaces;
with IO;
-- Create dependencies to force recompilation of the whole libraryw
pragma Warnings (Off);
with SPARKNaCl; use SPARKNaCl;
with SPARKNaCl.Core;
with S... |
6,530 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada05/s-stausa.ads | <reponame>brucegua/moocos<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
6,531 | ada | 33 | ytomino/drake | source/distributed/required/s-vercon.adb | with System.Formatting;
with System.Long_Long_Integer_Types;
package body System.Version_Control is
subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned;
-- implementation
function Get_Version_String (V : Unsigned_Types.Unsigned)
return Version_String
is
Last : Natural;
Error... |
6,532 | ada | 0 | My-Colaborations/ada-asf | src/asf-views-facelets.adb | <reponame>My-Colaborations/ada-asf
-----------------------------------------------------------------------
-- asf-views-facelets -- Facelets representation and management
-- Copyright (C) 2009, 2010, 2011, 2014, 2015, 2017, 2019, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Ve... |
6,533 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Digital-root/Ada/digital-root-1.ada | <filename>Task/Digital-root/Ada/digital-root-1.ada
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;
... |
6,534 | ada | 0 | Roldak/OpenGLAda | deps/gid/test/recurve.adb | -- Recurve - recover curves from a chart (in JPEG, PNG, or other image format)
--
-- Currently supports only charts on a white background
--
-- By <NAME> and <NAME>
--
-- Started 28-Jun-2016
with GID;
with Ada.Calendar;
with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Co... |
6,535 | ada | 0 | Letractively/ada-awa | awa/plugins/awa-storages/src/awa-storages-stores-files.adb | <filename>awa/plugins/awa-storages/src/awa-storages-stores-files.adb
-----------------------------------------------------------------------
-- awa-storages-stores-files -- File system store
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "Licens... |
6,536 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_netbuffer_gstnetbuffer_h.ads | pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstbuffer_h;
with glib;
package GStreamer.GST_Low_Level.gstreamer_... |
6,537 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c49022c.ada | -- C49022C.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... |
6,538 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/exp_ch13.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
6,539 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-ref-man-2012.5/progs/arm_html.adb | <reponame>caqg/linux-home
with -- ARM_Output,
-- ARM_Contents,
-- Ada.Text_IO,
Ada.Exceptions,
Ada.Strings.Maps.Constants,
Ada.Strings.Fixed,
Ada.Unchecked_Deallocation;
package body ARM_HTML is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This packag... |
6,540 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/NXP/svd/lpc55s6x/nxp_svd-sysctl.ads | -- Copyright 2016-2019 NXP
-- All rights reserved.SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from LPC55S6x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package NXP_SVD.SYSCTL is
pragma Preelaborate;
... |
6,541 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c95066a.ada | -- C95066A.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... |
6,542 | ada | 1 | JeremyGrosser/sensors | src/st7789.adb | --
-- Copyright (C) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
package body ST7789 is
procedure Write
(This : in out ST7789_Screen;
Reg : Register)
is
use HAL.SPI;
Status : SPI_Status;
begin
This.CS.Clear;
This.DC.Clear;
This.Port.Transmi... |
6,543 | ada | 15 | mgrojo/adalib | interfaces.ads | <gh_stars>10-100
-- Standard Ada library specification
-- Copyright (c) 2003-2018 <NAME> <<EMAIL>>
-- 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.
... |
6,544 | ada | 0 | fintatarta/protypo | src/API/protypo-api-engine_values-engine_value_array_wrappers.ads | <reponame>fintatarta/protypo<filename>src/API/protypo-api-engine_values-engine_value_array_wrappers.ads<gh_stars>0
with Protypo.Api.Engine_Values.Handlers;
with Protypo.Api.Engine_Values.Engine_Value_Vectors;
--
-- ## What is this?
--
-- This package provides a wrapper for a vector of Engine_Value.
-- The wrapper impl... |
6,545 | ada | 32 | persan/AdaYaml | src/interface/yaml-events-queue.ads | <gh_stars>10-100
-- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
private with Ada.Finalization;
package Yaml.Events.Queue is
type Instance is limited new Refcount_Base with private;
type Instance_Access is access all Instance;
type Reference is... |
6,546 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Conjugate-transpose/Ada/conjugate-transpose.ada | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Complex_Text_IO; use Ada.Complex_Text_IO;
with Ada.Numerics.Complex_Types; use Ada.Numerics.Complex_Types;
with Ada.Numerics.Complex_Arrays; use Ada.Numerics.Complex_Arrays;
procedure ConTrans is
subtype CM is Complex_Matrix;
S2O2 : constant Float := 0.7071067811865;
... |
6,547 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c9a009c.ada | -- C9A009C.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... |
6,548 | ada | 3 | rogermc2/GA_Ada | test_line/src/line1.adb |
with Ada.Text_IO; use Ada.Text_IO;
with C3GA;
with GA_Utilities;
with Multivectors; use Multivectors;
procedure Line1 is
Point1 : constant Normalized_Point := C3GA.Set_Normalized_Point (0.0, 1.0, 0.0);
Point2 : constant Normalized_Point := C3GA.Set_Normalized_Point (1.0, 0.0, 0.0);
Point3 : constant Norm... |
6,549 | ada | 0 | thierr26/ada-keystore | tools/akt-configs.adb | -----------------------------------------------------------------------
-- akt-configs -- Configuration
-- Copyright (C) 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may o... |
6,550 | ada | 0 | python36/d0xfa | src/getters/getter-high.ads | with numbers; use numbers;
with strings; use strings;
with env; use env;
package getter.high is
ERROR_NO_CLOSED : exception;
ERROR_HIGH : exception;
function get return character;
procedure start (s : string);
private
use type unb.unbounded_string;
type types is (type_byte, type_word);
last_index : nat... |
6,551 | ada | 0 | KLOC-Karsten/ada_projects | calliope_v20/components/bmx055.adb | <reponame>KLOC-Karsten/ada_projects<gh_stars>0
-- Copyright (c) 2021, <NAME> (<EMAIL>)
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- 1. Redistributions of source code must retain ... |
6,552 | ada | 0 | sebsgit/textproc | src/stbiwrapper.ads | <filename>src/stbiwrapper.ads
with Interfaces.C; use Interfaces.C;
with Interfaces.C.Pointers;
with Interfaces.C.Strings; use Interfaces.C.Strings;
package StbiWrapper is
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
pack... |
6,553 | ada | 4 | jfuica/bingada | src/q_bingo-q_gtk-q_intl.adb | <gh_stars>1-10
--*****************************************************************************
--*
--* PROJECT: Bingada
--*
--* FILE: q_bingo-q_gtk-q_intl.adb
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
with Gtkada.Intl... |
6,554 | ada | 30 | jscparker/math_packages | linear_algebra/golub_svd.adb |
---------------------------------------------------------------------------
-- package body Golub_SVD, Singular Value Decomposition
-- Copyright (C) 2018 <NAME>.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provided that the above
-- c... |
6,555 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/JSON/Ada/json-2.ada | with Ada.Wide_Wide_Text_IO; use Ada.Wide_Wide_Text_IO;
with League.JSON.Arrays; use League.JSON.Arrays;
with League.JSON.Documents; use League.JSON.Documents;
with League.JSON.Objects; use League.JSON.Objects;
with League.JSON.Values; use League.JSON.Values;
with League.Strings; use League.Strings;
proc... |
6,556 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt59.adb | -- { dg-do run }
-- { dg-options "-O" }
with Opt59_Pkg; use Opt59_Pkg;
procedure Opt59 is
type Enum is (Zero, One, Two);
function Has_True (V : Boolean_Vector) return Boolean is
begin
for I in V'Range loop
if V (I) then
return True;
end if;
end loop;
return False;
e... |
6,557 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-holders.adb | <filename>source/amf/uml/amf-uml-holders.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
6,558 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbbopa__leon3-smp.ads | <filename>bb-runtimes/src/s-bbbopa__leon3-smp.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
6,559 | ada | 3 | charlie5/aIDE | source/context/adam-with_clause.ads | with
AdaM.context_Item,
Ada.Containers.Vectors,
Ada.Streams;
private
with
AdaM.Declaration.of_package;
package AdaM.with_Clause
is
type Item is new context_Item.item with private;
-- View
--
type View is access all Item'Class;
procedure View_write (Stream : not null access Ada.... |
6,560 | ada | 5 | onox/dcf-ada | dcf/src/dcf-zip-crc.ads | <reponame>onox/dcf-ada
-- SPDX-License-Identifier: MIT
--
-- Copyright (c) 1999 - 2018 <NAME>
-- SWITZERLAND
--
-- 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, i... |
6,561 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/s-taenca.ads | <filename>tools-src/gnu/gcc/gcc/ada/s-taenca.ads
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
6,562 | ada | 0 | reznikmm/gela | source/oasis/program-elements-package_body_stubs.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Declarations;
with Program.Lexical_Elements;
with Program.Elements.Defining_Identifiers;
with Program.Elements.Aspect_Specifications;
package Progra... |
6,563 | ada | 0 | fintatarta/protypo | test/table-test/protypo-api-engine_values-table_wrappers.adb | <gh_stars>0
pragma Ada_2012;
with Ada.Strings.Fixed;
with Protypo.Api.Engine_Values.Array_Wrappers;
with Protypo.Api.Field_Names;
with Protypo.Api.Engine_Values.Constant_Wrappers;
pragma Warnings (Off, "no entities of ""Ada.Text_IO"" are referenced");
with Ada.Text_IO; use Ada.Text_IO;
package body Protypo.Api.Engin... |
6,564 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_app_gstappsink_h.ads | <gh_stars>1-10
pragma Ada_2005;
pragma Style_Checks (Off);
pragma Warnings (Off);
with Interfaces.C; use Interfaces.C;
with glib;
with glib.Values;
with System;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_gstpad_h;
with GStreamer.GST_Low_Level.gstreamer_0_10_gst_base_gstbasesink_h;
with System;
limited with GStrea... |
6,565 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Reduced-row-echelon-form/Ada/reduced-row-echelon-form-2.ada | package body Matrices is
procedure Swap_Rows (From : in out Matrix; First, Second : in Positive) is
Temporary : Element_Type;
begin
for Col in From'Range (2) loop
Temporary := From (First, Col);
From (First, Col) := From (Second, Col);
From (Second, Col) := Tempora... |
6,566 | ada | 2 | thindil/tashy2 | src/tk/tk-image.adb | <gh_stars>1-10
-- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- 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 applica... |
6,567 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/s-exponr.adb | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
6,568 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_unchecked_conversion.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/loop_unchecked_conversion.ads
package loop_unchecked_conversion is
procedure slice;
end loop_unchecked_conversion;
|
6,569 | ada | 0 | gerr135/kdevelop_templates | file/ada_pkg_basic/package.ads | <gh_stars>0
{% load kdev_filters %}
{% block license_header %}
{% if license %}
--
{{ license|lines_prepend:"-- " }}
--
{% endif %}
{% endblock license_header %}
{% if baseClasses %}
with {% for b in baseClasses %}b.baseType{% if not forloop.last %}, {% endif %}{% endfor %};
{% endif %}
package {{ name }} is
{% f... |
6,570 | ada | 4 | reznikmm/jupyter | sources/jupyter/jupyter.ads | <filename>sources/jupyter/jupyter.ads
-- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
package Jupyter is
pragma Pure;
end Jupyter;
|
6,571 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/case_optimization1.adb | <reponame>best08618/asylo
-- { dg-do compile }
-- { dg-options "-O2" }
package body Case_Optimization1 is
function F (Op_Kind : Internal_Operator_Symbol_Kinds) return Integer is
begin
case Op_Kind is
when A_Not_Operator => return 3;
when An_Exponentiate_Operator => return 2;
whe... |
6,572 | ada | 33 | ytomino/drake | source/containers/a-coacho.ads | pragma License (Unrestricted);
-- extended unit
with Ada.Streams;
private with Ada.Containers.Weak_Access_Holders;
private with Ada.Finalization;
private with System.Reference_Counting;
generic
type Name is private; -- it must have default value
with procedure Free (X : in out Name) is <>;
package Ada.Containers... |
6,573 | ada | 0 | stevancorre/advent-of-code-2021 | day-01/solve_part_1.adb | with Solve; use Solve;
with Ada.Text_IO; use Ada.Text_IO;
procedure Solve_Part_1 is
Input_File : File_Type;
Previous_Value : Integer;
Value : Integer;
Answer : Integer := 0;
begin
Open (Input_File, In_File, "input.txt");
Previous_Value := Get_Line_Integer (Input_File);
while not... |
6,574 | ada | 0 | usainzg/EHU | PMOO/EXAMEN/1617O/Centro_Mensajeria.ads | <filename>PMOO/EXAMEN/1617O/Centro_Mensajeria.ads<gh_stars>0
package Centro_Mensajeria is
procedure Inicializar(Nombre: String; Localidad: String);
procedure Localizar_Envios_Cercanos(Geo: GeoLoc.Geo; LCer: Lista_Envios.Lista);
function Localidad() return String;
procedure Anadir_Envio(Env: Envios.Envi... |
6,575 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/prompts/110_private_types/flags.adb | package body Flags is
procedure Add
(Map : in out Map_T;
Key : Key_T;
Description : Colors.Color_Set_T;
Success : out Boolean) is
begin
Success := False;
-- If the key is not already in the map then
-- Create a map element and add i... |
6,576 | ada | 0 | My-Colaborations/ada-ado | src/ado-utils-streams.adb | <gh_stars>0
-----------------------------------------------------------------------
-- ado-utils-streams -- IO stream utilities
-- Copyright (C) 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance w... |
6,577 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/geometry/textured/opengl-geometry-textured.adb | <reponame>charlie5/lace
with
openGL.Buffer.general,
openGL.Shader,
openGL.Program.textured,
openGL.Palette,
openGL.Attribute,
openGL.Texture,
openGL.Tasks,
openGL.Errors,
GL.Binding,
GL.lean,
GL.Pointers,
System,
Interfaces.C.Strings,
System.storag... |
6,578 | ada | 0 | Hamster-Furtif/JeremyPlusPlus | src/botio.ads | with ada.Strings.Unbounded, utils, montecarlo, ada.Integer_Text_IO, opstrat;
use ada.Strings.Unbounded, utils, montecarlo, ada.Integer_Text_IO, opstrat;
package botIO is
type T_prefix is (settings, update_game, update_hand, action);
type T_params is Array(0..7) of Unbounded_String;
type T_command is
r... |
6,579 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-objrea.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
6,580 | ada | 12 | jquorning/ada-asf | src/asf-lifecycles-validation.ads | <filename>src/asf-lifecycles-validation.ads
-----------------------------------------------------------------------
-- asf-lifecycles-validation -- Validation phase
-- Copyright (C) 2010 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
6,581 | ada | 16 | mgrojo/AdaID | src/sha-process_data.ads | -- (C) Copyright 2000 by <NAME>, All rights reserved.
-- Basic Routines of NSA's Secure Hash Algorithm.
-- This is part of a project at http://www.cc.utah.edu/~nahaj/
package SHA.Process_Data is
-- If you want to accumulate more than one hash at a time, then
-- you'll need to specify a context for each acc... |
6,582 | ada | 7 | letsbyteit/build-avr-ada-toolchain | rts/gcc-9/adainclude/s-intimg.ads | ------------------------------------------------------------------------------
-- --
-- S Y S T E M . I N T _ I M G --
-- --
-- ... |
6,583 | ada | 1 | OneWingedShark/Risi | src/risi_script-interpreter.ads | Pragma Ada_2012;
Pragma Wide_Character_Encoding( UTF8 );
with
Risi_Script.Types.Patterns,
Risi_Script.Types.Identifier,
Risi_Script.Types.Identifier.Scope,
Risi_Script.Types.Implementation,
Risi_Script.Interfaces;
Package Risi_Script.Interpreter is
Use Risi_Script.Interfaces;
Type Virtual_Machine is tagged --... |
6,584 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Graphics/graphics_configuration.ads | <gh_stars>1-10
--
-- Jan & <NAME>, Australia, July 2011
--
with GL; use GL;
with GLOBE_3D;
with GLUT_2D;
with Graphics_FrameRates; use Graphics_FrameRates;
with Graphics_Structures; use Graphics_Structures;
with Rotations; use Rotations; pragma Elaborate_All (Rotations);
wi... |
6,585 | ada | 1 | mosteo/ada-toml | src/toml-generic_parse.adb | with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
with Interfaces;
function TOML.Generic_Parse
(Stream : in out Input_Stream) return TOML.Read_Result
is
----------------------------
-- Lexical analysis state --
----------------------------
WW_Backspace : constant Wide_Wide_Character :=
... |
6,586 | ada | 2 | stcarrez/ada-mail | tools/mgrep-printer.ads | -----------------------------------------------------------------------
-- mgrep-printer -- Print mail grep results
-- Copyright (C) 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-... |
6,587 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/controlled4.adb | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
package body controlled4 is
procedure Test_Suite is
begin
Add_Test
(new Test_Case'(Test_Case1 with Link_Under_Test => 300));
end Test_Suite;
end;
|
6,588 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/g-debuti.adb | <reponame>enfoTek/tomato.linksys.e2000.nvram-mod
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
6,589 | ada | 33 | ytomino/drake | source/required/s-caun16.ads | <filename>source/required/s-caun16.ads
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Compare_Array_Unsigned_16 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Unsigned_16 is mod 2 *... |
6,590 | ada | 1 | michalkonecny/polypaver | tools/SPARK2005/preprocessor/src/context_processing.ads | <filename>tools/SPARK2005/preprocessor/src/context_processing.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- ASIS APPLICATION TEMPLATE COMPONENTS --
-- ... |
6,591 | ada | 1 | reznikmm/network | examples/example.adb | -- Copyright (c) 2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Ada.Wide_Wide_Text_IO;
with League.Strings;
with League.Application;
with Network.Addresses;
with Network.Connection_Promises;
with Network.Mana... |
6,592 | ada | 30 | jscparker/math_packages | disorderly/deviates_demo_1.adb |
-- Uses a giant array, so may need to set stacksize large at (eg) Linux
-- prompt, as in: ulimit -s unlimited
with Text_io; Use Text_io;
with Ada.Numerics.Generic_Elementary_Functions;
with Disorderly.Random; use Disorderly.Random;
with Disorderly.Random.Clock_Entropy;
with Disorderly.Random.Deviates;
-- To use R... |
6,593 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem.ads | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/sem.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
6,594 | ada | 4 | DNSCatcher/DNSCatcher | src/dnscatcher/utils/dnscatcher-utils.adb | -- Copyright 2019 <NAME> <<EMAIL>>
--
-- 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, merge, publish, ... |
6,595 | ada | 8 | flyx/OpenCLAda | src/implementation/cl-vector_operations.adb | --------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> <<EMAIL>>
--
-- 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 notice... |
6,596 | ada | 3 | charlie5/aIDE | source/adam-a_package.ads | <filename>source/adam-a_package.ads
with
AdaM.Declaration.of_package;
package AdaM.a_Package
renames AdaM.Declaration.of_package;
|
6,597 | ada | 0 | thierr26/ada-apsepp | src/_for_debug_purposes/apsepp-debug_trace_class-standard.adb | <filename>src/_for_debug_purposes/apsepp-debug_trace_class-standard.adb<gh_stars>0
-- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Ada.Text_IO;
package body Apsepp.Debug_Trace_Class.Standard is
--------------------------------------------------------------------------... |
6,598 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | examples/stm32f0/rfm69_moter/modem/peripherals.adb | <filename>examples/stm32f0/rfm69_moter/modem/peripherals.adb
with STM32_SVD; use STM32_SVD;
with STM32_SVD.RCC; use STM32_SVD.RCC;
with STM32_SVD.DMA; use STM32_SVD.DMA;
with STM32_SVD.USART; use STM32_SVD.USART;
with STM32GD.Board; use STM32GD.Board;
package body Peripherals is
procedure Ini... |
6,599 | ada | 6 | jonashaggstrom/ada-canopen | src/aco-nodes-locals.adb | <gh_stars>1-10
package body ACO.Nodes.Locals is
overriding
procedure Set_State
(This : in out Local;
State : in ACO.States.State)
is
begin
This.NMT.Set (State);
end Set_State;
overriding
function Get_State
(This : Local)
return ACO.States.State
is
begin... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.