content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- contexts-facelets -- Contexts for facelets -- Copyright (C) 2009, 2010, 2011, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may no...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is Put('a'); end Test;
----------------------------------------------------------------------- -- css-tools-messages -- CSS tools messages -- Copyright (C) 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file exce...
with ${self.flavor}; package ${self.name} is new ${self.flavor};
with Ada.Real_Time; use Ada.Real_Time; with Text_IO; use Text_IO; procedure trabalho05 is canal: array(1..6) of Integer:=(-1,-1,-1,-1,-1,-1); type vetor is array(1..3) of Integer; comparacao: vetor; -- função de envio assíncrono procedure send (buf: in Integer; c: in Integer) is begin canal(c) := buf; -- valor do b...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Copyright 2015 Steven Stewart-Gallus -- -- 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 agr...
with AUnit; use AUnit; with AUnit.Reporter.Text; use AUnit.Reporter.Text; with AUnit.Run; use AUnit.Run; with GNAT.OS_Lib; use GNAT.OS_Lib; with Workshop_Suite; use Workshop_Suite; procedure Tests_Workshop is function Runner is new Test_Runner_With_Status (Suite); Reporter : ...
-- C46044B.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...
separate (Numerics.Sparse_Matrices) function N_Row (Mat : in Sparse_Matrix) return Pos is begin return Mat.N_Row; end N_Row;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version 3, or (at your option) ...
----------------------------------------------------------------------- -- awa-events-queues-fifos -- Fifo event queues (memory based) -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
with System; with STM32_SVD; use STM32_SVD; with STM32_SVD.RCC; use STM32_SVD.RCC; with STM32GD.Board; use STM32GD.Board; with STM32GD.GPIO; use STM32GD.GPIO; package body Peripherals is procedure Init is begin RCC.RCC_Periph.APB1ENR.I2C1EN := 1; RCC.RCC_Periph.APB2ENR.USART1EN ...
-- CC1221D.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...
package Datos is type Nodo; type Lista is access Nodo; type Nodo is record Info : Integer; Sig : Lista; end record; end Datos;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
package Date is type T_Mois is (Janvier, Fevrier, Mars, Avril, Mai, Juin, Juillet, Aout, Septembre, Octobre, Novembre, Decembre); type T_Date is record Jour : Integer; -- {entre 1 et 31} Mois : T_Mois; Annee : Integer; -- {positif} end record; Date_Incorrecte : exception; ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with HAL; generic with package Chip_Select is new HAL.Pin (<>); with package Chip_Enable is new HAL.Pin (<>); with package IRQ is new HAL.Pin (<>); with package SPI is new HAL.SPI (<>); with package Clock is new HAL.Clock (<>); package Drivers.NRF24 is pragma Preelaborate; type Raw_Register_Ar...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Nodes.Task_Body_Stubs is function Create (Task_Token : not null Program.Lexical_Elements .Lexical_Element_Access;...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Aux; use Ada.Numerics.Aux; with Prime_Ada; use Prime_Ada; procedure Main is begin declare n : Integer; begin for i in 1 .. 6 loop n := Integer (Pow (Double (10), Double (i))); Put ("n = "); Put_Line (Integer'Image (n)); ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package body Opt46_Pkg is function Last (T : Instance) return Table_Index_Type is begin return Table_Index_Type (T.P.Last_Val); end Last; end Opt46_Pkg;
-- Abstract : -- -- See spec -- -- Copyright (C) 2012, 2013, 2015, 2017, 2018 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or (at -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings; use Ada.Strings; with Ada.Strings.Fixed; use Ada.Strings.Fixed; with Ada.Command_Line; use Ada.Command_Line; package body regge.io is package Real_IO ...
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2021, AdaCore -- -- -- -- ...
-- MIT License -- Copyright (c) 2021 Stephen Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify,...
------------------------------------------------------------------------------ -- Copyright (c) 2014-2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
------------------------------------------------------------------------------ -- -- -- AFORTH COMPONENTS -- -- -- -- ...
with Ada.Numerics.Generic_Elementary_Functions; package body Planets is package EF is new Ada.Numerics.Generic_Elementary_Functions (Orka.Float_64); function Get_Vector (Latitude, Longitude : Orka.Float_64) return Matrices.Vectors.Vector4 is Lon_Rad : constant Orka.Float_64 := Matrices.Vectors.To...
-- SPDX-FileCopyrightText: 2021-2022 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT --------------------------------------------------------------------- with Ada.Real_Time; with Ada.Streams; with Ada.Unchecked_Conversion; with Interfaces; with System; with ESP32.GPIO; with ESP32.DPort; with ESP...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- { dg-do run } -- { dg-options "-gnatws" } procedure discr4 is package Pkg is type Rec_Comp (D : access Integer) is record Data : Integer; end record; -- type I is interface; procedure Test (Obj : I) is abstract; -- Num : aliased Integer := 10; -- type Root (D : acce...
generic Size: Positive; -- determines the size of the square with function Represent(N: Natural) return String; -- this turns a number into a string to be printed -- the length of the output should not change -- e.g., Represent(N) may return " #" if N is a prime -- and " " else w...
with agar.core.event; with agar.core.event_types; with agar.core.tail_queue; with agar.core.timeout; with agar.core.types; with agar.gui.surface; with agar.gui.widget.label; with agar.gui.widget.menu; with agar.gui.widget.scrollbar; with agar.gui.window; package agar.gui.widget.tlist is use type c.unsigned; type...
with Asis; with League.Strings; package Documentation_Generator.Database is type Module_Information is tagged limited private; type Module_Access is access all Module_Information; type Compilation_Unit_Information is tagged limited private; type Compilation_Unit_Access is access all Compilation_Unit_I...
-- { dg-do compile } procedure pointer_array is type Node; type Node_Ptr is access Node; type Node is array (1..10) of Node_Ptr; procedure Process (N : Node_Ptr) is begin null; end; begin null; end;
with Ada.Directories, Ada.Direct_IO, Ada.Text_IO; procedure Whole_File is File_Name : String := "whole_file.adb"; File_Size : Natural := Natural (Ada.Directories.Size (File_Name)); subtype File_String is String (1 .. File_Size); package File_String_IO is new Ada.Direct_IO (File_String); ...
-- part of OpenGLAda, (c) 2017 Felix Krause -- released under the terms of the MIT license, see the file "COPYING" with GL.API; package body GL.Fixed.Matrix is procedure Apply_Frustum (Stack : Matrix_Stack; Left, Right, Bottom, Top, Near, Far : Double) is begin API.Matrix_Mo...
----------------------------------------------------------------------- -- awa-mail-clients-files -- Mail client dump/file implementation -- Copyright (C) 2012, 2014, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); ...
------------------------------------------------------------------------------- -- Copyright (c) 2019, Daniel King -- 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...
with Interfaces; use Interfaces; with Ada.Interrupts; use Ada.Interrupts; with Ada.Interrupts.Names; use Ada.Interrupts.Names; with STM32.USARTs; use STM32.USARTs; with Ringbuffers; package Serial_IO is package FIFO_Package is new Ringbuffers (256, Unsigned_8); subtype FIFO is FIFO_Package.Ringbuffer; prote...
pragma License (Unrestricted); -- optional runtime unit specialized for Windows package System.Wide_Startup is pragma Preelaborate; pragma Linker_Options ("-municode"); wargc : Integer with Export, Convention => C, External_Name => "__drake_wargc"; wargv : Address with Export, Convention => C...
procedure Hello is begin Put_Line ("Hello, world!"); end Hello;
-- This spec has been automatically generated from out.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with System; package MSP430_SVD.INTERRUPTS is pragma Preelaborate; ----------------- -- Peripherals -- ----------------- type INTERRUPTS_Peripheral is re...
with GNAT.Command_Line; use GNAT.Command_Line; with GNAT.IO; use GNAT.IO; with GNAT.Traceback.Symbolic; with Ada.Exceptions; with Ada.Command_Line; with Ada.Text_IO; with Babel; with Babel.Files; with Ada.Directories; with Ada.Strings.Unbounded; with Util.Encoders; with Util.Encoders.Base16; with Util.Log.Loggers; wi...
with Ada.Text_IO; with Ada.Exceptions; with Text_IO; -- Old style with Vole_Tokens; with Vole_Goto; with Vole_Shift_Reduce; with vole_lex_dfa; with kv.avm.Vole_Lex; with kv.avm.Vole_Tree; with kv.avm.Instructions; with kv.avm.Registers; use Ada.Text_IO; use Ada.Exceptions; use Text_IO; -- Old style use Vole_Tokens; u...
----------------------------------------------------------------------- -- awa-tags-modules-tests -- Unit tests for tags module -- Copyright (C) 2013, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
pragma Ada_2012; pragma Style_Checks (Off); pragma Warnings ("U"); with Interfaces.C; use Interfaces.C; with arm_math_types_h; with sys_ustdint_h; package quaternion_math_functions_h is procedure arm_quaternion_norm_f32 (pInputQuaternions : access arm_math_types_h.float32_t; pNorms : access arm_math_ty...
------------------------------------------------------------------------------- -- 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 License. -- You may obtain a copy of the License at ...
with Ada.Calendar.Formatting; package Printable_Calendar is subtype String20 is String(1 .. 20); type Month_Rep_Type is array (Ada.Calendar.Month_Number) of String20; type Description is record Weekday_Rep: String20; Month_Rep: Month_Rep_Type; end record; -- for internationalization, you o...
with Ada.Text_IO; use Ada.Text_IO; with GL.Types; -- with Multivector_Analyze_E2GA; with Multivector_Analyze_C3GA; with Utilities; package body Multivector_Analyze is -- -------------------------------------------------------------------------- -- procedure Analyze (theAnalysis : in out MV_Analysis...
package SomeClass is type SomeClass is record someAttribute : Integer := 1; end record; type SomeClass2 is tagged record someAttribute2 : Integer := 2; end record; type SomeClass3 is record someAttribute3 : Integer := 3; end record; rogueVariable : Integer := 4; function s...
-- { dg-do compile } package cpp1 is type Root_Interface is interface; type Typ is new Root_Interface with record TOTO : Integer; pragma CPP_Vtable (TOTO); end record; end cpp1;
------------------------------------------------------------------------------ -- Copyright (c) 2019, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
----------------------------------------------------------------------- -- properties.hash -- Hash-based property implementation -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (t...
-- This package is intended to set up and tear down the test environment. -- Once created by GNATtest, this package will never be overwritten -- automatically. Contents of this package can be modified in any way -- except for sections surrounded by a 'read only' marker. with Ada.Environment_Variables; use Ada.Env...
-- { dg-do compile } package body Incomplete5 is function Get (O: Base_Object) return Integer is begin return Get_Handle(O).I; end; end Incomplete5;
pragma No_Run_Time; with APEX; use APEX; with APEX.Timing; use APEX.Timing; with Interfaces.C; package Activity is procedure Thr1_Job; end Activity;
package TLSF.Config with SPARK_Mode, Pure, Preelaborate is Max_Block_Size_Log2 : constant := 29; -- max Block is about 512Mb SL_Index_Count_Log2 : constant := 6; Align_Size_Log2 : constant := 3; -- for 32bit system: 2 FL_Index_Max : constant := Max_Block_Size_Log2 - 1; Align_Size :...
------------------------------------------------------------------------------ -- Copyright (c) 2013, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- -- -- REPL is abbreviation for "Read, Execute, Print Loop", a kind of an -- interactive programming environment. -- -- This package ...
-- Copyright (c) 2021 Bartek thindil Jasicki <thindil@laeran.pl> -- -- 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...
-- This file cannot be processed by the SPARK Examiner. with Ada.Numerics, Ada.Numerics.Long_Elementary_Functions; package body PP_LF_Elementary is function Pi return Long_Float is begin return Ada.Numerics.Pi; end Pi; function Sqrt (X : Long_Float) return Long_Float renames Ada.Numerics.L...
package GESTE_Fonts.FreeMonoBoldOblique5pt7b is Font : constant Bitmap_Font_Ref; private FreeMonoBoldOblique5pt7bBitmaps : aliased constant Font_Bitmap := ( 16#00#, 16#00#, 16#00#, 16#C1#, 16#82#, 16#04#, 16#00#, 16#30#, 16#00#, 16#00#, 16#00#, 16#00#, 16#A2#, 16#85#, 16#00#, 16#00#, 16#00#, 16#00#, 16#00...
----------------------------------------------------------------------- -- asf-navigations-redirect -- Navigator to redirect to another page -- Copyright (C) 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License")...
pragma Ada_95; pragma Warnings (Off); pragma Source_File_Name (testmain, Spec_File_Name => "b__test.ads"); pragma Source_File_Name (testmain, Body_File_Name => "b__test.adb"); pragma Suppress (Overflow_Check); with Ada.Exceptions; package body testmain is E103 : Short_Integer; pragma Import (Ada, E103, "system__os...
with BTree; procedure launch is begin BTree.main; end launch;
with Ada.Streams.Stream_IO; with Interfaces; use Interfaces; with Zip.Headers, UnZip.Decompress; with Zip_Streams; package body UnZip is use Ada.Streams, Ada.Strings.Unbounded; -------------------------------------------------- -- *The* internal 1 - file unzipping procedure....
with Multiply_Proof; use Multiply_Proof; package body Curve25519_Mult with SPARK_Mode is -------------- -- Multiply -- -------------- function Multiply (X, Y : Integer_255) return Product_Integer is Product : Product_Integer := (others => 0); begin for J in Index_Type loop for K...
--=========================================================================== -- -- This package is the slave configuration for the Pico -- use cases: -- 1: Master Pico -> Slave Pico -- 3: Master ItsyBitsy -> Slave Pico -- --=======================================================================...
pragma License (Unrestricted); -- extended unit with Ada.References.Wide_Wide_Strings; with Ada.Streams.Block_Transmission.Wide_Wide_Strings; with Ada.Strings.Generic_Bounded; package Ada.Strings.Bounded_Wide_Wide_Strings is new Generic_Bounded ( Wide_Wide_Character, Wide_Wide_String, Streams.Bloc...
-- Abstract: -- -- An unbounded queue of definite non-limited elements. -- -- Copyright (C) 2017 - 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation;...
with Ada.Finalization; generic type Data_Type is private; type Data_Access is access Data_Type; package kv.Ref_Counting_Mixin is type Control_Type is record Count : Natural := 0; Data : Data_Access; end record; type Control_Access is access Control_Type; type Ref_Type is n...
with Agar.Core.Thin; with C_String; with Interfaces.C; package body Agar.Core.Error is package C renames Interfaces.C; procedure Set_Error (Message : in String) is Ch_Message : aliased C.char_array := C.To_C (Message); Ch_Format : aliased C.char_array := C.To_C ("%s"); begin Thin.Error.Set_Error ...
Put_Line ("Mary had a " & New_Str & " lamb.");
-- -- Copyright (C) 2015-2016 secunet Security Networks AG -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; either version 2 of the License, or -- (at your option) any later version. -- -- ...
with ada.text_io, ada.integer_text_io, sacar_ficha, lanzar_dado; use ada.text_io, ada.integer_text_io; procedure prueba_parchis is dado, intentos:integer:=0; begin loop exit when intentos=4 or dado=5; dado:=lanzar_dado(dado); intentos:=intentos+1; put("Dado: "); put(dado); -- Aunque no sea neces...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Characters.Latin_1; procedure Bell is begin Put(Ada.Characters.Latin_1.BEL); end Bell;
------------------------------------------------------------------------------ -- 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 -- -- http://gela.ada-ru.org -- -- ...
-- Abstract : -- -- See spec. -- -- Copyright (C) 2018 - 2019 Free Software Foundation, Inc. -- -- This program is free software; you can redistribute it and/or -- modify it under terms of the GNU General Public License as -- published by the Free Software Foundation; either version 3, or (at -- your option) any...
-- flyweights-untracked_lists.adb -- A package of singly-linked lists for the Flyweights packages without resource -- tracking or release -- Copyright (c) 2016, James Humphry -- -- Permission to use, copy, modify, and/or distribute this software for any -- purpose with or without fee is hereby granted, provided that t...
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Ada.Command_Line; with Ada.Text_IO; with Anagram.Grammars; with Anagram.Grammars.Reader; with Anagram.Grammars_Convertors; with Anagram.Grammars.Rule_...
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2019 onox <denkpadje@gmail.com> -- -- 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/L...
----------------------------------------------------------------------- -- awa-votes-modules -- Module votes -- Copyright (C) 2013, 2016 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file excep...
-- Abstract : -- -- Base utilities for McKenzie_Recover -- -- Copyright (C) 2018, 2019 Free Software Foundation, Inc. -- -- This library is free software; you can redistribute it and/or modify it -- under terms of the GNU General Public License as published by the Free -- Software Foundation; either version ...
with Ada.Containers.Vectors; -- #include "impact.d3.Vector.h" -- #include "btAlignedObjectArray.h" package Impact.d3.graham_scan_2d_convex_Hull -- -- -- is type GrahamVector2 is record Vector : Math.Vector_3; m_angle : Math.Real; m_orgIndex : Integer; -- m_anchor ...
separate (Numerics.Sparse_Matrices) -- function Cumulative_Sum (Item : in Int_Array) return Int_Array is -- Result : Int_Array (Item'Range); -- Tmp : Int := 1; -- begin -- for I in Item'Range loop -- Result (I) := Tmp; -- Tmp := Tmp + Item (I); -- end loop; -- return Result; -- ...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- Copyright (c) 2015-2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings.Cursors.Characters; with Incr.Documents; with Incr.Lexers.Batch_Lexers; with Incr.Nodes.Tokens; with Incr.Ve...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package GDNative.Tokenizer is type Character_Array is array (Positive range <>) of Character; type Tokenizer_State (<>) is private; function Initialize (Input : String; Separators : Character_Array) return Tokenizer_State; procedure Skip (State : in out Tokenizer_State); procedure Skip_Until ...
with AAA.Strings; private with GNAT.Strings; package Commands.Init is type Instance is new CLIC.Subcommand.Command with private; overriding function Name (Cmd : Instance) return CLIC.Subcommand.Identifier is ("init"); overriding procedure Execute (Cmd : in out Instance; Args : AAA.Strings.Vecto...
-- 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...
pragma Ada_2012; package body Protypo.Api.Engine_Values.Parameter_Lists is function Is_Optional (Item : Parameter_Spec) return Boolean is (Item.Class = Optional_Class); function Default_Value (Item : Parameter_Spec) return Engine_Value is (if Is_Optional (Item) then Item.Default.Element e...