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 |
|---|---|---|---|---|---|
8,200 | ada | 60 | RREE/ada-util | regtests/util-beans-objects-datasets-tests.adb | <reponame>RREE/ada-util
-----------------------------------------------------------------------
-- util-beans-objects-datasets-tests -- Unit tests for dataset beans
-- Copyright (C) 2013, 2015, 2017, 2021 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
8,201 | ada | 0 | damaki/EVB1000 | src/stm32-can.ads | <filename>src/stm32-can.ads
-- This spec has been automatically generated from STM32F105xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
package STM32.CAN is
pragma Preelaborate;
---------------
-- Registers --
---------------
----------------------
-- CAN_MCR_Regi... |
8,202 | ada | 0 | My-Colaborations/ada-ado | src/mysql/mysql-mysql.ads | <filename>src/mysql/mysql-mysql.ads<gh_stars>0
-----------------------------------------------------------------------
-- ADO Mysql Database -- MySQL Database connections
-- Copyright (C) 2009, 2010, 2015 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... |
8,203 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2401e.ada | -- CE2401E.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... |
8,204 | ada | 1 | mullikine/RosettaCodeData | Task/IBAN/Ada/iban-2.ada | with Ada.Characters.Handling; use Ada.Characters.Handling;
with Ada.Containers.Hashed_Maps;
with Ada.Strings.Hash;
package body Iban_Code is
subtype Nation is String (1..2);
package String_Integer is new Ada.Containers.Hashed_Maps
(Nation, Integer, Ada.Strings.Hash, Equivalent_Keys => "=");
Nations : ... |
8,205 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cppexc.ads | <filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/g-cppexc.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
8,206 | ada | 1 | Fabien-Chouteau/lvgl-ada-simulator | src/sdl_display.adb | with Ada.Unchecked_Conversion;
with SDL.Video.Pixels;
with System;
with Interfaces.C; use Interfaces.C;
with SDL;
with SDL.Video.Windows;
with SDL.Video.Windows.Makers;
with SDL.Video.Surfaces;
with SDL.Video.Pixel_Formats;
with SDL.Video.Palettes; use SDL.Video.Palettes;
with SDL.Video.Pixel_Formats; use SDL.Video... |
8,207 | ada | 12 | TUM-EI-RCS/StratoX | software/unittest/estimator/src/config-software.ads | with Units;
with Logger;
package config.software is
CSV_SEP : Character := ';';
DEBUG_MODE_IS_ACTIVE : constant Boolean := True;
MAIN_TICK_RATE_MS : constant := 20; -- Tickrate in Milliseconds
TEST_MODE_ACTIVE : constant Boolean := False;
-- Mission
CFG_ASCEND_TIMEOUT : constant Units.T... |
8,208 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/mutable1.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/mutable1.adb
-- { dg-do run }
procedure mutable1 is
type Object (Valid : Boolean := False) is record
case Valid is
when True => Stamp : Natural;
when False => null;
end case;
end record;
function Dummy_Obj... |
8,209 | ada | 6 | bosepchuk/Ada_Drivers_Library | arch/ARM/Nordic/drivers/nrf51-timers.ads | <filename>arch/ARM/Nordic/drivers/nrf51-timers.ads<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- ... |
8,210 | ada | 2 | godunko/adawebui | source/web-ui-widgets.ads | <filename>source/web-ui-widgets.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
8,211 | ada | 15 | My-Colaborations/dynamo | src/asis/a4g-mapping.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- ASIS-for-GNAT IMPLEMENTATION COMPONENTS --
-- ... |
8,212 | ada | 18 | jquorning/ada-wiki | src/wiki.adb | -----------------------------------------------------------------------
-- wiki -- Ada Wiki Engine
-- Copyright (C) 2015, 2016, 2018, 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.
... |
8,213 | ada | 80 | thindil/steamsky | src/utils.ads | <gh_stars>10-100
-- Copyright 2017-2021 <NAME>
--
-- This file is part of Steam Sky.
--
-- Steam Sky 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
-- (... |
8,214 | ada | 52 | onox/orka | orka/src/orka/interface/orka-rendering-buffers-mapped-persistent.ads | <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://www.apache.org/licen... |
8,215 | ada | 9 | ajnavarro/language-dataset | data/github.com/Componolit/libsparkcrypto/5901d2cae7d393d609cd81f85216cb92a66f52a9/tests/lsc_internal_test_aes.adb | <gh_stars>1-10
-------------------------------------------------------------------------------
-- This file is part of libsparkcrypto.
--
-- Copyright (C) 2018 Componolit GmbH
-- Copyright (C) 2010, <NAME>
-- Copyright (C) 2010, secunet Security Networks AG
-- All rights reserved.
--
-- Redistribution and use in so... |
8,216 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/driver_demos/demo_adc_dma/src/demo_adc_vbat_dma.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015-2017, AdaCore --
-- --
-- ... |
8,217 | ada | 0 | SKNZ/BoiteMaker | src/utilities/point.adb | package body point is
function to_string (point : point_t) return string is
begin
return "[ " & float'image(point.x) & ", " & float'image(point.y) & " ]";
end;
-- Fonction permettant l'incrémentation de la coordonnée x d'un point
procedure mv_x(point : in out point_t; delta_x : float) is
... |
8,218 | ada | 0 | Letractively/ada-gen | src/gen-commands-propset.adb | -----------------------------------------------------------------------
-- gen-commands-propset -- Set a property on dynamo project
-- Copyright (C) 2011, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in complian... |
8,219 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-widgets-valuators-adjusters.ads |
package FLTK.Widgets.Valuators.Adjusters is
type Adjuster is new Valuator with private;
type Adjuster_Reference (Data : not null access Adjuster'Class) is
limited null record with Implicit_Dereference => Data;
package Forge is
function Create
(X, Y, W, H : in Integer... |
8,220 | ada | 1 | GauBen/Arbre-Genealogique | src/arbre_genealogique.ads | with Ada.Strings.Bounded;
with Graphe;
with Registre;
with Date; use Date;
package Arbre_Genealogique is
Relation_Existante : exception;
-- Documentation : https://en.wikibooks.org/wiki/Ada_Programming/Strings
package Sb is new Ada.Strings.Bounded.Generic_Bounded_Length (Max => 1023);
subtype T_Etiquette... |
8,221 | ada | 0 | Tim-Tom/project-euler | Ada/inc/Problem_55.ads | <filename>Ada/inc/Problem_55.ads
package Problem_55 is
-- If we take 47, reverse and add, 47 + 74 = 121, which is palindromic.
--
-- Not all numbers produce palindromes so quickly. For example,
-- 349 + 943 = 1292,
-- 1292 + 2921 = 4213
-- 4213 + 3124 = 7337
-- That is, 349 took three iterations to... |
8,222 | ada | 33 | ytomino/drake | source/strings/a-stwima.ads | <filename>source/strings/a-stwima.ads
pragma License (Unrestricted);
with Ada.Strings.Maps;
package Ada.Strings.Wide_Maps is
pragma Preelaborate;
-- Representation for a set of Wide_Character values:
-- modified
-- type Wide_Character_Set is private;
subtype Wide_Character_Set is Maps.Character_Set;
... |
8,223 | ada | 1 | persan/A-gst | src/gen/gstreamer-gst_low_level-gstreamer_0_10_gst_gstiterator_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 System;
with glib;
-- limited -- with GStreamer.GST_Low_Level.glib_2_0_glib_gthread_h;
with GLIB; -- with GStreamer.GST_Low_Level.glibconfig_h;
packa... |
8,224 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/warn5.adb | <gh_stars>1-10
-- { dg-do compile }
with System;
with Unchecked_Conversion;
procedure Warn5 is
type Digit_Type is range 0..15;
type Frequency_Type is array( 1..12) of Digit_Type;
pragma Pack(Frequency_Type);
type Element_Type is record
F : Frequency_Type;
end record;
type Array_Type is array (Nat... |
8,225 | ada | 6 | jquorning/ada-el | src/el-functions-namespaces.ads | -----------------------------------------------------------------------
-- el-functions-namespaces -- Namespace function mapper
-- Copyright (C) 2011, 2021 <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... |
8,226 | ada | 1 | Fabien-Chouteau/samd51-hal | src/drivers/sercom_u2201/sam-sercom-i2c.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
8,227 | ada | 0 | ytomino/zlib-ada | examples/version.adb | <filename>examples/version.adb<gh_stars>0
with Ada.Text_IO;
with zlib;
procedure version is
begin
Ada.Text_IO.Put_Line (zlib.Version);
end version;
|
8,228 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-thread.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,229 | ada | 1 | jweese/Ada_Vent_19 | lib/memory.adb | with Ada.Containers.Vectors;
with Ada.IO_Exceptions;
package body Memory is
package IO is new Ada.Text_IO.Integer_IO(Value);
function Read_Comma_Separated(
From: File_Type := Standard_Input) return Block is
package Vec is new Ada.Containers.Vectors(
Index_type => Address, Element_Type =>... |
8,230 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Text-processing-2/Ada/text-processing-2.ada | <gh_stars>1-10
with Ada.Calendar; use Ada.Calendar;
with Ada.Text_IO; use Ada.Text_IO;
with Strings_Edit; use Strings_Edit;
with Strings_Edit.Floats; use Strings_Edit.Floats;
with Strings_Edit.Integers; use Strings_Edit.Integers;
with Generic_Map;
procedure Data_Munging_2 is
pack... |
8,231 | ada | 20 | charlie5/lace | 3-mid/impact/source/3d/collision/narrowphase/impact-d3-collision-simplex_solver.ads | <gh_stars>10-100
package impact.d3.collision.simplex_Solver
--
-- impact.d3.collision.simplex_Solver can incrementally calculate distance between origin and up to 4 vertices
-- Used by GJK or Linear Casting. Can be implemented by the Johnson-algorithm or alternative approaches based on
-- voronoi regions or baryc... |
8,232 | ada | 0 | wookey-project/ewok-legacy | src/Ada/ewok-sched.adb | <filename>src/Ada/ewok-sched.adb
--
-- 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.
-- You may obtain a copy... |
8,233 | ada | 20 | charlie5/lace | 3-mid/opengl/private/gl/source/gl-desk.ads | with
GL.safe,
Interfaces.C.Pointers;
package gl.Desk
--
-- Provides types, constants and functions specific to the openGL 'Desktop' profile.
--
is
use GL.safe,
Interfaces;
---------
-- Types
--
subtype GLclampd is GL_Types.GLclampd;
subtype GLdouble is GL_Types.GLdouble;
-- ... |
8,234 | ada | 36 | rewriting/tom | src/tom/library/sl/ada/allsstrategy.adb | <reponame>rewriting/tom
with VisitablePackage, EnvironmentPackage, AbstractStrategyBasicPackage;
use VisitablePackage, EnvironmentPackage, AbstractStrategyBasicPackage;
with Ada.Text_IO; use Ada.Text_IO;
package body AllsStrategy is
----------------------------------------------------------------------------
-- Ob... |
8,235 | ada | 0 | Latence-Technologies/Kafka-Ada | src/kafka-topic-partition.ads | <reponame>Latence-Technologies/Kafka-Ada
--
-- Provides Kafka functionality to create partition lists for a kafka consumer
-- to subscribe to
--
package Kafka.Topic.Partition is
--
-- Creates a new list/vector Topic+Partition container.
--
-- librdkafka equivalent: rd_kafka_topic_partition_list_new
... |
8,236 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/hpl/STM32/drivers/stm32-spi.adb | <filename>software/hal/hpl/STM32/drivers/stm32-spi.adb
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2015, AdaCore --
-- ... |
8,237 | ada | 44 | samuell/gcfrac-benchmark | ada/file_io.ads | <gh_stars>10-100
with Ada.Text_IO;
-- This package is introduced to provide an exception free API
-- for text file input. The subprograms in the Ada.Text_IO package
-- may raise exceptions and they are therefore hidden in the body
-- of this package. A subprogram contains a declarative part and
-- and executable ... |
8,238 | ada | 24 | svn2github/matreshka | source/league/matreshka-internals-calendars-formatting.adb | <reponame>svn2github/matreshka<filename>source/league/matreshka-internals-calendars-formatting.adb
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
8,239 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aliasing3_pkg.ads | package Aliasing3_Pkg is
type Arr is array (1..3) of Integer;
procedure Test (A : Arr);
pragma Inline (Test);
type My_Arr is new Arr;
type Rec is record
A : My_Arr;
end record;
type Ptr is access all Rec;
Block : aliased Rec;
Pointer : Ptr := Block'Access;
end Aliasing3_Pkg;
|
8,240 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/s-ststop.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
8,241 | ada | 0 | samyvic/OS-Project | Read Only/gdb-6.8/gdb/testsuite/gdb.ada/complete/pck.adb | <gh_stars>0
package body Pck is
procedure Proc (I : Integer) is
Not_In_Scope : Integer := 77;
begin
Inner.Inside_Variable := Not_In_Scope + I;
end Proc;
end Pck;
|
8,242 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Unbias-a-random-generator/Ada/unbias-a-random-generator.ada | with Ada.Text_IO; with Ada.Numerics.Discrete_Random;
procedure Bias_Unbias is
Modulus: constant Integer := 60; -- lcm of {3,4,5,6}
type M is mod Modulus;
package Rand is new Ada.Numerics.Discrete_Random(M);
Gen: Rand.Generator;
subtype Bit is Integer range 0 .. 1;
function Biased_Bit(Bias_Base: In... |
8,243 | ada | 0 | JeremyGrosser/synack_misc | lch/last_chance_handler.adb | <gh_stars>0
--
-- Copyright 2021 (C) <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: BSD-3-Clause
--
with System.Machine_Code;
with Serial_Console;
package body Last_Chance_Handler is
Port : HAL.UART.Any_UART_Port := null;
procedure Initialize
(UART : not null HAL.UART.Any_UART_Port)
is
begin
... |
8,244 | ada | 1 | BaderKashkash/Ada_Drivers_Library | boards/MicroBit_v2/src/microbit.ads | <filename>boards/MicroBit_v2/src/microbit.ads
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2021, AdaCore --
-- ... |
8,245 | ada | 1 | zrmyers/VulkanAda | src/vulkan-math/gentype/vulkan-math-gendtype.adb | <filename>src/vulkan-math/gentype/vulkan-math-gendtype.adb
--------------------------------------------------------------------------------
-- MIT License
--
-- Copyright (c) 2020 <NAME>
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation f... |
8,246 | ada | 81 | fuzzysloth/ada-awa | awa/plugins/awa-changelogs/src/awa-changelogs-modules.ads | <reponame>fuzzysloth/ada-awa
-----------------------------------------------------------------------
-- awa-changelogs-modules -- Module changelogs
-- Copyright (C) 2014 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except i... |
8,247 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | ADL/drivers/stm32g474/stm32-comp.adb | with STM32.SYSCFG;
with Ada.Real_Time;
package body STM32.COMP is
------------
-- Enable --
------------
procedure Enable (This : in out Comparator) is
use Ada.Real_Time;
begin
-- Enable clock for the COMP peripheral
STM32.SYSCFG.Enable_SYSCFG_Clock;
-- There is no COMP-dedic... |
8,248 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/model/opengl-model-segment_line.ads | <reponame>charlie5/lace-alire
with
openGL.Font;
private
with
openGL.Geometry.colored,
ada.Containers.Vectors;
package openGL.Model.segment_line
--
-- Models a segmented line.
--
is
type Item is new Model.item with private;
type View is access all Item'Class;
---------
--- Forge
--
... |
8,249 | ada | 1 | io7m/coreland-openal-ada | openal-source.ads | <reponame>io7m/coreland-openal-ada
with OpenAL.Buffer;
with OpenAL.Types;
package OpenAL.Source is
--
-- Types
--
type Source_t is private;
type Source_Array_t is array (Positive range <>) of Source_t;
No_Source : constant Source_t;
--
-- API
--
-- proc_map : alGenSources
procedure Gen... |
8,250 | ada | 4 | assessorgeneral/ConQAT | org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.shallowparser/ada/call_cpp.adb | <reponame>assessorgeneral/ConQAT<filename>org.conqat.engine.sourcecode/test-data/org.conqat.engine.sourcecode.shallowparser/ada/call_cpp.adb
with Text_IO; use Text_IO;
procedure Call_CPP is
procedure cpp_routine;
pragma Import (C, cpp_routine);
Error : exception;
procedure Raise_And_Catch is
begin
... |
8,251 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/client/tkmrpc-clients.ads | <filename>specs/ada/client/tkmrpc-clients.ads
package Tkmrpc.Clients is
end Tkmrpc.Clients;
|
8,252 | ada | 0 | thierr26/ada-apsepp | src/apsepp-output_class-quiet-create.ads | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
function Apsepp.Output_Class.Quiet.Create return Output_Quiet;
|
8,253 | ada | 24 | svn2github/matreshka | source/web/spikedog/aws/web_socket-handlers-aws_handlers.adb | <reponame>svn2github/matreshka<gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
8,254 | ada | 12 | jquorning/ada-asf | src/asf-applications-messages-utils.ads | <reponame>jquorning/ada-asf
-----------------------------------------------------------------------
-- applications-messages-utils -- Utilities for messages
-- Copyright (C) 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... |
8,255 | ada | 12 | TUM-EI-RCS/StratoX | software/unittest/estimator/src/fakedev/ms5611-driver.adb | with CSV;
with Config.software;
with Simulation;
with Ada.Text_IO; use Ada.Text_IO;
with Units; use Units;
package body ms5611.driver with
SPARK_Mode => Off,
Refined_State => (State => ( cur_temp, cur_press), Coefficients => null) is
G_CELSIUS_0 : constant := 273.15;
cur_temp : Temperature_Type := 300.0... |
8,256 | ada | 7 | Fabien-Chouteau/Giza | src/giza-bitmaps.adb | ------------------------------------------------------------------------------
-- --
-- Giza --
-- --
-- ... |
8,257 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/sem_prag.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,258 | ada | 80 | enfoTek/tomato.linksys.e2000.nvram-mod | tools-src/gnu/gcc/gcc/ada/5stpopse.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- GNU ADA RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
8,259 | ada | 0 | vivianjia123/Password-Manager | Assignment/mycommandline.ads | <reponame>vivianjia123/Password-Manager<filename>Assignment/mycommandline.ads<gh_stars>0
package MyCommandLine with SPARK_Mode is
function Argument_Count return Natural;
function Command_Name return String;
function Argument(Number : in Positive) return String with
Pre => Number <= Argument_Count;
end... |
8,260 | ada | 3 | gpicchiarelli/openbsd-ada | openbsd.adb | -- OpenBSD - Provide high-level Ada interfaces to OpenBSD's pledge and unveil.
-- Written in 2019 by <NAME> <EMAIL> .
-- To the extent possible under law, the author(s) have dedicated all copyright and related and
-- neighboring rights to this software to the public domain worldwide.
-- This software is distributed wi... |
8,261 | ada | 24 | svn2github/matreshka | source/amf/mof/cmof/amf-internals-cmof_package_imports.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
8,262 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/discriminant_constraint.ads | package Discriminant_Constraint is
type Unconstrained_Type (Size : Natural) is null record;
Constrained_Object : Unconstrained_Type (10);
end Discriminant_Constraint;
|
8,263 | ada | 9 | alire-project/clic | src/clic-config-edit.adb | <filename>src/clic-config-edit.adb
with Ada.Text_IO;
with Ada.Directories;
with AAA.Strings;
with AAA.Directories;
with CLIC.Config.Load;
with Simple_Logging;
with TOML;
package body CLIC.Config.Edit is
package Trace renames Simple_Logging;
use TOML;
procedure Write_Config_File (Table : TOML_Value; Pat... |
8,264 | ada | 4 | bmsauer/termbox-ada | include/termbox_h.ads | <reponame>bmsauer/termbox-ada
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with x86_64_linux_gnu_bits_stdint_uintn_h;
with x86_64_linux_gnu_bits_stdint_intn_h;
with Interfaces.C.Strings;
package termbox_h is
-- unsupported macro: SO_IMPORT __attribute__((visibility("default"))... |
8,265 | ada | 204 | spr93/whitakers-words | src/support_utils/support_utils-line_stuff-unique_entry_io.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... |
8,266 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt27_pkg.adb | package body Opt27_Pkg is
type Node_Rec_T is record
Element : Element_T;
Left : Node_T;
Right : Node_T;
end record;
function Is_Null (Node : in Node_T) return Boolean is
begin
return (Node = null);
end Is_Null;
function Find_Elem (Template : Template_T; List... |
8,267 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83b02a.ada | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c8/c83b02a.ada
-- C83B02A.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
-- unlimi... |
8,268 | ada | 0 | SKNZ/BezierToSTL | src/courbes/courbes-bezier_cubiques.adb | <reponame>SKNZ/BezierToSTL<gh_stars>0
with Courbes.Visiteurs; use Courbes.Visiteurs;
package body Courbes.Bezier_Cubiques is
function Obtenir_Controle1 (Self : Bezier_Cubique) return Point2D is
begin
return Self.Controles (1);
end;
function Obtenir_Controle2 (Self : Bezier_Cubique) return Poin... |
8,269 | ada | 3 | Heziode/aoc-ada-2021 | 09/1/src/main.adb | <filename>09/1/src/main.adb
with Ada.Containers.Vectors,
Ada.Containers.Bounded_Hashed_Maps,
Ada.Exceptions,
Ada.Integer_Text_IO,
Ada.Text_IO;
with Utils;
procedure Main is
use Ada.Text_IO;
use Utils;
package Integer_Vectors is new Ada.Containers.Vectors (Natural, Integer);
use Intege... |
8,270 | ada | 0 | bracke/Meaning | source/RASCAL-Variable.ads | --------------------------------------------------------------------------------
-- --
-- Copyright (C) 2004, RISC OS Ada Library (RASCAL) developers. --
-- ... |
8,271 | ada | 1 | TNO/Dependency_Graph_Extractor-Ada | src/extraction-file_system.ads | with Extraction.Graph_Operations;
private package Extraction.File_System is
procedure Extract_Nodes
(Directory : VFS.Virtual_File;
Graph : Graph_Operations.Graph_Context);
procedure Extract_Edges
(Directory : VFS.Virtual_File;
Graph : Graph_Operations.Graph_Context);
end Extracti... |
8,272 | ada | 20 | charlie5/lace | 3-mid/physics/interface/source/private/bullet/bullet_physics.ads | with
float_Math.Geometry.D3;
package bullet_Physics
--
-- Provides an implementation of the physics interface using a binding to the Bullet3D C library.
--
is
pragma Pure;
package Math renames float_Math;
package Geometry_3D renames math.Geometry.D3;
Error : exception;
end bullet_Physics;
|
8,273 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-full-stm32g474/gnat/a-elchha.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
8,274 | ada | 30 | jscparker/math_packages | arbitrary/e_derivs.adb |
-----------------------------------------------------------------------
-- package body e_Derivs, high-order automatic differentiation of functions
-- Copyright (C) 2008-2018 <NAME>
--
-- Permission to use, copy, modify, and/or distribute this software for any
-- purpose with or without fee is hereby granted, provide... |
8,275 | ada | 2 | thindil/tashy2 | tests/tk-labelframe-label_frame_create_options_test_data-label_frame_create_options_tests.adb | -- This package has been generated automatically by GNATtest.
-- You are allowed to add your code to the bodies of test routines.
-- Such changes will be kept during further regeneration of this file.
-- All code placed outside of test routine bodies will be lost. The
-- code intended to set up and tear down the t... |
8,276 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-internals-factories-umldi_factories.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
8,277 | ada | 7 | Fabien-Chouteau/coffee-clock | src/coffee_maker.adb | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
8,278 | ada | 22 | FardaleM/metalang | out/aaa_11arrayconst.adb | <gh_stars>10-100
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C;
use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C;
procedure aaa_11arrayconst is
type stringptr is access all char_array;
procedure PString(s : stringptr) is
begin
St... |
8,279 | ada | 1 | faelys/natools-web | src/natools-web-sites-holders.ads | <filename>src/natools-web-sites-holders.ads
------------------------------------------------------------------------------
-- Copyright (c) 2015-2019, <NAME> --
-- --
-- Permission to use, copy, modify, and distri... |
8,280 | ada | 0 | mgrojo/ASnip | test/driver.ada | --------------------------------------------------------------------------
-- ASnip Source Code Decorator
-- Copyright (C) 2006, <NAME>
--
-- 1. Permission is hereby granted to use, copy, modify and/or distribute
-- this package, provided that:
-- * copyright notices are retained unchanged,
-- * any d... |
8,281 | ada | 33 | ytomino/drake | source/directories/a-creden.ads | <reponame>ytomino/drake<filename>source/directories/a-creden.ads<gh_stars>10-100
pragma License (Unrestricted);
-- extended unit
package Ada.Credentials is
-- There is a function to get user information.
pragma Preelaborate;
function User_Name return String;
end Ada.Credentials;
|
8,282 | ada | 79 | Roldak/OpenGLAda | src/text/gl-text.ads | <gh_stars>10-100
-- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
private with Ada.Containers.Hashed_Maps;
private with Ada.Finalization;
with FT.Faces;
with GL.Objects.Textures;
private with GL.Objects.Vertex_Arrays;
private with GL.Objects.Buffers;
privat... |
8,283 | ada | 0 | thierr26/ada-apsepp | src/_demo/debug_trace/apsepp_demo_debug_trace.adb | -- Copyright (C) 2019 <NAME> <<EMAIL>>
-- MIT license. Please refer to the LICENSE file.
with Apsepp.Debug_Trace,
Apsepp.Debug_Trace_Class.Output.Create,
Apsepp.Output,
Apsepp.Output_Class.Standard,
Apsepp.Generic_Shared_Instance.Creator;
with Apsepp_Demo_DT_Instance_Client; use Apsepp_Demo_DT_Ins... |
8,284 | ada | 15 | AdaCore/training_material | extern/gnat_sdl/gnat_sdl/src/stdlib_h.ads | <reponame>AdaCore/training_material
pragma Ada_2005;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with umingw_h;
with Interfaces.C.Strings;
with System;
with Interfaces.C.Extensions;
package stdlib_h is
EXIT_SUCCESS : constant := 0; -- c:\home\ochem\install\bin\../lib/gcc/i686-pc-mingw32/4.7... |
8,285 | ada | 1 | ekoeppen/STM32_Generic_Ada_Drivers | stm32f4/stm32f411xx/svd/stm32_svd-dbg.ads | -- This spec has been automatically generated from STM32F411xx.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package STM32_SVD.DBG is
pragma Preelaborate;
---------------
-- Registers --
---------------
subtype DBGMCU_IDCODE_DEV_ID_Field is ... |
8,286 | ada | 19 | jrcarter/Ada_GUI | strings_edit-float_edit.ads | -- --
-- package Copyright (c) <NAME> --
-- Strings_Edit.Float_Edit Luebeck --
-- Interface Spring, 2000 --
-- ... |
8,287 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads | <filename>.emacs.d/elpa/wisi-3.1.3/sal-gen_bounded_definite_vectors_sorted.ads<gh_stars>0
-- Abstract :
--
-- A simple bounded sorted vector of definite items, in Spark.
--
-- Copyright (C) 2018 - 2020 Free Software Foundation, Inc.
--
-- This library is free software; you can redistribute it and/or modify it
-- ... |
8,288 | ada | 6 | osannolik/ada-canopen | src/aco-od_types-entries.ads | with ACO.Generic_Entry_Types;
package ACO.OD_Types.Entries is
pragma Preelaborate;
use Interfaces;
-- type U8 is new Natural range 0 .. 2**8-1 with Size => 8;
subtype U8 is Interfaces.Unsigned_8;
package U8_Pack is new ACO.Generic_Entry_Types (U8);
type Entry_U8 is new U8_Pack.Entry_Type with nu... |
8,289 | ada | 4 | faelys/gela-asis | source/asis/spec/ada-calendar-formatting.ads | <filename>source/asis/spec/ada-calendar-formatting.ads
------------------------------------------------------------------------------
-- A d a r u n - t i m e s p e c i f i c a t i o n --
-- ASIS implementation for Gela project, a portable Ada compiler --
-- ... |
8,290 | ada | 52 | onox/orka | orka/src/orka/interface/orka-rendering-debug-bounding_boxes.ads | -- SPDX-License-Identifier: Apache-2.0
--
-- Copyright (c) 2019 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/licenses/LICENSE-2.0
-... |
8,291 | ada | 0 | mlurbe97/ABench2020 | LinkedList/linked_list.adb | <filename>LinkedList/linked_list.adb
--
-- ABench2020 Benchmark Suite
--
-- Linked List Program
--
-- Licensed under the MIT License. See LICENSE file in the ABench root
-- directory for license information.
--
-- Uncomment the line below to print the result.
-- with Ada.Text_IO; use Ada.Text_IO;
procedure Linked_... |
8,292 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/s-osprim-vms.ads | <reponame>vidkidz/crossbridge
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
8,293 | ada | 0 | reznikmm/conan-ada-index | recipes/asis/all/test_package/main.adb | with Asis.Implementation;
procedure Main is
begin
Asis.Implementation.Initialize ("");
end; |
8,294 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada05/s-tasuti.ads | <reponame>brucegua/moocos<gh_stars>1-10
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
8,295 | ada | 0 | sciencylab/lagrangian-solver | src/numerics-sparse_matrices-zero.adb | separate (Numerics.Sparse_Matrices)
function Zero (N : in Pos) return Sparse_Matrix is
Result : Sparse_Matrix;
use Ada.Containers;
begin
Result.Format := CSC;
Result.N_Row := N;
Result.N_Col := N;
Result.X.Reserve_Capacity (0);
Result.I.Reserve_Capacity (0);
Result.P.Reserve_Capacity (Cou... |
8,296 | ada | 0 | iyan22/AprendeAda | ejercicios4/lluvia.ads | package lluvia is
TYPE T_Mes IS (Enero, Febrero, Marzo, Abril, Mayo, Junio, Julio, Agosto, Septiembre,
Octubre, Noviembre, Diciembre);
subtype T_Cantidad is Integer range 0 .. integer'Last;
type T_Lluvias is array (T_Mes) of T_Cantidad;
type T_Pais is (EEUU, Mejico,Canada);
type T_Lluvias_por_Pais ... |
8,297 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/par-ch4.adb | -----------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
8,298 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lto16_pkg.ads | package Lto16_Pkg is
function F return Float;
end Lto16_Pkg;
|
8,299 | ada | 24 | fjudith/sql-benchmark | tools/src/tool-data.adb | -----------------------------------------------------------------------
-- tool-data -- Perf data representation
-- Copyright (C) 2018 <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.
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.