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 |
|---|---|---|---|---|---|
3,900 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-taspri-lynxos.ads | <filename>llvm-gcc-4.2-2.9/gcc/ada/s-taspri-lynxos.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
3,901 | ada | 0 | ekoeppen/MSP430_Generic_Ada_Drivers | msp430x2/msp430g2452/svd/msp430_svd-calibration_data.ads | <filename>msp430x2/msp430g2452/svd/msp430_svd-calibration_data.ads
-- This spec has been automatically generated from out.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
-- Calibration Data
package MSP430_SVD.CALIBRATION_DATA is
pragma Preelaborate;
--... |
3,902 | ada | 7 | Fabien-Chouteau/Giza | src/giza-image-dma2d.ads | <filename>src/giza-image-dma2d.ads
------------------------------------------------------------------------------
-- --
-- Giza --
-- ... |
3,903 | ada | 0 | PRMorgan/5eCharacterCreator | NPC_Builder.adb | -- This is a personal project that was conceived
-- from a lack of really quick Dungeons and
-- Dragons character creation tools.
-- The only content supported in this tool
-- is that which can be found in the
-- Systems Reference Document (SRD)
-- from Wizards of the Coast.
-- Created by <NAME>
-- Start Date: 8 Marc... |
3,904 | ada | 3 | stcarrez/ada-css | src/parser/css-parser-lexer_io.adb | -- Warning: This file is automatically generated by AFLEX.
-- It is useless to modify it. Change the ".Y" & ".L" files instead.
package body CSS.Parser.Lexer_io is
-- gets input and stuffs it into 'buf'. number of characters read, or YY_NULL,
-- is returned in 'result'.
procedure YY_INPUT (buf ... |
3,905 | ada | 0 | Louis-Aime/Milesian_calendar_Ada | Scaliger-Ada_conversion.adb | -- Package body Scaliger.Ada_conversion
----------------------------------------------------------------------------
-- Copyright Miletus 2015
-- 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 Softwa... |
3,906 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-infix_operators.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Elements.Operator_Symbols;
with Program.Elements.Infix_Operators;
with Program.Element_Visitors;
package Program.Nodes.Inf... |
3,907 | ada | 20 | charlie5/lace | 1-base/lace/source/events/concrete/lace-subject_and_deferred_observer.ads | <reponame>charlie5/lace
with
lace.Subject,
lace.Observer,
lace.make_Subject,
lace.make_Observer.deferred,
lace.Any;
private
with
ada.Strings.unbounded;
package lace.Subject_and_deferred_Observer
--
-- Provides a concrete type for a combined event Subject and a deferred Observer.
--
is
... |
3,908 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/devices/stm32f1/stm32-rcc.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- --
-- ... |
3,909 | ada | 0 | mgrojo/swagger-ada | regtests/client/src/client/testapi-clients.adb | <filename>regtests/client/src/client/testapi-clients.adb
-- REST API Validation
-- API to validate
--
-- The version of the OpenAPI document: 1.0.0
-- Contact: <EMAIL>
--
-- NOTE: This package is auto generated by OpenAPI-Generator 6.0.0-SNAPSHOT.
-- https://openapi-generator.tech
-- Do not edit the class manual... |
3,910 | ada | 0 | Letractively/ada-asf | src/asf-navigations-mappers.ads | -----------------------------------------------------------------------
-- asf-navigations-mappers -- Read XML navigation files
-- Copyright (C) 2010, 2011 <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... |
3,911 | ada | 0 | reznikmm/declarative-regions | source/regions/regions-shared_lists.ads | <filename>source/regions/regions-shared_lists.ads
with Ada.Finalization;
with Ada.Iterator_Interfaces;
generic
type Element_Type is private;
with function "=" (Left, Right : Element_Type) return Boolean is <>;
with procedure Destroy (Value : in out Element_Type) is null;
package Regions.Shared_Lists is
p... |
3,912 | ada | 0 | rtoal/enhanced-dining-philosophers | ada/host.adb | <gh_stars>0
------------------------------------------------------------------------------
-- host.adb
--
-- Implementation of the host.
------------------------------------------------------------------------------
with Chopsticks, Cooks, Reporter;
use Chopsticks, Cooks, Reporter;
package body Host is
... |
3,913 | ada | 0 | djgoku/RosettaCodeData | Task/First-class-functions-Use-numbers-analogously/Ada/first-class-functions-use-numbers-analogously.ada | <filename>Task/First-class-functions-Use-numbers-analogously/Ada/first-class-functions-use-numbers-analogously.ada
with Ada.Text_IO;
procedure Firstclass is
generic
n1, n2 : Float;
function Multiplier (m : Float) return Float;
function Multiplier (m : Float) return Float is begin
return n1 * n2 * m... |
3,914 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/exp_ch4.ads | <reponame>best08618/asylo
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
3,915 | ada | 30 | jscparker/math_packages | ordinary/runge_8th.ads | <filename>ordinary/runge_8th.ads
-----------------------------------------------------------------------
-- package Runge_8th, 8th order Prince and Dormand Runge-Kutta
-- Copyright (C) 2008-2018 <NAME>.
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is her... |
3,916 | ada | 0 | Latence-Technologies/Kafka-Ada | src/kafka-config.adb | package body Kafka.Config is
Error_Buffer_Size : constant size_t := 512;
RD_Kafka_Conf_OK : constant Integer := 0;
procedure Set(Config : Config_Type;
Name : String;
Value : String) is
C_Name : chars_ptr := New_String(Name);
C_Value : chars_ptr := Ne... |
3,917 | ada | 1 | OneWingedShark/Risi | src/risi_script-types-identifier-scope.ads | Pragma Ada_2012;
Pragma Wide_Character_Encoding( UTF8 );
with
Risi_Script.Types.Identifier.Scope_Package;
Package Risi_Script.Types.Identifier.Scope is
use Risi_Script.Types.Identifier.Scope_Package;
Type Scope is new Vector with null record;
Function "+"( Right : Scope ) Return Vector;
Function "+"( Ri... |
3,918 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-sopco4.adb | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
3,919 | ada | 8 | pvrego/adaino | project/src/image.adb | -- =============================================================================
-- Package body AVR.IMAGE
-- =============================================================================
package body IMAGE is
procedure U8_Img_Right (Data : Unsigned_8; Target : out AVR.USART.String_U8) is
D : Unsigned_8 := Da... |
3,920 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/s-comexc.ads | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- ... |
3,921 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/STM32/svd/stm32f7x9/stm32_svd-pwr.ads | <filename>arch/ARM/STM32/svd/stm32f7x9/stm32_svd-pwr.ads
-- This spec has been automatically generated from STM32F7x9.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with System;
package STM32_SVD.PWR is
pragma Preelaborate;
---------------
-- Registers... |
3,922 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-overlapped_pair_callback-cached.adb | with Ada.Containers;
with Ada.Unchecked_Conversion;
with impact.d3.collision.Proxy,
impact.d3.Collision.Algorithm;
package body impact.d3.collision.overlapped_pair_Callback.cached
--
--
--
is
-----------
--- Globals
--
gOverlappingPairs : Integer := 0;
gRemovePairs : Integer := 0;
gAdde... |
3,923 | ada | 9 | alire-project/clic | example/src/clic_ex-commands-switches_and_args.adb | with Ada.Text_IO;
package body CLIC_Ex.Commands.Switches_And_Args is
-------------
-- Execute --
-------------
overriding procedure Execute
(Cmd : in out Instance; Args : AAA.Strings.Vector)
is
begin
Ada.Text_IO.Put_Line (Args.Flatten);
end Execute;
end CLIC_Ex.Commands.Switches_And_... |
3,924 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/g-socthi.ads | <filename>llvm-gcc-4.2-2.9/gcc/ada/g-socthi.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
3,925 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/exp_ch11.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
3,926 | ada | 0 | leomlr/sudoku_ada-jewl | src/JEWL/jewl-canvas_implementation.adb | ------------------------------------------------------------------------------
-- --
-- J E W L . C A N V A S _ I M P L E M E N T A T I O N --
-- --
... |
3,927 | ada | 12 | TUM-EI-RCS/StratoX | tests/subnormal-target/src/main.adb | with Ada.Real_Time; use Ada.Real_Time;
with HIL.GPIO; use HIL.GPIO;
with HIL.Clock; use HIL.Clock;
with Crash;
pragma Unreferenced (Crash);
with Calc;
procedure main with SPARK_Mode is
f1, f2, res : Float;
next : Time := Clock;
PERIOD : constant Time_Span := Milliseconds(500);
led_on : Boolean := False;
... |
3,928 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.0.1/wisitoken-parse.ads | -- Abstract :
--
-- Subprograms common to more than one parser, higher-level than in wisitoken.ads
--
-- Copyright (C) 2018 - 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 Fre... |
3,929 | ada | 7,053 | Elon143/Amass | resources/scripts/api/sublist3r.ads | <gh_stars>1000+
-- Copyright 2017-2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local json = require("json")
name = "Sublist3rAPI"
type = "api"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local pa... |
3,930 | ada | 0 | optikos/oasis | source/nodes/program-nodes-explicit_dereferences.ads | -- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Program.Elements.Expressions;
with Program.Lexical_Elements;
with Program.Elements.Explicit_Dereferences;
with Program.Element_Visitors;
package ... |
3,931 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/solar_system/adv_170_multiple_inheritance/src/solar_system.ads | -----------------------------------------------------------------------
-- Ada Labs --
-- --
-- Copyright (C) 2008-2009, AdaCore --
-- ... |
3,932 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Exceptions-Catch-an-exception-thrown-in-a-nested-call/Ada/exceptions-catch-an-exception-thrown-in-a-nested-call.ada | <filename>Task/Exceptions-Catch-an-exception-thrown-in-a-nested-call/Ada/exceptions-catch-an-exception-thrown-in-a-nested-call.ada<gh_stars>1-10
with Ada.Text_Io; use Ada.Text_Io;
procedure Exceptions_From_Nested_Calls is
U0 : exception;
U1 : exception;
Baz_Count : Natural := 0;
procedure Baz is
begin
... |
3,933 | ada | 15 | My-Colaborations/dynamo | src/gnat/mlib-fil.ads | <reponame>My-Colaborations/dynamo<filename>src/gnat/mlib-fil.ads<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
--... |
3,934 | ada | 0 | jquorning/CELLE | source/symbol_sets.ads | <reponame>jquorning/CELLE<gh_stars>0
--
-- 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 ... |
3,935 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/thin_pointer2_pkg.adb | <reponame>best08618/asylo<gh_stars>1-10
package body Thin_Pointer2_Pkg is
type SB is access constant String;
function Inner (S : SB) return Character is
begin
if S /= null and then S'Length > 0 then
return S (S'First);
end if;
return '*';
end;
function F return Character is
... |
3,936 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libgfxinit/common/haswell/hw-gfx-gma-plls.adb | <filename>firmware/coreboot/3rdparty/libgfxinit/common/haswell/hw-gfx-gma-plls.adb
--
-- 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... |
3,937 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c6/c67002b.ada | <gh_stars>1-10
-- C67002B.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.... |
3,938 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-restri.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
3,939 | ada | 33 | ytomino/drake | source/required/s-pack05.ads | <reponame>ytomino/drake<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Packed_Arrays;
package System.Pack_05 is
pragma Preelaborate;
-- It can not be Pure, subprograms would become __attribute__((const)).
type Bits_05 is mod 2 ** 5;
for Bits_05'S... |
3,940 | ada | 0 | Roldak/OpenGLAda | tests/glfw2/glfw_test-joystick.adb | <filename>tests/glfw2/glfw_test-joystick.adb
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Ada.Text_IO;
with Ada.Numerics.Generic_Elementary_Functions;
with GL.Buffers; use GL.Buffers;
with GL.Immediate; use GL.Immediate;
with GL.Fixe... |
3,941 | ada | 2 | goncaloperes/Security_Amass | resources/scripts/scrape/ask.ads | <filename>resources/scripts/scrape/ask.ads
-- Copyright 2017-2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
local url = require("url")
name = "Ask"
type = "scrape"
function start()
setratelimit(1)
end
function vertical(ctx, dom... |
3,942 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/s-parint.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
3,943 | ada | 33 | ytomino/drake | examples/hash.adb | <reponame>ytomino/drake<filename>examples/hash.adb
with Ada.Containers;
with Ada.Strings.Hash;
with Ada.Strings.Wide_Hash;
with Ada.Strings.Wide_Wide_Hash;
procedure hash is
use type Ada.Containers.Hash_Type;
type HA is array (Positive range <>) of Ada.Containers.Hash_Type;
D : HA := (
Ada.Strings.Hash ("abcdefg")... |
3,944 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c41307d.ada | -- C41307D.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... |
3,945 | ada | 20 | charlie5/lace | 3-mid/impact/source/2d/orbs/collision/impact-d2-orbs-dynamic_tree.ads | with impact.d2.orbs.Collision,
impact.d2.Math;
package impact.d2.orbs.dynamic_Tree
--
-- A dynamic AABB tree broad-phase, inspired by <NAME>'s btDbvt.
--
is
use impact.d2.Math;
b2_nullNode : constant := 0;
-- A node in the dynamic tree. The client does not interact with this directly.
--
t... |
3,946 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-htable.ads | <reponame>orb-zhuchen/Orb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
3,947 | ada | 0 | McNeight/Ada_Drivers_Library | arch/RISC-V/SiFive/svd/FE310/fe310_svd-pwm.ads | -- 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.PWM is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype CONFIG_SCALE_Field is HAL.... |
3,948 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-osprim-unix.adb | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
3,949 | ada | 5 | ianloic/unladen-swallow | Util/llvm/bindings/ada/bitreader/llvm_bit_reader.ads | <filename>Util/llvm/bindings/ada/bitreader/llvm_bit_reader.ads
-- This file is generated by SWIG. Do *not* modify by hand.
--
package LLVM_bit_Reader is
end LLVM_bit_Reader;
|
3,950 | ada | 13 | Fabien-Chouteau/GESTE | examples/utils/sdl/sdl_sdl_cdrom_h.ads | pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with SDL_SDL_stdinc_h;
with Interfaces.C.Strings;
package SDL_SDL_cdrom_h is
SDL_MAX_TRACKS : constant := 99; -- ../include/SDL/SDL_cdrom.h:48
SDL_AUDIO_TRACK : constant := 16#00#; -- ../include/SDL/SDL_cdrom.h:5... |
3,951 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | src/inverter_pwm.adb | <filename>src/inverter_pwm.adb
with STM32.Device;
with STM32.CORDIC.Polling;
package body Inverter_PWM is
-----------------------
-- Initialize_CORDIC --
-----------------------
procedure Initialize_CORDIC is
use STM32.Device;
begin
Enable_Clock (CORDIC_Unit);
Configure_CORDIC_Copro... |
3,952 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/broadphase/impact-d3-collision-broadphase.ads | with impact.d3.collision.Proxy,
impact.d3.collision.overlapped_pair_Callback.cached;
with impact.d3.aabb_Util;
with impact.d3.Dispatcher;
with System;
package impact.d3.collision.Broadphase
--
-- The impact.d3.collision.Broadphase class provides an interface to detect aabb-overlapping object pairs.
--
-- Some ... |
3,953 | ada | 15 | AdaCore/training_material | courses/fundamentals_of_ada/labs/solar_system/160_genericity_text/answers/swap_generics.ads | package Swap_Generics is
generic
type Data_Type is private;
procedure Swap_Generic (Value_1 : in out Data_Type; Value_2 : in out Data_Type);
end Swap_Generics;
|
3,954 | ada | 0 | Lucretia/old_nehe_ada95 | independent_camera/example.adb | ---------------------------------------------------------------------------------
-- Copyright 2004-2005 © <NAME>
--
-- This code is to be used for tutorial purposes only.
-- You may not redistribute this code in any form without my express permission.
-------------------------------------------------------------------... |
3,955 | ada | 4 | faelys/gela-asis | source/asis/asis-compilation_units-times.ads | <reponame>faelys/gela-asis
------------------------------------------------------------------------------
-- G E L A A S I S --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- http://gela.ada-ru.org ... |
3,956 | ada | 1 | Hathoute/ENSEEIHT | PIM/Projet/src/lc.ads |
-- Définition de structures de données sous forme d'une liste chaînée (LC).
generic
type T_Cle is private;
type T_Donnee is private;
package LC is
type T_LC is limited private;
-- Initialiser une Sda. La Sda est vide.
procedure Initialiser(Sda: out T_LC) with
Post => Est_Vide (Sda);
-- Est-ce qu'une Sda... |
3,957 | ada | 0 | strenkml/EE368 | memsim-master/src/variance.adb |
package body Variance is
procedure Reset(v : in out Variance_Type) is
begin
v.sample_count := 0;
v.sum := 0.0;
v.sum_squares := 0.0;
end Reset;
procedure Update(v : in out Variance_Type;
value : in T) is
begin
v.sample_count := v.sample_count + 1;
... |
3,958 | ada | 2 | morbos/Ada_Drivers_Library | middleware/src/filesystems/partitions.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
3,959 | ada | 0 | mgrojo/smk | src/smk.ads | <gh_stars>0
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 (the "Lic... |
3,960 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-valuti.adb | <reponame>djamal2727/Main-Bearing-Analytical-Model<filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/s-valuti.adb<gh_stars>0
------------------------------------------------------------------------------
-- --
-- ... |
3,961 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/g-tasloc.ads | <gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
3,962 | ada | 0 | reznikmm/markdown | sources/md/markdown-link_reference_definitions.ads | -- SPDX-FileCopyrightText: 2020 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
----------------------------------------------------------------
with Ada.Tags;
with League.Strings;
with League.String_Vectors;
with Markdown.Blocks;
limited with Markdown.Visitors;
package Markdown.Link_Reference_Definitions is
... |
3,963 | ada | 3 | stcarrez/ada-css | src/css-core-properties.ads | -----------------------------------------------------------------------
-- css-core-properties -- Core CSS API definition
-- 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 Lice... |
3,964 | ada | 9 | alire-project/clic | example/src/clic_ex-commands-subsub.adb | with CLIC_Ex.Commands.TTY;
with CLIC_Ex.Commands.User_Input;
package body CLIC_Ex.Commands.Subsub is
-------------
-- Execute --
-------------
overriding
procedure Execute (Cmd : in out Instance;
Args : AAA.Strings.Vector)
is
procedure Set_Global_Switches
(Conf... |
3,965 | ada | 1 | bracke/Ext2Dir | source/RASCAL-OS.ads | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
3,966 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/cortex_m/src/semihosting-filesystem.ads | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2016, AdaCore --
-- --
-- ... |
3,967 | ada | 19 | jrcarter/Ada_GUI | ada_gui-gnoga-gui-location.adb | <reponame>jrcarter/Ada_GUI<gh_stars>10-100
-- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- ... |
3,968 | ada | 30 | jrmarino/AdaBase | src/miscellaneous/spatial_data.adb | <filename>src/miscellaneous/spatial_data.adb
-- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../../License.txt
with Ada.Characters.Latin_1;
package body Spatial_Data is
package LAT renames Ada.Characters.Latin_1;
---------------------------
-- initialize_as_point ... |
3,969 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/slice3.adb | <gh_stars>1-10
-- { dg-do run }
procedure Slice3 is
type Varray is array (1 .. 1) of Natural; -- SImode
type Sample is record
Maybe : Boolean;
Values : Varray;
end record;
pragma Pack (Sample);
function Match (X, Y: Sample; Length : Positive) return Boolean is
begin
return X.Va... |
3,970 | ada | 32 | robdaemon/AdaYaml | Parser_Tools/src/implementation/lexer-source-text_io.adb | -- part of ParserTools, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
package body Lexer.Source.Text_IO is
procedure Read_Data (S : in out Instance; Buffer : out String;
Length : out Natural) is
begin
Length := Buffer'First;
loop
... |
3,971 | ada | 2 | Spohn/LegendOfZelba | npc_pc.adb | with ada.integer_text_io; use ada.integer_text_io;
with ada.text_io; use ada.text_io;
package body NPC_PC is
-------------------------------
-- Name: <NAME>
-- <NAME>
-- Hero and Enemy stats Package
-------------------------------
--------------------------------------
--Procedures and func... |
3,972 | ada | 24 | svn2github/matreshka | tools/aflex/src/parser.adb | with Ada.Integer_Wide_Wide_Text_IO;
with Ada.Strings.Wide_Wide_Unbounded.Wide_Wide_Text_IO;
with Ada.Wide_Wide_Text_IO;
with Scanner;
with NFA, ccl, misc, misc_defs, sym, ecs;
with main_body;
with Matreshka.Internals.Unicode.Ucd.Core;
with Unicode;
with Parser.Goto_Table;
use Parser.Goto_Table;
with Parser_Tokens;
u... |
3,973 | ada | 7,053 | Elon143/Amass | resources/scripts/scrape/abuseipdb.ads | <filename>resources/scripts/scrape/abuseipdb.ads
-- Copyright 2021 <NAME>. All rights reserved.
-- Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
name = "AbuseIPDB"
type = "scrape"
function start()
set_rate_limit(1)
end
function vertical(ctx, domain)
local ip =... |
3,974 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/services/arv/automation_request_validator.ads | <filename>src/ada/src/services/arv/automation_request_validator.ads
with Ada.Containers.Formal_Doubly_Linked_Lists;
with Ada.Containers.Formal_Hashed_Maps;
with Ada.Containers.Functional_Maps;
with Ada.Containers; use all type Ada.Containers.Count_Type;
with Ada.Strings.Unbounded; ... |
3,975 | ada | 20 | charlie5/lace | 3-mid/opengl/source/platform/egl/opengl-surface.ads | with
opengl.surface_Profile,
opengl.Display;
private
with
eGL;
package opengl.Surface
--
-- Models an openGL surface.
--
is
type Item is tagged private;
type Items is array (Positive range <>) of aliased Item;
type View is access all Item'class;
type Views is array (Positive range <>)... |
3,976 | ada | 33 | ytomino/drake | source/hash/a-szfzha.ads | <reponame>ytomino/drake
pragma License (Unrestricted);
with Ada.Containers;
with Ada.Strings.Wide_Wide_Hash;
function Ada.Strings.Wide_Wide_Fixed.Wide_Wide_Hash (Key : Wide_Wide_String)
return Containers.Hash_Type
renames Strings.Wide_Wide_Hash;
pragma Pure (Ada.Strings.Wide_Wide_Fixed.Wide_Wide_Hash);
|
3,977 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/alignment1.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/alignment1.ads
-- { dg-do compile }
package Alignment1 is
S : Natural := 20;
pragma Volatile (S);
type Block is array (1 .. S) of Integer;
for Block'Alignment use 128;
B : Block;
end;
|
3,978 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.1.3/wisitoken-parse-lr-mckenzie_recover.adb | -- Abstract :
--
-- See spec
--
-- Copyright (C) 2017 - 2020 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) a... |
3,979 | ada | 4 | mgrojo/canberra-ada | src/canberra.ads | <gh_stars>1-10
-- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2020 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://www.apache.org/license... |
3,980 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201x.ada | <gh_stars>1-10
-- C97201X.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.... |
3,981 | ada | 0 | mstewartgallus/linted | src/linted-simulator/src/linted-update_writer.adb | -- Copyright 2015,2016,2017 <NAME>
--
-- 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 law or agreed t... |
3,982 | ada | 0 | Fabien-Chouteau/COBS | tests/src/testsuite.ads | <gh_stars>0
package Testsuite is
end Testsuite;
|
3,983 | ada | 52 | onox/orka | orka_plugin_gltf/src/orka-gltf-scenes.ads | <reponame>onox/orka
-- 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://www.apache.org/li... |
3,984 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/a-cihase.adb | <filename>llvm-gcc-4.2-2.9/gcc/ada/a-cihase.adb
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
3,985 | ada | 15 | mgrojo/adalib | ada-numerics-generic_real_arrays.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.
... |
3,986 | ada | 65 | PThierry/ewok-kernel | src/exported/ewok-exported-interrupts.ads | <filename>src/exported/ewok-exported-interrupts.ads
--
-- Copyright 2018 The wookey project team <<EMAIL>>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
-- - <NAME>
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- Yo... |
3,987 | ada | 0 | My-Colaborations/ada-util | src/base/commands/util-commands-drivers.adb | <reponame>My-Colaborations/ada-util
-----------------------------------------------------------------------
-- util-commands-drivers -- Support to make command line tools
-- Copyright (C) 2017, 2018, 2019 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
3,988 | ada | 24 | svn2github/matreshka | source/sql/firebird/matreshka-internals-sql_drivers-firebird-fields.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
3,989 | ada | 0 | Ausbxuse/latin-dict | src/commands/makeinfl.adb | -- WORDS, a Latin dictionary, by <NAME> (USAF, Retired)
--
-- Copyright <NAME> (1936–2010)
--
-- This is a free program, which means it is proper to copy it and pass
-- it on to your friends. Consider it a developmental item for which
-- there is no charge. However, just for form, it is Copyrighted
-- (c). Permission i... |
3,990 | ada | 0 | pat-rogers/OpenUxAS | src/ada/src/uxas-comms-lmcp_net_client-service-automation_request_validation.adb | <filename>src/ada/src/uxas-comms-lmcp_net_client-service-automation_request_validation.adb<gh_stars>0
with AVTAS.Lmcp.Object.SPARK_Boundary; use AVTAS.Lmcp.Object.SPARK_Boundary;
with AFRL.CMASI.Enumerations;
with AFRl.CMASI.AutomationResponse; use AFRl.CMASI.AutomationResponse;
with AFRL.... |
3,991 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/vect14.adb | -- { dg-do compile { target i?86-*-* x86_64-*-* } }
-- { dg-options "-fdump-tree-optimized" }
with Interfaces;
with Unchecked_Conversion;
with GNAT.SSE.Vector_Types; use GNAT.SSE.Vector_Types;
procedure Vect14 is
Msk1 : constant := 16#000FFAFFFFFFFB3F#;
Msk2 : constant := 16#000FFDFFFC90FFFD#;
type Unsigne... |
3,992 | ada | 7 | TUDSSL/TICS | msp430-gcc-tics/msp430-gcc-7.3.1.24-source-full/gcc/gcc/testsuite/gnat.dg/opt29.ads | <gh_stars>1-10
package Opt29 is
type Word is mod 2**16;
type PID is record
W1, W2: Word;
end record;
type Root1 is tagged record
Id: PID;
end record;
type Root1_Ptr is access all Root1'Class;
type Root2 is tagged null record;
type Root2_Ptr is access all Root2'class;
type Derived2 is new ... |
3,993 | ada | 0 | mgrojo/AdaID | test/test.adb | <reponame>mgrojo/AdaID
-- File: test.adb
-- Description: Test suite for AdaID
-- Author: <NAME>
-- License: http://www.gnu.org/licenses/gpl.txt
with AUnit.Test_Suites; use AUnit.Test_Suites;
with AUnit.Run;
with AUnit.Reporter.Text;
with AdaID_Tests;
procedure Test is
function Suite return Access_Test_Suite is
Res... |
3,994 | ada | 18 | jquorning/ada-wiki | src/wiki-plugins-conditions.ads | -----------------------------------------------------------------------
-- wiki-plugins-conditions -- Condition Plugin
-- Copyright (C) 2016, 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 L... |
3,995 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/tagged_alloc_free.adb | -- { dg-do run }
with Ada.Unchecked_Deallocation;
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded;
procedure Tagged_Alloc_Free is
type Test_Base is tagged null record;
type Test_Class_Access is access all Test_Base'Class;
type Test_Extension is new Test_Base with record
Last_Name : Unbounded_String :... |
3,996 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/inline.ads | <filename>gcc-gcc-7_3_0-release/gcc/ada/inline.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
3,997 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-mode-6.1.1/gpr_process_lr1_main.adb | -- 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... |
3,998 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/gnatmake.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
3,999 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43215b.ada | -- C43215B.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.