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 |
|---|---|---|---|---|---|
27,600 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/server/tkmrpc-operation_handlers.ads | package Tkmrpc.Operation_Handlers is
end Tkmrpc.Operation_Handlers;
|
27,601 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr_private.ads | <reponame>best08618/asylo<filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/discr_private.ads<gh_stars>1-10
-- { dg-do compile }
-- { dg-options "-gnatws" }
package Discr_Private is
package Dec is
type T_DECIMAL (Prec : Integer := 1) is private;
private
type T_DECIMAL (Prec : Integer := 1) ... |
27,602 | ada | 1 | ShiroixD/pag_zad_2 | thirdparty/glut/progs/ada/texturesurf_procs.adb | <gh_stars>1-10
--
-- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc.
-- ALL RIGHTS RESERVED
-- Permission to use, copy, modify, and distribute this software for
-- any purpose and without fee is hereby granted, provided that the above
-- copyright notice appear in all copies and that both the copyright no... |
27,603 | ada | 0 | DrenfongWong/tkm-rpc | specs/ada/server/ike/tkmrpc-operation_handlers-ike-isa_auth.ads | with Tkmrpc.Request;
with Tkmrpc.Response;
package Tkmrpc.Operation_Handlers.Ike.Isa_Auth is
procedure Handle (Req : Request.Data_Type; Res : out Response.Data_Type);
-- Handler for the isa_auth operation.
end Tkmrpc.Operation_Handlers.Ike.Isa_Auth;
|
27,604 | ada | 0 | SSOCsoft/Log_Reporter | src/ini-parameters.ads | <reponame>SSOCsoft/Log_Reporter
With
INI.Read_INI;
Package INI.Parameters is
Parameters : INI.Instance renames Read_INI("Parameters.ini");
End INI.Parameters;
|
27,605 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/g-dynhta.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
27,606 | ada | 0 | Letractively/ada-asf | src/asf-lifecycles.ads | -----------------------------------------------------------------------
-- asf-lifecycles -- Lifecycle
-- Copyright (C) 2010, 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 compliance with the License.
--... |
27,607 | ada | 236 | jquorning/septum | src/common/sp-strings.adb | <filename>src/common/sp-strings.adb<gh_stars>100-1000
-------------------------------------------------------------------------------
-- Copyright 2021, The Septum Developers (see AUTHORS file)
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the... |
27,608 | ada | 1 | danva994/ASFML-1.6 | include/sf-graphics-glyph.ads | -- ////////////////////////////////////////////////////////////
-- //
-- // SFML - Simple and Fast Multimedia Library
-- // Copyright (C) 2007-2009 <NAME> (<EMAIL>)
-- //
-- // This software is provided 'as-is', without any express or implied warranty.
-- // In no event will the authors be held liable for any damages a... |
27,609 | ada | 1 | ForYouEyesOnly/Space-Convoy | Sources/Library/vectors_xd_i.adb | <filename>Sources/Library/vectors_xd_i.adb
--
-- Jan & <NAME>, Australia, July 2011
--
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Strings.Bounded; use Ada.Strings.Bounded;
package body Vectors_xD_I is
package Real_Elementary_Functions is
new Ada.Numerics.Generic_Elementary... |
27,610 | ada | 0 | e3l6/SSMDev | demo/adainclude/a-extiin.adb | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
27,611 | ada | 1 | robertwenquan/nyu-course-assignment | programming-languages/programming-assignment2/assignment2.adb | <filename>programming-languages/programming-assignment2/assignment2.adb
------------------------------------------------------------------------
-- Programming Language Class Fall 2014 Semester
-- Programming Assignment 2
--
-- <NAME> (<EMAIL>) | netid: qw476
--
-- $Id: f3d710bebfebdae825b629a4ad0ce895e885587d $
... |
27,612 | ada | 0 | KipodAfterFree/KAF-2019-FireHog | firehog/ncurses/Ada95/samples/sample-form_demo-aux.adb | <reponame>KipodAfterFree/KAF-2019-FireHog
------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding Samples --
-- ... |
27,613 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c43205k.ada | -- C43205K.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... |
27,614 | ada | 52 | onox/orka | orka_egl/src/tools/orka_egl_info.adb | <reponame>onox/orka<gh_stars>10-100
-- 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://w... |
27,615 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_equal1.adb | -- { dg-do compile }
with equal1;
procedure test_equal1 is
subtype Boolean_T is Boolean;
function "=" (L, R : in equal1.Basic_Connection_Status_T)
return Boolean_T renames equal1."=";
Status : equal1.Basic_Connection_Status_T;
Result : Boolean_T;
begin
Status := equal1.Temporary_Disconnected;
Result :=... |
27,616 | ada | 7 | Fabien-Chouteau/coffee-clock | src/GUI/date_widget.ads | -------------------------------------------------------------------------------
-- --
-- Coffee Clock --
-- --
... |
27,617 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/s-bbarat.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
27,618 | ada | 24 | svn2github/matreshka | source/amf/uml/amf-uml-accept_call_actions.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
27,619 | ada | 19 | jrcarter/Ada_GUI | ada_gui-gnoga-server-mime.ads | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O... |
27,620 | ada | 1 | bracke/websitegenerator | src/commands-init.adb | <reponame>bracke/websitegenerator<filename>src/commands-init.adb
with Ada.Text_IO;
with Ada.Directories;
with Init_Project;
with Blueprint; use Blueprint;
package body Commands.Init is
package IO renames Ada.Text_IO;
package TT renames CLIC.TTY;
-------------
-- Execute --
-------------
overriding... |
27,621 | ada | 5 | jhumphry/SPARK_SipHash | src/halfsiphash24.ads | -- HalfSipHash24
-- An instantiation of HalfSipHash with recommended parameters.
-- The key must be set with SetKey before use, or there will be no protection
-- from hash flooding attacks.
-- Copyright (c) 2016, <NAME> - see LICENSE file for details
pragma Spark_Mode;
with HalfSipHash;
pragma Elaborate_All(HalfSip... |
27,622 | ada | 7 | 98devin/ada-gba-dev | src/GBA.Allocation.ads | -- Copyright (c) 2021 <NAME>
-- zlib License -- see LICENSE for details.
with System;
use System;
with System.Storage_Elements;
use System.Storage_Elements;
with System.Allocation.Arenas;
use System.Allocation.Arenas;
package GBA.Allocation is
pragma Elaborate_Body;
generic
Size : Storage_Count;
pack... |
27,623 | ada | 2 | thindil/tashy2 | tests/tk-labelframe-label_frame_options_test_data-label_frame_options_tests.ads | <reponame>thindil/tashy2<filename>tests/tk-labelframe-label_frame_options_test_data-label_frame_options_tests.ads<gh_stars>1-10
-- This package has been generated automatically by GNATtest.
-- Do not edit any part of it, see GNATtest documentation for more details.
-- begin read only
with GNATtest_Generated;
packa... |
27,624 | ada | 80 | thindil/steamsky | src/bases-saveload.adb | -- 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
-- (at your option) a... |
27,625 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/exp_ch6.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
27,626 | ada | 0 | faelys/natools | src/natools-references-pools.ads | <gh_stars>0
------------------------------------------------------------------------------
-- Copyright (c) 2014, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software for any --... |
27,627 | ada | 0 | joffreyhuguet/LmcpGen | ada/src/afrl/cmasi/afrl-cmasi-gimbalconfiguration.adb | <reponame>joffreyhuguet/LmcpGen
package body afrl.cmasi.gimbalconfiguration is
function getFullLmcpTypeName(this : GimbalConfiguration'Class) return String is ("afrl.cmasi.gimbalconfiguration.GimbalConfiguration");
function getLmcpTypeName (this : GimbalConfiguration'Class) return String is ("GimbalConfiguratio... |
27,628 | ada | 32 | robdaemon/AdaYaml | src/implementation/yaml-lexer.ads | -- part of AdaYaml, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "copying.txt"
with Ada.Strings.UTF_Encoding;
private with Lexer.Base;
with Text.Pool;
with Yaml.Source;
private package Yaml.Lexer is
use Ada.Strings.UTF_Encoding;
Default_Initial_Buffer_Size : constant := 8096;
... |
27,629 | ada | 30 | jrmarino/AdaBase | testcases/driver_connections/mysql/connect.adb | -- Used for all testcases for MySQL driver
-- Modify connection parameters as necessary
package body Connect is
procedure connect_database is
begin
DR.basic_connect (database => "adabase_examples",
username => "root",
password => "",
... |
27,630 | ada | 0 | VitalijBondarenko/Formatted_Output_NG | demo/src/formatted_output_demo.adb | with Ada.Text_IO;
with Ada.Calendar;
with Interfaces; use Interfaces;
with Formatted_Output; use Formatted_Output;
with Formatted_Output_Integer; use Formatted_Output_Integer;
with Formatted_Output_Long_Integer; use Formatted_Output_Long_Integer;
with Fo... |
27,631 | ada | 20 | charlie5/lace | 1-base/math/source/precision/float/pure/float_math-geometry-d2.ads | with
float_Math.Algebra.linear,
any_Math.any_Geometry.any_d2;
package float_math.Geometry.d2 is new float_Math.Geometry.any_d2 (float_Math.Algebra.linear);
pragma Pure (float_math.Geometry.d2);
|
27,632 | ada | 192 | rocher/Ada_Drivers_Library | arch/RISC-V/src/riscv-csr_generic.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (C) 2020, AdaCore --
-- --
-- ... |
27,633 | ada | 1 | mullikine/RosettaCodeData | Task/Generate-lower-case-ASCII-alphabet/Ada/generate-lower-case-ascii-alphabet-1.ada | <filename>Task/Generate-lower-case-ASCII-alphabet/Ada/generate-lower-case-ascii-alphabet-1.ada
type Lower_Case is new Character range 'a' .. 'z';
|
27,634 | ada | 0 | sebsgit/textproc | src/tests/opencltests.adb | with AUnit.Assertions; use AUnit.Assertions;
with Ada.Text_IO;
with Interfaces.C; use Interfaces.C;
with System.Address_To_Access_Conversions;
with dl_loader;
with opencl; use opencl;
with cl_objects; use cl_objects;
with System;
with System.Address_Image;
with Ada.Environment_Variables;
package body OpenCLTests is
... |
27,635 | ada | 33 | ytomino/drake | source/strings/a-stmana.ads | <filename>source/strings/a-stmana.ads<gh_stars>10-100
pragma License (Unrestricted);
-- implementation unit
with Ada.Strings.Naked_Maps;
package Ada.Strings.Maps.Naked is
pragma Preelaborate;
generic
with function Source return not null Naked_Maps.Character_Set_Access;
function To_Set return Character_... |
27,636 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/boolean_bitfield.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/boolean_bitfield.adb<gh_stars>1-10
-- { dg-do run }
-- { dg-options "-O" }
with System; use System;
procedure Boolean_Bitfield is
Units_Per_Integer : constant :=
(Integer'Size + System.Storage_Unit - 1) / System.Storage_Unit;
type E_type is (Red, Blue, G... |
27,637 | ada | 488 | ouankou/rose | tests/nonsmoke/functional/CompileTests/experimental_ada_tests/tests/enum_colors.ads | package enum_colors is
type Traffic_Light is (Red, Yellow, Green);
end enum_colors;
|
27,638 | ada | 15 | AdaCore/training_material | courses/spark_for_ada_programmers/labs/answers/150_crossing_the_spark_boundary/crypto.adb | <filename>courses/spark_for_ada_programmers/labs/answers/150_crossing_the_spark_boundary/crypto.adb<gh_stars>10-100
pragma Ada_2012;
with Interfaces.C;
use type Interfaces.C.int;
package body Crypto with
SPARK_Mode,
Refined_State => (key_store => null)
is
-------------
-- loadkey --
-------------
pr... |
27,639 | ada | 33 | ytomino/drake | source/machine-pc-freebsd/s-unwmap.adb | <filename>source/machine-pc-freebsd/s-unwmap.adb
with Ada.Unchecked_Conversion;
with System.Address_To_Constant_Access_Conversions;
with System.Address_To_Named_Access_Conversions;
with System.Stack;
with System.Unwind.Raising;
with System.Unwind.Standard;
with C.string;
with C.sys.ucontext;
package body System.Unwind.... |
27,640 | ada | 0 | csb6/libtcod-ada | src/generated/fov_h.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with fov_types_h;
with Interfaces.C.Extensions;
with error_h;
package fov_h is
-- BSD 3-Clause License
-- *
-- * Copyright © 2008-2021, Jice and the libtcod contributors.
-- * All rights reserved.
-- *
-- * Redistribution an... |
27,641 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/model/opengl-model.ads | <filename>3-mid/opengl/source/lean/model/opengl-model.ads<gh_stars>10-100
with
openGL.remote_Model,
openGL.Font,
openGL.Texture,
openGL.Geometry;
package openGL.Model
--
-- Provides an abstract base class for 3D models.
--
is
use Geometry_3d;
type Item is abstract new openGL.remote_Model.i... |
27,642 | ada | 24 | svn2github/matreshka | source/xml/sax/matreshka-internals-xml-entity_tables.ads | <reponame>svn2github/matreshka<filename>source/xml/sax/matreshka-internals-xml-entity_tables.ads
------------------------------------------------------------------------------
-- --
-- Matreshka Project ... |
27,643 | ada | 0 | beyondmetis/.emacs.d | flycheck/test/resources/language/ada/syntaxerror.adb | <filename>flycheck/test/resources/language/ada/syntaxerror.adb
with Ada.Text_IO;
with Ada.Command_Line;
procedure SyntaxError is
package IO renames Ada.Text_IO;
begin
IO.Put_Line("Hello, world!")
end SyntaxErro;
|
27,644 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/System-time/Ada/system-time.ada | with Ada.Calendar; use Ada.Calendar;
with Ada.Calendar.Formatting; use Ada.Calendar.Formatting;
with Ada.Calendar.Time_Zones; use Ada.Calendar.Time_Zones;
with Ada.Text_Io; use Ada.Text_Io;
procedure System_Time is
Now : Time := Clock;
begin
Put_line(Image(Date => Now, Time_Zone => -7*60));
end System_Time;
|
27,645 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/src/trap_dump__aarch64.adb | <reponame>JCGobbi/Nucleo-STM32G474RE
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
27,646 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/ce/ce2411a.ada | <reponame>best08618/asylo
-- CE2411A.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 contai... |
27,647 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/concat2.ads | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/concat2.ads
package Concat2 is
procedure Browse;
end Concat2;
|
27,648 | ada | 0 | adammw/rtp_labs | week1/floats.adb | <gh_stars>0
with Ada.Text_Io, Ada.Float_Text_IO;
use Ada.Text_Io, Ada.Float_Text_IO;
procedure Floats is
A, B : Float;
begin
Put("A=");
Get(A);
Put("B=");
Get(B);
if A > B then
Put_Line(A'img);
else
Put_Line(B'img);
end if;
end Floats;
|
27,649 | ada | 1 | GambuzX/Pixy-SIW | pixy/src/host/pantilt_in_ada/specs/wchar_h.ads | --
-- Copyright (c) 2015, <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 appear in all copies.
--
-- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUT... |
27,650 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c4/c49025a.ada | -- C49025A.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... |
27,651 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/g-memdum.ads | <reponame>brucegua/moocos
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
27,652 | ada | 0 | luk9400/nsi | list3/task1/src/main.adb | <reponame>luk9400/nsi<gh_stars>0
with Ada.Text_IO;
with Mult;
procedure Main is
begin
Ada.Text_IO.Put_Line(Mult.Mult(15, 15)'Image);
end Main;
|
27,653 | ada | 0 | Sawchord/Ada_Drivers_Library | components/src/atmosphere/bmp280/bmp280.ads | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2018, AdaCore --
-- ... |
27,654 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/taft_type2.ads | <reponame>best08618/asylo
package Taft_Type2 is
procedure Proc;
end Taft_Type2;
|
27,655 | ada | 1 | Hathoute/ENSEEIHT | PIM/TP1_Algorithmique/longueur_serie.adb | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Integer_Text_IO; use Ada.Integer_Text_IO;
-- Afficher la longueur d'un série dont les valeurs sont lues au clavier.
-- La série se termine par la valeur nulle.
procedure Longueur_Serie is
Valeur: Integer; -- Une valeur de la série
Longueur: Intege... |
27,656 | ada | 0 | csb6/libtcod-ada | src/generated/ustdio_h.ads | pragma Ada_2012;
pragma Style_Checks (Off);
with Interfaces.C; use Interfaces.C;
with sys_utypes_h;
with System;
with Interfaces.C.Strings;
package ustdio_h is
-- * Copyright (c) 2000, 2005, 2007, 2009, 2010 Apple Inc. All rights reserved.
-- *
-- * @APPLE_LICENSE_HEADER_START@
-- *
-- * This file contains... |
27,657 | ada | 0 | persan/a-vulkan | src/vulkan.adb | <filename>src/vulkan.adb
pragma Ada_2012;
with Vulkan.Low_Level.Vulkan_Core_H;
with Interfaces.C;
package body Vulkan is
use Vulkan.Low_Level.Vulkan_Core_H;
use Interfaces.C;
--------------------------------
-- VkEnumerateInstanceVersion --
--------------------------------
function VkEnumerateInstanc... |
27,658 | ada | 0 | Fabien-Chouteau/ASFML | include/sf-system-sleep.ads | <reponame>Fabien-Chouteau/ASFML
--//////////////////////////////////////////////////////////
-- SFML - Simple and Fast Multimedia Library
-- Copyright (C) 2007-2015 <NAME> (<EMAIL>)
-- This software is provided 'as-is', without any express or implied warranty.
-- In no event will the authors be held liable for any dama... |
27,659 | ada | 0 | wookey-project/ewok-legacy | src/Ada/ewok-softirq.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 of the License at
--
-- http... |
27,660 | ada | 0 | honno/code-solutions | university/language-concepts-labs/1/ada/circle.adb | <reponame>honno/code-solutions
with Ada.Command_Line;
use Ada.Command_Line;
with Ada.Integer_Text_IO;
use Ada.Integer_Text_IO;
with Text_IO;
use Text_IO;
procedure Circle is
size : Integer;
procedure SetSize is
last : Integer;
begin
Get(Argument(1),size,last);
end SetSize;
function ShouldPaint(i,j... |
27,661 | ada | 0 | fintatarta/eugen | src/Processors/project_processor-processors-processor_tables.ads | with Plugins.Tables;
package Project_Processor.Processors.Processor_Tables is
new Plugins.Tables (Root_Plugin_Type => Abstract_Processor,
Plugin_Parameters => Processor_Parameter,
Plugin_ID => Processor_ID,
Constructor => Create);
|
27,662 | ada | 33 | ytomino/drake | examples/dll_client.adb | with Ada.IO_Exceptions;
with Interfaces.C.Strings;
with System.Program.Dynamic_Linking;
with System.Storage_Elements.Formatting;
procedure dll_client is
begin
Ada.Debug.Put (System.Program.Full_Name);
Ada.Debug.Put (System.Storage_Elements.Formatting.Image (System.Program.Load_Address));
use_zlib : declare
zlib : ... |
27,663 | ada | 20 | charlie5/lace | 1-base/math/source/generic/pure/geometry/any_math-any_geometry-any_d3.adb | package body any_Math.any_Geometry.any_d3
is
--------
-- Plane
--
procedure normalise (the_Plane : in out Plane)
is
use Functions;
inverse_Magnitude : constant Real := 1.0 / SqRt ( the_Plane (1) * the_Plane (1)
+ the_Plane (2) * the_Pl... |
27,664 | ada | 45 | alkalinin/raytracer | ada/src/cameras.adb | <reponame>alkalinin/raytracer
--
-- Raytracer implementation in Ada
-- by <NAME> (github: johnperry-math)
-- 2021
--
-- implementation for Cameras, that view the scene
--
-- local packages
with RayTracing_Constants; use RayTracing_Constants;
package body Cameras is
function Create_Camera(Position, Target: Vector... |
27,665 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt9.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/opt9.adb
-- { dg-do compile }
-- { dg-options "-gnatws -O" }
with Opt9_Pkg; use Opt9_Pkg;
procedure Opt9 is
type Array_T is array (1 .. N) of Integer;
type Clock_T is record
N_Ticks : Integer := 0;
end record;
type Rec is record
Values :... |
27,666 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada95/s-signal.ads | ------------------------------------------------------------------------------
-- --
-- GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS --
-- --
-- ... |
27,667 | ada | 2 | egustafson/sandbox | Ada/gnat/ptask.adb | with text_io, task_control;
use text_io, task_control;
procedure ptask is
-- y : duration := 0.0005;
package int_io is new integer_io (integer);
use int_io;
task looper is
end;
task body looper is
begin
for j in 1 .. 100 loop
put (j);
new_line;
end loop;
new_line;
put_... |
27,668 | ada | 88 | VVCAS-Sean/OpenUxAS | src/ada/src/services/spark/afrl-cmasi-missioncommand-spark_boundary.adb | package body AFRL.CMASI.MissionCommand.SPARK_Boundary with SPARK_Mode => Off is
-------------------
-- Get_VehicleID --
-------------------
function Get_VehicleID
(Command : MissionCommand) return Int64
renames getVehicleID;
end AFRL.CMASI.MissionCommand.SPARK_Boundary;
|
27,669 | ada | 33 | ytomino/drake | source/streams/a-storio.adb | package body Ada.Storage_IO is
use type System.Storage_Elements.Storage_Offset;
procedure Read (Buffer : Buffer_Type; Item : out Element_Type) is
subtype T is
System.Storage_Elements.Storage_Array (
1 ..
(Item'Size + Standard'Storage_Unit - 1) / Standard'Storage_Unit);
... |
27,670 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-ref-man-2012.5/progs/arm_indx.ads | with ARM_Output;
package ARM_Index is
--
-- Ada reference manual formatter (ARM_Form).
--
-- This package contains the routines to manage and generate the index.
--
-- ---------------------------------------
-- Copyright 2000, 2005, 2006, 2011
-- AXE Consultants. All rights ... |
27,671 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/self_aggregate_with_array.adb | <gh_stars>1-10
-- { dg-do run }
procedure self_aggregate_with_array is
type Value_Bounds is array (1 .. 2) of Natural;
type Sensor is record
Value : Natural;
Bounds : Value_Bounds;
end record;
Pressure : Sensor;
begin
Pressure.Value := 256;
Pressure := (Value => Pressure.Value, Bound... |
27,672 | ada | 19 | jrcarter/Ada_GUI | ada_gui-gnoga-gui-element-list.adb | -- Ada_GUI implementation based on Gnoga. Adapted 2021
-- --
-- GNOGA - The GNU Omnificent GUI for Ada --
-- --
-- G N O G A ... |
27,673 | ada | 24 | svn2github/matreshka | source/league/matreshka-internals-stream_element_vectors.adb | <reponame>svn2github/matreshka
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
27,674 | ada | 2 | stcarrez/hestia | tools/src/gif2ada.adb | <reponame>stcarrez/hestia
-----------------------------------------------------------------------
-- gif2ada -- Read a GIF image and write an Ada package with it for UI.Images
-- Copyright (C) 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... |
27,675 | ada | 24 | svn2github/matreshka | tools/parser_transformer/parser_extractor.adb | <gh_stars>10-100
------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- ... |
27,676 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/arm/stm32/stm32f40x/svd/i-stm32-usart.ads | <reponame>JCGobbi/Nucleo-STM32G474RE
--
-- Copyright (C) 2017, AdaCore
--
-- This spec has been automatically generated from STM32F40x.svd
pragma Ada_2012;
pragma Style_Checks (Off);
with System;
package Interfaces.STM32.USART is
pragma Preelaborate;
pragma No_Elaboration_Code_All;
---------------
--... |
27,677 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/STM32/drivers/stm32-setup.ads | <reponame>morbos/Ada_Drivers_Library
------------------------------------------------------------------------------
-- --
-- Copyright (C) 2017, AdaCore --
-- ... |
27,678 | ada | 81 | twdroeger/ada-awa | awa/plugins/awa-wikis/src/awa-wikis-servlets.adb | -----------------------------------------------------------------------
-- awa-wikis-servlets -- Serve files saved in the storage service
-- Copyright (C) 2016, 2018 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in co... |
27,679 | ada | 0 | stcarrez/hyperion | src/model/hyperion-agents-models.adb | -----------------------------------------------------------------------
-- Hyperion.Agents.Models -- Hyperion.Agents.Models
-----------------------------------------------------------------------
-- File generated by ada-gen DO NOT MODIFY
-- Template used: templates/model/package-body.xhtml
-- Ada Generator: https:... |
27,680 | ada | 1 | charlie5/lace-alire | 3-mid/opengl/source/lean/model/opengl-model-hexagon_column-lit_colored_faceted.ads | with
openGL.Geometry,
openGL.Texture;
package openGL.Model.hexagon_Column.lit_colored_faceted
--
-- Models a lit, colored and textured column with 6 faceted shaft sides.
--
is
type Item is new Model.hexagon_Column.Item with private;
type View is access all Item'Class;
---------
--- Faces
-... |
27,681 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/exp_pakd.ads | <reponame>djamal2727/Main-Bearing-Analytical-Model
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
27,682 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/geometry/opengl-geometry.ads | with
openGL.Primitive,
openGL.Buffer,
openGL.Program,
openGL.Texture;
private
with
ada.Strings.unbounded;
package openGL.Geometry
--
-- Provides a base class for openGL geometry.
-- A Geometry is composed of up to 5 primitives.
-- Each primitive has its own set of GL indices and a facet ki... |
27,683 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/sem_attr.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
27,684 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-devices-surfaces-image.ads | <reponame>micahwelf/FLTK-Ada<filename>src/fltk-devices-surfaces-image.ads
with
FLTK.Images.RGB,
FLTK.Images.Shared,
FLTK.Widgets.Groups.Windows;
package FLTK.Devices.Surfaces.Image is
type Image_Surface is new Surface_Device with private;
type Image_Surface_Reference (Data : not null access ... |
27,685 | ada | 1 | brucegua/moocos | tools/scitools/conf/understand/ada/ada12/s-fatgen.ads | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
27,686 | ada | 0 | mstewartgallus/linted | src/ada-core/src/linted-stdio.ads | -- Copyright 2015,2016 <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 to in ... |
27,687 | ada | 4 | jfuica/bingada | src/q_bingo-q_bombo.adb | <gh_stars>1-10
--*****************************************************************************
--*
--* PROJECT: BINGADA
--*
--* FILE: q_bingo-q_bombo.adb
--*
--* AUTHOR: <NAME>
--*
--*****************************************************************************
with Q_Gen_Shuffle;
... |
27,688 | ada | 35 | arc-aosp/external_libncurses | Ada95/src/terminal_interface-curses-forms-field_types-user.ads | ------------------------------------------------------------------------------
-- --
-- GNAT ncurses Binding --
-- --
-- ... |
27,689 | ada | 0 | caqg/linux-home | .emacs.d/elpa/wisi-3.1.3/sal-ada_containers.ads | <reponame>caqg/linux-home<gh_stars>0
-- Abstract :
--
-- Root of extensions to Ada.Containers.
--
-- Copyright (C) 2019 Free Software Foundation All Rights Reserved.
--
-- 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... |
27,690 | ada | 1 | OneWingedShark/Risi | src/risi_script-interfaces.ads | <reponame>OneWingedShark/Risi<filename>src/risi_script-interfaces.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;
Package Risi_Script.Interfaces is
Use Risi_Script.Types... |
27,691 | ada | 2 | morbos/Ada_Drivers_Library | arch/ARM/RP/svd/rp2040/rp_svd-xip_ssi.ads | <reponame>morbos/Ada_Drivers_Library<gh_stars>1-10
-- Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
--
-- SPDX-License-Identifier: BSD-3-Clause
-- This spec has been automatically generated from rp2040.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
pragma Style_Checks (Off);
with HAL;
with Syste... |
27,692 | ada | 3 | charlie5/aIDE | attic/asis/find_all/adam-assist-query-find_all-actuals_for_traversing-post_op.adb | with AdaM.Assist.Query.find_All.Metrics;
with Ada.Wide_Text_IO;
with Ada.Characters.Handling;
with Ada.Exceptions;
with Asis.Exceptions;
with Asis.Errors;
with Asis.Implementation,
asis.Elements;
separate (AdaM.Assist.Query.find_All.Actuals_for_traversing)
procedure Post_Op
(Element : Asis.Element;
... |
27,693 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/hpl/STM32/svd/stm32f427x/stm32_svd-ethernet.ads | -- This spec has been automatically generated from STM32F427x.svd
pragma Restrictions (No_Elaboration_Code);
pragma Ada_2012;
with System;
with HAL;
package STM32_SVD.Ethernet is
pragma Preelaborate;
---------------
-- Registers --
---------------
--------------------
-- MACCR_Register --
---... |
27,694 | ada | 65 | PThierry/ewok-kernel | src/ewok.ads | <gh_stars>10-100
--
-- 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 of the License ... |
27,695 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-formal_object_declarations.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Defining_Identifiers;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Aspect_Specifications;
with Program.Ele... |
27,696 | ada | 1 | ytomino/openssl-ada | source/crypto-sha1.ads | with Ada.IO_Exceptions;
with Ada.Streams;
private with C.openssl.sha;
package Crypto.SHA1 is
pragma Preelaborate;
subtype Fingerprint is Ada.Streams.Stream_Element_Array (0 .. 19);
subtype Message_Digest is String (1 .. 40);
type Context (<>) is private;
function Initial return Context;
procedure Update (... |
27,697 | ada | 20 | charlie5/lace | 3-mid/opengl/source/lean/geometry/opengl-primitive-short_indexed.adb | <gh_stars>10-100
with
openGL.Errors,
openGL.Buffer,
openGL.Tasks,
GL.Binding,
ada.unchecked_Deallocation;
package body openGL.Primitive.short_indexed
is
---------
--- Forge
--
procedure define (Self : in out Item; Kind : in facet_Kind;
... |
27,698 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/mdll-fil.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
27,699 | ada | 1 | vidkidz/crossbridge | llvm-gcc-4.2-2.9/gcc/ada/uname.ads | <filename>llvm-gcc-4.2-2.9/gcc/ada/uname.ads
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.