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 |
|---|---|---|---|---|---|
7,400 | ada | 12 | TUM-EI-RCS/StratoX | software/unittest/estimator/src/main.adb | with Estimator;
with Units.Navigation; use Units.Navigation;
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Real_Time; use Ada.Real_Time;
with Simulation;
with Units; use Units;
with Units.Vectors; use Units.Vectors;
with Kalman;
procedure main is
subtype Elevon_Angle_Type is Angle_Type range -45.0 * Degree .. 4... |
7,401 | ada | 204 | spr93/whitakers-words | src/words_engine/words_engine-pearse_code.adb | <gh_stars>100-1000
-- 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
-... |
7,402 | ada | 0 | fintatarta/generic-dsp | src/dsp.ads | package Dsp is
subtype Normalized_Frequency is Float range 0.0 .. 1.0;
subtype Radius is Float range 0.0 .. Float'Last;
subtype Stable_Radius is Radius range 0.0 .. 1.0;
end Dsp;
|
7,403 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-real_range_specifications.ads | <reponame>reznikmm/gela<gh_stars>0
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Expressions;
with Program.Elements.Real_Range_Specifications;
with Program.Element_... |
7,404 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-diflio.ads | <reponame>orb-zhuchen/Orb<filename>support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/s-diflio.ads
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS ... |
7,405 | ada | 0 | sebsgit/textproc | src/histogramdescriptor.ads | <reponame>sebsgit/textproc<gh_stars>0
with Histogram;
with PixelArray;
with ImageRegions;
package HistogramDescriptor is
pragma Assertion_Policy (Pre => Check,
Post => Check,
Type_Invariant => Check);
BinCount: Positive := 20;
type Divergence is (Jense... |
7,406 | ada | 0 | reznikmm/declarative-regions | source/regions/regions-environments.ads | -- SPDX-FileCopyrightText: 2022 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Regions.Contexts.Environments;
package Regions.Environments renames Regions.Contexts.Environments;
|
7,407 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/return1.ads | package return1 is
type Base is abstract tagged null record;
type Child is new Base with record
Anon_Access : access Base'Class;
end record;
function X_Func (O : access Child) return access Base'Class;
end return1;
|
7,408 | ada | 0 | djgoku/RosettaCodeData | Task/Modular-inverse/Ada/modular-inverse-2.ada | <gh_stars>0
package body Mod_Inv is
procedure X_GCD(A, B: in Natural; D, X, Y: out Integer) is
-- the Extended Euclidean Algorithm
-- finds (D, X, Y) with D = GCD(A, B) = A*X + B*Y
R: Natural := A mod B;
begin
if R=0 then
D := B;
X := 0;
Y := 1;
else
... |
7,409 | ada | 214 | marcelkauf/Meridian59-101 | resource/graphics/ckirmse.adb | [Users]
<EMAIL>=
|
7,410 | ada | 0 | orb-zhuchen/Orb | support/MinGW/lib/gcc/mingw32/9.2.0/adainclude/a-cohama.adb | ------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- --
-- ... |
7,411 | ada | 0 | JCGobbi/Nucleo-STM32G474RE | bb-runtimes/runtimes/ravenscar-sfp-stm32g474/gnarl/s-taprob.adb | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
7,412 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-procedure_access_types.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Lexical_Elements;
with Program.Elements.Parameter_Specifications;
with Program.Elements.Procedure_Access_Types;
with Program.Element_Visitors;
package Progra... |
7,413 | ada | 2 | Lucretia/lispy | src/ampc.adb | <filename>src/ampc.adb
package body AMPC is
use type C.int;
function Parse (Input : in String;
Parser : in Parsers_Ptr;
Result : in Results_Ptr;
Filename : in String := "<stdin>") return Boolean is
function Parse (Filename : in C.Strings.chars... |
7,414 | ada | 192 | rocher/Ada_Drivers_Library | arch/ARM/Nordic/svd/nrf51/nrf_svd-wdt.ads | -- Copyright (c) 2013, Nordic Semiconductor ASA
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice, this
-- lis... |
7,415 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/itypes.adb | <gh_stars>1-10
-- { dg-do compile }
package body itypes is
Size : constant := 10;
type Arr is array (1 .. size) of Integer;
type Rec is record
Field1 : Arr := (others => 0);
Field2 : Arr := (others => 0);
Field3 : Arr := (others => 0);
Field4 : Arr := (others => 0);
Field5 :... |
7,416 | ada | 0 | optikos/oasis | source/nodes/program-nodes-selected_components.adb | <reponame>optikos/oasis
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Selected_Components is
function Create
(Prefix : not null Program.Elements.Expressions.Ex... |
7,417 | ada | 0 | Letractively/ada-util | regtests/util-streams-texts-tests.adb | -----------------------------------------------------------------------
-- streams.files.tests -- Unit tests for buffered streams
-- Copyright (C) 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 ... |
7,418 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-caldel.adb | <gh_stars>0
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS --
-- ... |
7,419 | ada | 24 | svn2github/matreshka | source/amf/dd/amf-dg.ads | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,420 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/test_table1.adb | -- { dg-do run }
with GNAT.Table;
with Ada.Text_IO; use Ada.Text_IO;
procedure test_table1 is
type Rec is record
A, B, C, D, E : Integer := 0;
F, G, H, I, J : Integer := 1;
K, L, M, N, O : Integer := 2;
end record;
R : Rec;
package Tab is new GNAT.Table (Rec, Positive, 1, 4, ... |
7,421 | ada | 10 | HeisenbugLtd/Saatana | src/saatana-crypto.adb | ------------------------------------------------------------------------------
-- Copyright (C) 2017-2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under the
-- terms of the Do What The Fuck You Want To Public License, Version 2,
-- as published by Sam Hocevar. Se... |
7,422 | ada | 30 | jscparker/math_packages | disorderly/gcd_8bytes_1.adb |
with Disorderly.Random; use Disorderly.Random;
with Disorderly.Random.Clock_Entropy;
with Chi_Gaussian_CDF;
with text_io; use text_io;
-- translated from Marsaglia, Tsang diehard suite.
procedure gcd_8bytes_1 is
Bits_per_Random_Word : constant := 61;
-- Must set this correctly here. There's no wa... |
7,423 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbre.adb | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/a-nbnbre.adb
------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- ... |
7,424 | ada | 2 | charlie5/cBound | tier-1/fann/source/thin/fann_c-fann_callback_type.ads | <reponame>charlie5/cBound
-- This file is generated by SWIG. Please do *not* modify by hand.
--
with fann_c.fann_train_data;
with interfaces.c;
limited with fann_c.fann;
with interfaces.C;
package fann_c.fann_callback_type is
-- Item
--
type Item is access
function (arg_6_1 : access fann_c.fann.Ite... |
7,425 | ada | 0 | reznikmm/gela | source/nodes/program-nodes-operator_symbols-set_defining_name.adb | <filename>source/nodes/program-nodes-operator_symbols-set_defining_name.adb
-- SPDX-FileCopyrightText: 2020-2021 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
procedure Program.Nodes.Operator_Symbols.Set_Defining_Name
(Self : not null Program.Ele... |
7,426 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Polymorphism/Ada/polymorphism-1.ada | package Shapes is
type Point is tagged private;
procedure Print(Item : in Point);
function Setx(Item : in Point; Val : Integer) return Point;
function Sety(Item : in Point; Val : Integer) return Point;
function Getx(Item : in Point) return Integer;
function Gety(Item : in Point) return Integer;
fun... |
7,427 | ada | 81 | My-Colaborations/ada-awa | awa/plugins/awa-images/src/awa-images-modules.adb | <reponame>My-Colaborations/ada-awa
-----------------------------------------------------------------------
-- awa-images-modules -- Image management module
-- Copyright (C) 2012, 2016, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... |
7,428 | ada | 3 | vasil-sd/ada-tlsf | bits/src/shift/axiom/logic_left/bitoperations-shift-axiom-logic_left.adb | <reponame>vasil-sd/ada-tlsf<gh_stars>1-10
package body BitOperations.Shift.Axiom.Logic_Left
with SPARK_Mode => Off is
-----------------------------------------------------
-- Axiom_Shift_Left_Is_Eq_Multiplying_By_Power_Of2 --
-----------------------------------------------------
procedure Equal_Mult_By_Po... |
7,429 | ada | 10 | LionelDraghi/smk | src/smk-assertions.adb | <filename>src/smk-assertions.adb
-- -----------------------------------------------------------------------------
-- smk, the smart make (http://lionel.draghi.free.fr/smk/)
-- © 2018, 2019 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- --------------------------------------------------------------------------... |
7,430 | ada | 0 | fintatarta/protypo | src/Internals/protypo-code_trees-interpreter-names.ads | <reponame>fintatarta/protypo
--
-- A name is, more or less, a variable that can include both indexes
-- array-like and fields record-like. For example,
--
-- foo.bar(5).gim
--
-- The evaluation of a name does not return a scalar, but a reference.
-- Why? Because a name can be on the left hand side of an assignment
-... |
7,431 | ada | 0 | djamal2727/Main-Bearing-Analytical-Model | Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-spitbo.ads | <filename>Validation/pyFrame3DD-master/gcc-master/gcc/ada/libgnat/g-spitbo.ads
------------------------------------------------------------------------------
-- --
-- GNAT LIBRARY COMPONENTS --
-- ... |
7,432 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/scn.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,433 | ada | 0 | HeisenbugLtd/msg_passing | extra/msg_passing-whiteboard.adb | ------------------------------------------------------------------------
-- Copyright (C) 2010-2020 by Heisenbug Ltd. (<EMAIL>)
--
-- This work is free. You can redistribute it and/or modify it under
-- the terms of the Do What The Fuck You Want To Public License,
-- Version 2, as published by Sam Hocevar. See the ... |
7,434 | ada | 0 | mstewartgallus/linted | src/linted-simulator/src/linted-types.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 ... |
7,435 | ada | 1 | fabiojna02/OpenCellular | firmware/coreboot/3rdparty/libhwbase/common/hw.ads | <reponame>fabiojna02/OpenCellular
--
-- Copyright (C) 2015-2017 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; either version 2 of the License, or
-- (at your... |
7,436 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/e/eb4012a.ada | -- EB4012A.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... |
7,437 | ada | 0 | reznikmm/gela | source/oasis/program-elements-formal_derived_type_definitions.ads | -- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with Program.Elements.Formal_Type_Definitions;
with Program.Lexical_Elements;
with Program.Elements.Expressions;
package Program.Elements.Formal_Derived_Type_Definitions ... |
7,438 | ada | 12 | TUM-EI-RCS/StratoX | tests/alternative-units/dimension_test.adb | <filename>tests/alternative-units/dimension_test.adb
with Units; use Units;
with Units.Vectors; use Units.Vectors;
with CoSy; use CoSy;
use CoSy.Electric_Field_Pack;
with System.Dim.Float_IO;
with Ada.Text_IO; use Ada.Text_IO;
procedure Dimension_Test is
package Unit_IO is new System.Dim.Float_IO( Unit_Type )... |
7,439 | ada | 0 | TNO/Dependency_Graph_Extractor-Ada | src/extraction-generic_instantiations.adb | with Extraction.Node_Edge_Types;
with Extraction.Utilities;
package body Extraction.Generic_Instantiations is
use type LALCO.Ada_Node_Kind_Type;
function Is_Generic_Instantiation
(Node : LAL.Ada_Node'Class) return Boolean is
(Node.Kind in LALCO.Ada_Generic_Package_Instantiation |
LALCO.Ada_... |
7,440 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/aggr14.adb | <gh_stars>1-10
-- { dg-do run }
with Aggr14_Pkg; use Aggr14_Pkg;
procedure Aggr14 is
begin
Proc;
end;
|
7,441 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/prot2.ads | package Prot2 is
procedure Dummy;
end Prot2;
|
7,442 | ada | 0 | faelys/natools | src/natools-s_expressions-encodings.ads | <reponame>faelys/natools
------------------------------------------------------------------------------
-- Copyright (c) 2013, <NAME> --
-- --
-- Permission to use, copy, modify, and distribute this software ... |
7,443 | ada | 2 | morbos/Ada_Drivers_Library | boards/native/src/native-filesystem.adb | with Ada.Directories;
with Ada.Unchecked_Deallocation;
package body Native.Filesystem is
-- ??? There are a bunch of 'Unrestricted_Access here because the
-- HAL.Filesystem API embeds implicit references to filesystems. It
-- woudl be good to make these references explicit at some point to
-- avoid kl... |
7,444 | ada | 15 | mgrojo/adalib | system-machine_code.ads | -- 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.
-- SPDX-License-... |
7,445 | ada | 24 | svn2github/matreshka | source/amf/mof/cmof/amf-internals-tables-cmof_metamodel.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,446 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/a/a29003a.ada | -- A29003A.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... |
7,447 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/lhs_view_convert.adb | <reponame>best08618/asylo
-- { dg-do run }
-- { dg-options "-gnatp" }
procedure Lhs_View_Convert is
type Root is tagged record
RV : Natural;
end record;
type Derived is new Root with null record;
Root_Instance : Root := (RV => 1);
Derived_Instance : Derived;
procedure Process is
X : ... |
7,448 | ada | 0 | xuedong/mini-ada | tests/typing/good/testfile-record-3.adb | with Ada.Text_IO; use Ada.Text_IO;
procedure Test is
type R1 is record A: integer; end record;
type R2 is record A: integer; end record;
begin New_Line; end;
|
7,449 | ada | 1 | Hathoute/ENSEEIHT | PIM/TD1_Algorithmique/Racine_Carre/racine_carree_rang_2.adb | <gh_stars>1-10
with Ada.Text_IO; use Ada.Text_IO;
with Ada.Float_Text_IO; use Ada.Float_Text_IO;
-- Afficher une valeur approchée de la racine carréé d'un nombre réel
procedure Racine_Carree_Rang is
Epsilon: constant Float := 1.0e-6; -- précision souhaitée
A: Float; -- le nombre dont on veut calcule... |
7,450 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/g-byorma.adb | <filename>gcc-gcc-7_3_0-release/gcc/ada/g-byorma.adb
------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- ... |
7,451 | ada | 1 | GauBen/Arbre-Genealogique | src/graphe.adb | <reponame>GauBen/Arbre-Genealogique<gh_stars>1-10
with Ada.Unchecked_Deallocation;
package body Graphe is
procedure Initialiser (Graphe : out T_Graphe) is
begin
Graphe := null;
end Initialiser;
procedure Desallouer_Sommet is new Ada.Unchecked_Deallocation (T_Sommet,
T_Graphe);
procedure De... |
7,452 | ada | 33 | ytomino/drake | source/s-format.ads | <filename>source/s-format.ads
pragma License (Unrestricted);
-- runtime unit
with System.Long_Long_Integer_Types;
package System.Formatting is
pragma Pure;
subtype Number_Base is Integer range 2 .. 16; -- same as Text_IO.Number_Base
subtype Digit is Integer range 0 .. 15;
type Type_Set is (Lower_Case, Up... |
7,453 | ada | 0 | reznikmm/gela | source/nodes/program-relative_access_types.adb | <filename>source/nodes/program-relative_access_types.adb
-- SPDX-FileCopyrightText: 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-------------------------------------------------------------
with System.Storage_Elements;
with System.Address_To_Access_Conversions;
package body Program.Relative_Access_Typ... |
7,454 | ada | 0 | jquorning/CELLE | source/sets.adb | <filename>source/sets.adb
--
--
--
with Ada.Unchecked_Deallocation;
package body Sets is
Index_First : Index_Type := Index_Type'First;
Index_Last : Index_Type := Index_Type'First;
procedure Set_Range (First : in Index_Type;
Last : in Index_Type)
is
begin
Index_First ... |
7,455 | ada | 1 | bracke/brackelib | src/brackelib-stacks.ads | with Ada.Containers.Doubly_Linked_Lists;
use Ada.Containers;
generic
type T is private;
package Brackelib.Stacks is
-- @summary
-- Implementation of the stack abstract data type
type Stack is limited private;
procedure Push (Self : in out Stack; Item : T);
-- Adds an item to the top of the stack making... |
7,456 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/pack21.adb | -- { dg-do compile }
-- { dg-options "-gnatws" }
procedure Pack21 is
type Enum is (ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX,
SEVEN, EIGHT, NINE, TEN, ELEVEN, TWELVE,
THIRTEEN, FOURTEEN, FIFTEEN);
type Rec1 is record
I1 : INTEGER range 0 .. 800;
I2 : INTEGER range 0 .. 15 := ... |
7,457 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/discr3.ads | package discr3 is
type E is range 0..255;
type R1 is range 1..5;
type R2 is range 11..15;
type S1 is array(R1 range <>) of E;
type S2 is array(R2 range <>) of E;
V1 : S1( 2..3) := (0,0);
V2 : S2(12..13) := (1,1);
subtype R3 is R1 range 2..3;
V3 : S1 (R3);
end discr3;
|
7,458 | ada | 13 | annexi-strayline/AURA | child_processes-path_searching.adb | ------------------------------------------------------------------------------
-- --
-- Ada User Repository Annex (AURA) --
-- ANNEXI-STRAYLINE Reference Implementation --
-- ... |
7,459 | ada | 33 | ytomino/drake | source/s-foradd.adb | <reponame>ytomino/drake
package body System.Formatting.Address is
pragma Suppress (All_Checks);
subtype Word_Unsigned is Long_Long_Integer_Types.Word_Unsigned;
subtype Long_Long_Unsigned is Long_Long_Integer_Types.Long_Long_Unsigned;
-- implementation
procedure Image (
Value : System.Address;
... |
7,460 | ada | 0 | iyan22/AprendeAda | ejercicios4/matriz_toeplitz.adb | with Matriz;
use Matriz;
with rotar_derecha;
procedure matriz_toeplitz (V : in out Vector_De_Enteros; M : out Matriz_De_Enteros) is
Fila : Integer;
begin
Fila := V'First;
for I in V'First .. V'Last loop -- Filas del matriz
if Fila > V'First then -- En la primera fila no se tiene que rotar el vector
rotar_der... |
7,461 | ada | 60 | Letractively/ada-util | src/util-serialize-mappers-record_mapper.adb | <filename>src/util-serialize-mappers-record_mapper.adb
-----------------------------------------------------------------------
-- Util.Serialize.Mappers.Record_Mapper -- Mapper for record types
-- Copyright (C) 2010, 2011 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (th... |
7,462 | ada | 204 | lenzomj/whitakers-words | src/latin_utils/latin_utils-config.ads | -- 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... |
7,463 | ada | 0 | Letractively/ada-asf | src/asf-components-html-links.adb | <filename>src/asf-components-html-links.adb
-----------------------------------------------------------------------
-- html -- ASF HTML Components
-- Copyright (C) 2009, 2010, 2012 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use t... |
7,464 | ada | 12 | TUM-EI-RCS/StratoX | software/hal/hal/src/hal-framebuffer.ads | <gh_stars>10-100
with HAL.Bitmap;
package HAL.Framebuffer is
subtype FB_Color_Mode is HAL.Bitmap.Bitmap_Color_Mode range
HAL.Bitmap.ARGB_8888 .. HAL.Bitmap.AL_88;
type Display_Orientation is
(Default, Landscape, Portrait);
type Wait_Mode is (Polling, Interrupt);
type Frame_Buffer_Display is l... |
7,465 | ada | 3 | stcarrez/ada-css | tools/css-printer.ads | <filename>tools/css-printer.ads
-----------------------------------------------------------------------
-- css-printer -- CSS printer tools
-- Copyright (C) 2017, 2020 <NAME>
-- Written by <NAME> (<EMAIL>)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in ... |
7,466 | ada | 9 | alire-project/clic | src/clic-config.ads | <reponame>alire-project/clic
with AAA.Strings;
with TOML;
private with Ada.Containers.Hashed_Maps;
private with Ada.Strings.Unbounded.Hash;
package CLIC.Config with Preelaborate is
function Is_Valid_Config_Key (Key : String) return Boolean
is ((for all C of Key => C in '0' .. '9' | 'a' .. 'z' | 'A' .. 'Z' |
... |
7,467 | ada | 0 | zrmyers/GLFWAda | src/glfw-api.ads | <filename>src/glfw-api.ads
--------------------------------------------------------------------------------
-- 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 files (the "Software"), to ... |
7,468 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/s-atopri.ads | ------------------------------------------------------------------------------
-- --
-- GNAT RUN-TIME COMPONENTS --
-- --
-- ... |
7,469 | ada | 0 | caqg/linux-home | .emacs.d/elpa/ada-mode-5.3.1/gps_source/string_utils.adb | ------------------------------------------------------------------------------
-- G P S --
-- --
-- Copyright (C) 2000-2016, AdaCore --
-- ... |
7,470 | ada | 5 | reznikmm/increment | source/base/incr-documents.ads | <gh_stars>1-10
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
with Incr.Version_Trees;
limited with Incr.Nodes.Tokens;
package Incr.Documents is
-- @summary
-- Document representation
... |
7,471 | ada | 3 | TheSledgeHammer/2.11BSD | contrib/gnu/gdb/dist/gdb/testsuite/lib/gnat_debug_info_test.adb | with Ada.Text_IO;
procedure GNAT_Debug_Info_Test is
begin
Ada.Text_IO.Put_Line("Hello, world!");
end GNAT_Debug_Info_Test;
|
7,472 | ada | 0 | mgrojo/smk | src/smk-makefiles.adb | <reponame>mgrojo/smk
-- -----------------------------------------------------------------------------
-- smk, the smart make
-- © 2018 <NAME> <<EMAIL>>
-- SPDX-License-Identifier: APSL-2.0
-- -----------------------------------------------------------------------------
-- Licensed under the Apache License, Version 2.0 ... |
7,473 | ada | 5 | reznikmm/increment | source/base/incr-lexers-batch_lexers-generic_lexers.adb | <filename>source/base/incr-lexers-batch_lexers-generic_lexers.adb
-- Copyright (c) 2015-2017 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Incr.Lexers.Batch_Lexers.Generic_Lexers is
---------------
-... |
7,474 | ada | 33 | ytomino/drake | examples/acats/b730006_0-child1.adb | package body B730006_0.Child2 is
procedure Create (Bay : in out Dock) is
begin
null;
end Create;
end B730006_0.Child2;
|
7,475 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/ada/gnatname.adb | ------------------------------------------------------------------------------
-- --
-- GNAT COMPILER COMPONENTS --
-- --
-- ... |
7,476 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/bit_packed_array1.adb | <filename>gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/bit_packed_array1.adb
-- PR ada/33788
-- Origin: <NAME> <<EMAIL>>
-- { dg-do compile }
package body Bit_Packed_Array1 is
procedure Generate_Callforward is
Compiler_Crash : String :=
Laser_Illuminator_Code_Group_T'Image
(MADR.ISF.... |
7,477 | ada | 24 | svn2github/matreshka | source/sql/matreshka-internals-sql_drivers.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,478 | ada | 12 | TUM-EI-RCS/StratoX | tests/dispatch/ulog-gps.ads | -- Institution: Technische Universitaet Muenchen
-- Department: Realtime Computer Systems (RCS)
-- Project: StratoX
-- Author: <NAME> (<EMAIL>)
with ULog;
with Interfaces;
-- @summary
-- implements ULOG GPS message
package ULog.GPS with SPARK_Mode is
type fixtype is (NOFIX, DEADR, FIX2D, FIX3D, FIX... |
7,479 | ada | 0 | VitalijBondarenko/Formatted_Output_NG | src/formatted_output-time_output.adb | ------------------------------------------------------------------------------
-- --
-- Copyright (c) 2016-2021 <NAME> <<EMAIL>> --
-- --
----------------------------... |
7,480 | ada | 79 | Roldak/OpenGLAda | src/gl/implementation/gl-matrices.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
package body GL.Matrices is
function "+" (Left, Right : Matrix) return Matrix is
Return_Matrix : Matrix;
begin
for Column in Index_Type loop
for Row in Index_Type loop
R... |
7,481 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Substring-Top-and-tail/Ada/substring-top-and-tail-2.ada | <gh_stars>1-10
with Ada.Text_IO;
with Ada.Strings.UTF_Encoding.Wide_Strings;
procedure Remove_Characters
is
use Ada.Text_IO;
use Ada.Strings.UTF_Encoding;
use Ada.Strings.UTF_Encoding.Wide_Strings;
S : String := "upraisers";
U : Wide_String := Decode (UTF_8_String'(S));
function To_String (X : Wide... |
7,482 | ada | 1 | micahwelf/FLTK-Ada | src/fltk-widgets-buttons-enter.adb |
with
Interfaces.C,
System;
use type
System.Address;
package body FLTK.Widgets.Buttons.Enter is
procedure return_button_set_draw_hook
(W, D : in System.Address);
pragma Import (C, return_button_set_draw_hook, "return_button_set_draw_hook");
pragma Inline (return_button_set_dra... |
7,483 | ada | 33 | ytomino/drake | source/pools/required/s-poosiz.adb | pragma Check_Policy (Trace => Disable);
-- with Ada;
with System.Shared_Locking;
-- with System.Storage_Elements.Formatting;
package body System.Pool_Size is
type Unaligned_Storage_Offset is new Storage_Elements.Storage_Offset;
for Unaligned_Storage_Offset'Alignment use 1;
subtype Positive_Storage_Count is... |
7,484 | ada | 0 | Asier98/AdaCar | src/adacar-motores.ads | <filename>src/adacar-motores.ads<gh_stars>0
package AdaCar.Motores is
procedure Actua_Step(Motor: Tipo_Motor; Valor: Tipo_Step);
procedure Actua_Direccion(Motor: Tipo_Motor; Valor: Tipo_Direccion);
end AdaCar.Motores;
|
7,485 | ada | 81 | fuzzysloth/ada-awa | awa/plugins/awa-questions/regtests/awa-questions-modules-tests.ads | <reponame>fuzzysloth/ada-awa<filename>awa/plugins/awa-questions/regtests/awa-questions-modules-tests.ads<gh_stars>10-100
-----------------------------------------------------------------------
-- awa-questions-modules-tests -- Unit tests for question service
-- Copyright (C) 2013 <NAME>
-- Written by <NAME> (<EMAIL>... |
7,486 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Hamming-numbers/Ada/hamming-numbers.ada | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
with Ada.Numerics.Generic_Elementary_Functions;
with Ada.Text_IO; use Ada.Text_IO;
with GNATCOLL.GMP.Integers;
with GNATCOLL.GMP.Lib;
procedure Hamming is
type Log_Type is new Long_Long_Float;
package Funcs is new Ada.Numerics.Generic_Elementary_Functions (... |
7,487 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/ada/acats/tests/c9/c97201e.ada | <reponame>best08618/asylo<gh_stars>1-10
-- C97201E.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 docume... |
7,488 | ada | 7 | Fabien-Chouteau/Giza | test/src/test_tiles_window.ads | <filename>test/src/test_tiles_window.ads
with Giza.Widget.Tiles;
use Giza.Widget;
with Basic_Test_Window; use Basic_Test_Window;
package Test_Tiles_Window is
type Tiles_Window is new Test_Window with private;
type Tiles_Window_Ref is access all Tiles_Window;
overriding
procedure On_Init (This : in out Til... |
7,489 | ada | 1 | ytomino/vampire | source/vampire-villages-load.adb | <gh_stars>1-10
-- The Village of Vampire by YT, このソースコードはNYSLです
with Ada.Exceptions;
with Ada.Streams.Stream_IO;
with Serialization.YAML;
with YAML.Streams;
with Vampire.Villages.Village_IO;
procedure Vampire.Villages.Load (
Name : in String;
Village : in out Village_Type;
Info_Only : in Boolean := False)
is
File :... |
7,490 | ada | 79 | Roldak/OpenGLAda | tests/glfw3/glfw_test-monitors.adb | -- part of OpenGLAda, (c) 2017 <NAME>
-- released under the terms of the MIT license, see the file "COPYING"
with Glfw.Monitors;
with Ada.Text_IO;
procedure Glfw_Test.Monitors is
procedure Print_Gamma_Value_Array (Values : Glfw.Monitors.Gamma_Value_Array) is
use Ada.Text_IO;
First : Boolean := True;... |
7,491 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Greatest-element-of-a-list/Ada/greatest-element-of-a-list-3.ada | <reponame>LaudateCorpus1/RosettaCodeData<gh_stars>1-10
function Generic_Max (List : Items_Array) return Item is
Result : Item := List (List'First);
begin
for Index in List'First + 1..List'Last loop
Result := Item'Max (Result, List (Index));
end loop;
return Result;
end Generic_Max;
|
7,492 | ada | 7 | Fabien-Chouteau/Giza | src/hershey_fonts/giza-hershey_fonts-markers.ads | <filename>src/hershey_fonts/giza-hershey_fonts-markers.ads
package Giza.Hershey_Fonts.Markers is
Font : constant Giza.Font.Ref_Const;
private
Glyph_0 : aliased constant Glyph :=
(Number_Of_Vectors => 0,
Width => 16,
Height => 0,
Y_Offset => 0,
X_Offset => -8,
Vects => (others =>... |
7,493 | ada | 33 | ytomino/drake | source/tasking/required/s-taprob.ads | <filename>source/tasking/required/s-taprob.ads
pragma License (Unrestricted);
-- implementation unit required by compiler
with System.Synchronous_Objects;
package System.Tasking.Protected_Objects is
-- required by compiler
subtype Protected_Entry_Index is Entry_Index range Null_Entry .. Max_Entry;
subtype ... |
7,494 | ada | 24 | svn2github/matreshka | source/league/league-json-documents.adb | ------------------------------------------------------------------------------
-- --
-- Matreshka Project --
-- --
-- ... |
7,495 | ada | 0 | optikos/oasis | source/nodes/program-nodes-raise_expressions.adb | <reponame>optikos/oasis<filename>source/nodes/program-nodes-raise_expressions.adb
-- Copyright (c) 2019 <NAME> <<EMAIL>>
--
-- SPDX-License-Identifier: MIT
-- License-Filename: LICENSE
-------------------------------------------------------------
package body Program.Nodes.Raise_Expressions is
function Create
... |
7,496 | ada | 0 | SKNZ/BoiteMaker | src/utilities/point.ads | package point is
-- exception en cas de coordonnées invalides
invalid_pos : exception;
type point_t is
record
x, y : float := 0.0;
end record;
-- Bouge le point sur l'axe x
procedure mv_x(point : in out point_t; delta_x : float);
-- Bouge le point sur l'axe y
p... |
7,497 | ada | 1 | LaudateCorpus1/RosettaCodeData | Task/Roots-of-a-quadratic-function/Ada/roots-of-a-quadratic-function.ada | with Ada.Text_IO; use Ada.Text_IO;
with Ada.Numerics.Elementary_Functions; use Ada.Numerics.Elementary_Functions;
procedure Quadratic_Equation is
type Roots is array (1..2) of Float;
function Solve (A, B, C : Float) return Roots is
SD : constant Float := sqrt (B**2 - 4.0 * A * C);
... |
7,498 | ada | 7 | best08618/asylo | gcc-gcc-7_3_0-release/gcc/testsuite/gnat.dg/specs/array_no_def_init.ads | <reponame>best08618/asylo<gh_stars>1-10
-- { dg-do compile }
pragma Restrictions (No_Default_Initialization);
package Array_No_Def_Init is
type Int_Array is array (Natural range <>) of Integer;
IA : Int_Array (1 .. 10);
end Array_No_Def_Init;
|
7,499 | ada | 18 | kraileth/ravenadm | src/port_specification-json.adb | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
with Utilities;
with Ada.Characters.Latin_1;
with HelperText;
package body Port_Specification.Json is
package LAT renames Ada.Characters.Latin_1;
package UTL renames Utilities;
package HT renames Helper... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.