text
stringlengths
14
6.51M
uses System; function QuickSortPartition of T(arr: array of T; left, right: Integer): Integer where T is Comparable begin var l := left; var r := right; let pivot := arr[l]; var result := r; while true do begin while Comparable.Compare(arr[l], pivot) < 0 do begin l := l + 1; ...
program ejer5; type celular = record codigo: Longint; marcaModelo: string; descripcion: string; precio: Longint; stockMin: Longint; stock: Longint; end; arcCelulares= file of celular; var celulares: arcCelulares; carga: text; destino:text; nombreArchivo:String; ops:char; buscad...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.4-8, FILE=DEV065, C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.7.3-8, FILE=LEV1F39...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.6.4-6, FILE=ERR57P...
unit Test.AudioPlugin.Functions; interface uses WatchTower, AudioPlugin.Functions; type TAudioPluginFunctions = class(TWatchTowerTest) private public [Test] procedure CalcNewEditorSize_TestA; [Test] procedure CalcNewEditorSize_TestB; [Test] procedure CalcNewEditorSize_TestC; en...
unit uSampleZeroCrossings; interface uses VamLib.MoreTypes, eeSampleFloat; type TSampleZeroCrossings = class private fIsValid: boolean; fDataArraySize: integer; protected ch1 : array of integer; ch2 : array of integer; chMid : array of integer; chSide : array of in...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.2.2-8, FILE=DEV039, CLA...
unit ufBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf...
unit UDraw; interface uses Classes, QGraphics, QExtCtrls, QControls, Types, UVector; type TDMouseDown = procedure (Button: TMouseButton; Shift: TShiftState; X, Y: Double) of object; TDMouseMove = procedure (Shift: TShiftState; X, Y: Double) of...
{$REGION 'documentation'} { Copyright (c) 2018, Vencejo Software Distributed under the terms of the Modified BSD License The full license is distributed with this software } { Date/time span definition @created(12/05/2018) @author Vencejo Software <www.vencejosoft.com> } {$ENDREGION} unit DateTimeSpan; int...
Program KnightsTourRecursion; {Erick Nave DS&A II 1-27-94 KnightsTourRecursion is a recursive backtracking algorithm using the one move look-ahead heuristic in order to solve the Knight's Tour problem. From a current position on the board, the possible moves are examined. If a move is legal, then ...
{-----------------------------------------------} program KISS; {-----------------------------------------------} {Constant Declaration} const TAB = ^I; const CR = ^M; const LF = ^J; const KWcode: string[5] = 'xilee'; {-----------------------------------------------} {Type Declerations} type Symbol = string[8]; ...
Unit ESoft.Launcher.Application; { ---------------------------------------------------------- } { Developed by Muhammad Ajmal p } { ajumalp@gmail.com } { ---------------------------------------------------------- } Interface Uses Winapi.Windows, System.Classes, System.StrUtils, System.Types, ...
unit Lucidity.CustomMadExceptSettings; {$INCLUDE Defines.inc} {$IFNDEF MadExcept} interface implementation {$ELSE} interface uses madExcept, madLinkDisAsm, madListHardware, madListProcesses, madListModules; implementation uses eePluginDataDir, uConstants, eePluginUtils, madTools, Windows, SysUti...
unit UdtmInformacoes; interface uses System.SysUtils, System.Classes, Data.DB, Datasnap.DBClient, Datasnap.DSConnect, Data.FMTBcd, Datasnap.Provider, Data.SqlExpr; type TDtmInformacoes = class(TDataModule) CDS_CADASTRO: TClientDataSet; CDS_CADASTROContador: TAggregateField; CDS_SUBCAT_R...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.2.3-8, FILE=DEV205, C...
unit uLang; interface uses Classes, Dialogs, Windows,SysUtils,DBTables,StdCtrls,Grids,Controls, Graphics,ExtCtrls,Buttons,Mask,CheckLst,ComCtrls,Forms, Db, DBClient,DBGrids, Menus ; type TLanguage = class(TComponent) private public lstLanguage : TStrings; lstLangCode : TStrings; lstText : Ar...
unit Iocp.ApiFix; interface uses Windows; (* Delphi自带的IOCP相关的几个函数定义是错的! 在32位程序下不会出问题,但是64位程序里就错了 Delphi XE2支持64位编译,但是XE2直到Update4的定义都是错的,希望以后官方会修正 // 这是Delphi的错误定义, // CompletionKey: DWORD // DWORD不管在32位还是64位程序中都是4字节,MSDN中正确的定义是ULONG_PTR // ULONG_PTR在32位程序中是4字节,在64位程序中是8字节 function CreateIoCompletionPort(FileHa...
PROGRAM GraphicPrinting2(INPUT, OUTPUT); TYPE POSIT = SET OF 1..500; VAR Ch: CHAR; Number: INTEGER; Pos: POSIT; PROCEDURE ReadGraphicPrinting(VAR Letter: CHAR; VAR TotalPosition: POSIT; VAR N: INTEGER); VAR Positions: POSIT; Index: INTEGER; BEGIN READ(Letter); Positions := []; CASE Letter OF ...
unit InWindowDialog.CustomDialog; interface uses Classes, Graphics, InWindowDialog.Prototypes; type TDialogResultCallback = reference to procedure(Text : string); TCustomDialog = class(TPluginDialog) private fButtons : array of string; fText: string; fColorBorder: TColor; fDialogResultHand...
{ generic server data structures } unit servers; interface uses MSXML, Classes, Winsock, Contnrs; type TMonitor = class; TService = class(TObject) Name : string; ProtocolName : string; BytesSent : Int64; BytesReceived : Int64; CreatedOn : TDateTime; Port : word; Params : TStringL...
{ ****************************************************************** Newton-Raphson solver for nonlinear equation ****************************************************************** } unit unewteq; interface uses utypes, umachar, uconstants; procedure NewtEq(Func, Deriv: TFunc; var X: Float; MaxIter...
// Marcello Mello // 02/10/2019 unit lps.resolver; interface uses SysUtils, Classes, VCL.Dialogs, Generics.Collections, lps.ast, lps.interpreter, lps.types; type TOnResolverErrorEvent = procedure(Token: TToken; Msg: string) of object; EResolverError = class(Exception) end; TResolver = class...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.6-7, FILE=DEV103, CLA...
unit uMainForm; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, Menus, ComCtrls, Inifiles, uDarkStyleParams, uWin32WidgetSetDark, uDarkStyleSchemes, uMetaDarkStyle, usubform ; type { TForm1 } TForm1 = cla...
{******************************************************************************* Title: T2Ti ERP Description: Biblioteca de funções. The MIT License Copyright: Copyright (C) 2010 T2Ti.COM Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files ...
unit MyClassesEx; interface uses Windows, SysUtils, TntSysUtils, Classes, TntClasses, NodeLst, PlugInterface; type TPathInspector = class; TProcessProc = procedure(const Path: WideString; const SR: TSearchRecW); TProcessEvent = procedure(Sender: TPathInspector; const Path: WideString; ...
unit DemoPlugNotasMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, IdHTTP, IdSSLOpenSSL, StrUtils, ExtCtrls, IdMultipartFormData, superobject; type TPlugException = class(Exception); TForm1 = class(TForm) cbbAmbiente: TComb...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2010 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools * } ...
unit fm_op_kernel; interface uses math, sin; const LG_N = 6; N = (1 shl LG_N); type TFeedbackBuffer = array [0 .. 1] of integer; TFmOpKernel = record /// <summary> /// This is the basic FM operator. No feedback. /// </summary> class procedure compute(output, input: Pinteger; phase0, freq...
unit SDInfoSecurity; interface uses SDInfoProcesses, Windows, JwaWindows; // Move to SDInfoProcesses or SDModifiedTokens once dependence on Jwa* is removed function SDDumpProcessToken(var AProcessData: TProcessData): Boolean; function SDDumpACL(const AACL: Windows.PACL): Boolean; function SDAddGrou...
{***************************************************************************} { } { Spring Framework for Delphi } { } { ...
{==============================================================================| | Project : Delphree - Synapse | 003.003.000 | |==============================================================================| | Content: Library base ...
unit frmEngineGroupJob; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, // Auto Generate frmUniMasterEx, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEd...
unit ObjectSQL4D; interface uses TypInfo, ObjectInterf4D, ObjectRTTI4D; type TObjectSQL4D = class(TInterfacedObject, iObjectSQL4D) private FTypeInfo : PTypeInfo; FFields : String; FWhere : String; FOrderBy : String; FGroupBy : String; FJoin : String; public c...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.5.5-1, FILE=CONF090, CLASS=...
unit Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Cliente, ListaCliente, StdCtrls, ExtCtrls ; type TfrmCadastroCliente = class(TForm) btnAdicionar: TButton; btnRemover: TButton; btn...
unit UEreignis; //enthält Ereignisprozeduren interface //uses uMonopoly; type TEreignis = procedure(var spiel:TObject); //Ereignisse sind Prozeduren, in denen das TMonopoly-Spiel als variabler Parameter verändert wird. Zu den Ereignissen zählen das Geschehen auf den Eckfeldern genauso wie die Aktionen von Ereignis...
{********************************************************************} { AdvShapeRegDE components } { for Delphi & C++Builder } { version 1.0 } { ...
uses System; let addCommand: Byte := 43; // '+' let subCommand: Byte := 45; // '-' let mulCommand: Byte := 42; // '*' let divCommand: Byte := 47; // '/' WriteLn('Enter an expression e.g. ''2*3'', ''4/2'' or ''exit''.'); while true do begin let command := ReadLn().StringTrim(); if command.CompareStr('exit') ...
{==============================================================================| | Project : Delphree - Synapse | 001.002.000 | |==============================================================================| | Content: MIME support procedures and functions ...
{***************************************************************************} { } { Spring Framework for Delphi } { } { ...
unit CallCenterNewClient; interface uses System.Classes, System.Sysutils, System.Generics.Collections, System.Generics.Defaults, System.SyncObjs, WinApi.Windows, superobject, HTTPWebsocketClient; type { FEmployeeOID: Int64; FPhone: string; property EmployeeOID : Int64 read FEmployeeOID write FE...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.2-5, FILE=ERR19P...
unit uAttribut; interface uses Uni, UTableBase, System.Generics.Collections; type TAttribut = class(TEntityBase) private // Felder private, durch property veröffentlichen fId: Integer; fAttributName: string; fVerwendet: integer; public property id: intege...
unit WSHtmlCommon; interface uses IdBaseComponent,IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL, System.Classes, WSCommon, Sysutils, Generics.Collections, Strutils, WSDBCommon, WSHelpers, JPEG, IdMultipartFormData ; type ...
unit soDynamicWaveTableOsc; interface type TWaveData = array of single; TDynamicWaveTableOsc = class private fSampleRate: single; fFreq: single; fWaveData: TWaveData; fTableSize: integer; procedure SetSampleRate(const Value: single); procedure SetFreq(const Value: single);...
{ TXmlPatchWrapper is used to convert between XML formatted patch data and TPatchObject (which is used internally). Addtionally TXmlPatchWrapper is intended to translate older patches to the newest used format where required. The advantage of translating to newer patch formats at the XML layer is that ...
unit ufrmDeliveryMan; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.Grids, Vcl.DBGrids, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Ph...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.5-3, FILE=CONF067, CLAS...
{***************************************************************************} { TAdvMemo styler component } { for Delphi & C++Builder } { version 1.0 } { ...
type TJoints3D = record t1, t2, t3: double; end; // Global Variables var irobot, B4, B6: integer; theta: array[1..6] of double; Pos: TPoint3D; degs: double; function Direct3D(t1, t2, t3: double): TPoint3D; begin result.x := 0; result.y := 0; result.z := 0; end; function...
unit TSysCad; {*************************************************************************} {* *} {* Author : Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
unit ABSmartGrid; interface {:ToDo:: ・カレントセルをもっているセルの色がデフォルトのままなのがダサい ・行/列選択でカレントセルが一番下/右になってしまうのがダサい ・Undoが未実装 ・goEditingがFalseのときとか、goAlwaysShowEditorがTrueのときに、 ForceRowSelectの挙動がいまいち不明瞭 ::ToDo:} uses Classes, Types, Graphics, Controls, StdCtrls, Grids, Forms, Menus; type TABSmartGridMoveAtExit =...
unit frmDisplayOrder; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, //Auto Create frmUniDisplay, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn, dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns, dxPSEdgePatt...
unit DFe.Interf; interface type { * "Abstract Factory" é um padrão criacional que simula uma fabrica * de criação de objetos. * } IDFe = interface ['{D52AF180-B548-4080-93D2-B9C56C8CB24E}'] function Emitir: string; end; IDFeFactory = interface ['{41EC5F33-4E15-41F5-A6B7-C456FDF1449C}'] ...
unit ufrmHideStringMain; interface uses {$IFDEF MSWINDOWS} WinAPI.Windows, {$ENDIF} System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Edit, FMX.Controls.Presentation; type TfrmHideStrMain = cl...
unit MainForm; interface uses Winapi.Messages, System.SysUtils, System.Variants, Winapi.Windows, Winapi.ShellApi, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.AppEvnts, Vcl.StdCtrls, IdHTTPWebBrokerBridge, Web.HTTPApp, IdSSLOpenSSL, System.IOUtils, MVCFramework.Logger, Controllers.Bas...
unit Database.Tabela.Oracle; interface uses System.SysUtils, System.Classes, System.Generics.Collections, System.Rtti, Database.IDataseMigration, Database.TTabelaBD, Model.Atributos, Model.Atributos.Tipos, Utils.Funcoes; type TTabelaOracle = Class(TTabelaBD) private function CampoToSql(campo: Camp...
unit UrlCommon; interface function OpenURL(const URL: string; const DisplayError: Boolean = False): Boolean; implementation uses IdURI, SysUtils, Classes, {$IFDEF ANDROID} Androidapi.Helpers, FMX.Helpers.Android, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.Net, Androidapi.JNI.JavaTypes,...
unit Utils.ArrayUtil; interface uses System.Classes, System.SysUtils, System.RTLConsts, System.Rtti, System.Generics.Defaults, System.Generics.Collections; type // callback function for function ForEach TArrayForEachCallback<T> = reference to procedure(var Value: T; Index: integer); // callback function fo...
program N_5; type TPoint = record x,y: word; end; TArrayOfPoints = array of TPoint; var Points: TArrayOfPoints; PointsCount: word; i: word; function GetTopRightPoint(Points: TArrayOfPoints; PointsCount: word): TPoint; var i: word; begin Result.x:=Points[0].x; Result.y:=Points[0].y;...
unit eeTypes; interface uses Generics.Collections; type // NOTE: These aren't all vst host, just the ones I've had access to for testing purposes. TVstHost = (vhUnKnown, vhEnergyXT, vhEnergyXT2, vhCubaseSX2, vhCubase5, vhReaper...
unit AppData; interface uses Classes, DB, TypInfo, XmlIntf, Variants, SysUtils; type TAppData = class(TPersistent) private FVersion: Integer; procedure SetVersion(const Value: Integer); published public function CheckClass: Boolean; Virtual; function CheckVersion: Boolean; Virtual; func...
unit AggVcgenStroke; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christian@savio...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.1-3, FILE=DEV192, CLA...
// Marcello Mello // 28/09/2019 unit lps.scanner; interface uses SysUtils, Math, StrUtils, Generics.Collections, lps.types; {$SCOPEDENUMS ON} type TOnScannerErrorEvent = procedure (LineNro: Integer; Msg: string) of object; TScanner = class private FSource: string; FTokens: TObjectList<TTo...
{------------------------------------------------------------------------------ Registration TOrImage component and property editor (TOrImageEditor) in VCL (c) 20.03.03 by Yurij Orishenko e-mail: yraor@omen.ru ------------------------------------------------------------------------------- } unit O...
unit gdt; interface type TGDTEntry = packed record LowLimit: Word; LowBase: Word; MiddleBase: Byte; Access: Byte; Granularity: Byte; HighBase: Byte; end; TGDTPtr = packed record Limit: Word; Base: LongWord; end; var GDTList: array [0..4] of TGDTEntry; ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://10.46.177.139:8181/traffic/ws/dataAnalysis?wsdl // Encoding : UTF-8 // Codegen : [wfForceSOAP12+] // Version : 1.0...
unit AdvOfficePagerDE; interface {$I TMSDEFS.INC} uses Classes, Graphics, Comctrls, Windows, Forms, TypInfo, Dialogs, ExtCtrls, Controls, ExtDlgs, AdvOfficePager {$IFDEF DELPHI6_LVL} , DesignIntf, DesignEditors, ContNrs {$ELSE} , DsgnIntf {$ENDIF} ; type TAdvOfficePagerEditor = class(TDefaultEditor) ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.8-4, FILE=DEV029, CLA...
unit Log.TTipoLog; interface type TTipoLog = (Custom, Info, Debug, Erro); TTipoLogHelp = record helper for TTipoLog function ToString: string; end; implementation { TTipoLogHelp } function TTipoLogHelp.ToString: string; begin case Self of Custom: result := 'custom'; Info: result :...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.10-2, FILE=CONF186, CLA...
unit CalcularPreco.Calculadora; interface uses CalcularPreco.Interfaces, CalcularPreco.Tipos; type TModalidadePrecoCalculadora = class(TInterfacedObject, ICalculadoraDePreco) private FOperacoes: ICalculadoraDePrecoOperacoes; FParametros: ICalculadoraDePrecoParametros; FModalidade: TModalidadePrec...
{**************************************************************************************************} { The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); } { you may not use this file except in compliance with the License. You may obtain a copy of the } { License at h...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.4-4, FILE=CONF114, CLAS...
unit soAudioFilePreviewPlayer.Voice; interface uses soFadeOutRamp, VamDsp.Interpolation, VamLib.MoreTypes, eeSampleFloat; type TSamplePreviewVoice = class private fSampleRate: integer; fBlockSize: integer; fIsActive: boolean; fSampleData : TSampleFloat; private FadeOutRamp : TFadeOutR...
{ ****************************************************************** Probability functions related to the Gamma function ****************************************************************** } unit ugamdist; interface uses uConstants, ugamma; function DBeta(A, B, X: Float): Float; { Density of Beta d...
unit UAutomatoPilha; interface uses Inifiles,SysUtils; Type TAutomato = Class Estado :ShortString; IndFita :Integer; SimboloPilha :Char; FitaControle :String; PilhaAutomato:String; Constructor Create; procedure Inicializa; overload; procedure Inicializa(VEst...
unit Provider; interface uses System.Generics.Collections, Actions; type TProvider = class(TObject) protected FPath: String; FActions: TObjectList<TAction>; private function GetActions: TObjectList<TAction>; public { a part of the RESTful path to which current provider must respond } fu...
unit uBaseGeometry; (* * ****************************************************************************** * * * Author : Alex Vergara Gil * * Version : 0.1 ...
program GameMain; uses SplashKit, sysUtils; const GRAVITY = 0.08; MAX_SPEED = 5; JUMP_RECOVERY_BOOST = 2; FOREGROUND_FOREROOF_POLE_SCROLL_SPEED = -2; BACKGROUND_SCROLL_SPEED = -1; NUM_POLES = 4; GAME_FONT_SIZE = 21; type PoleData = record ScoreLimiter: Boolean; UpPole: Sprite; Down...
unit View.Main; interface uses Winapi.Windows, Winapi.Messages, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.ExtCtrls, Vcl.StdCtrls, System.Generics.Collections, Model.ProSu.Interfaces, Model.Main, ViewModel.Main.Interfaces, Model.Declaration...
Program TriMin; const TAILLE = 25; type tab = array [ 1 .. TAILLE ] of integer ; var tableau : tab ; (* *) PROCEDURE permuter (var t : tab ; indice1 : integer ; indice2 : integer ) ; Var aux : integer ; Begin Aux := t [ indice1 ] ; t [ indice1 ] := t [ indice2 ] ; t [ indice2 ] := aux ; End...
unit uConexaoDatabase; interface uses System.SysUtils, System.UITypes, System.Strutils, System.Classes, uIConexaoDatabase, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLU...
unit VamLib.KeyValueStore; interface uses Classes; type TKeyValueStore = class private Keys, Data : TStringList; function GetCount: integer; protected procedure SetKeyValueByName(KeyName: string; Value: string); function GetKeyValueName(KeyName : string) : string; function IndexOf(KeyStr...
unit SettingsForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, System.UITypes, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, ShellApi, Vcl.Imaging.pngimage, Vcl.ComCtrls, Vcl.Tabs, Registry, IdBaseComponent, Vcl.Graphics, I...
unit UdtmTimeline_DTS; interface uses System.SysUtils, System.Classes, Data.DB, Vcl.ExtCtrls; type TDtmTimeline_DTS = class(TDataModule) TIMER_RUN_PASTA_IMAGEM: TTimer; DTS_SP_IMAGEM_PASTA_SEL: TDataSource; TIMER_RUN_IMAGEM: TTimer; DTS_SP_ARQUIVO_IMAGEM_SEL: TDataSource; TIMER_RUN_IMAGEM_IMP...
/// <summary> /// <para> /// Unit uInterfile handles Interfile medical images /// </para> /// <para> /// Created by Alex Vergara Gil based on ezDICOM by Chris Rorden /// </para> /// </summary> /// <remarks> /// <para> /// Created sept 29, 2012 /// </para> /// <para> /// Handles LittleEndian and BigEndian n...
namespace System; interface Uses System.Collections.Generic; method &Copy(aString: String; aStart, aLength: Int32): String; method &Copy(aString: PChar; aStart, aLength: Int32): String; method Pos(aSubString: String; aString: String): Int32; method SetString(var TargetString: String; BufferPointer: PCh...
unit XlsxLib; interface uses DocProps, Workbook, System.Types, StylesFile; type TXlsxFile = class(TObject) private FDocumentProperties: TXlsxDocumentProperties; FWorkbook: TXlsxWorkbook; procedure SaveToXml(basePath: String); public constructor Create; destructor Destroy;override; pr...
(*----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (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.mozilla.org/MPL/MPL-1.1...
unit EngineMkI; interface uses fm_op_kernel, controllers, fm_core, sin, exp2; function sinLog( phi : uint16):uint16;inline; function mkiSin( phase : integer; env : uint16):integer;inline; {$POINTERMATH ON} type TEngineMkI = class(TFmCore) procedure compute(output, input : pinteger; phase0, freq, gain1, gain2 ...
object FormGlowColor: TFormGlowColor Left = 0 Top = 0 BorderStyle = bsDialog Caption = 'FormGlowColor' ClientHeight = 94 ClientWidth = 231 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'Tahoma' Font.Style = [] OldCreateOrd...
unit VamLib.Collections.RecordArray; interface type // TRecordArray is a generic type so arrays can be used with some basic list-like // methods. // At the moment it is quite light weight compared to TList. // TList ~8000 bytes. // TRecordArray ~900 bytes. // I think the access to "Raw" underlying array w...
unit EditFaseProducao; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Buttons, Mask, ToolEdit, CurrEdit, ExtCtrls, IBQuery; type TUpdateFaseProducaoEvent=procedure (Sender:TObject;afkPecas,afkFichaTecnica,afkFaseProducao:Integer) of object;...
unit MessageDialog; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, uBaseIntf, ApConst, ZjhCtrls; type TDialogMessage = class(TForm, IOutputMessage2) Memo1: TMemo; procedure Memo1DblClick(Sender: TObject); procedure FormCreate(Sender: TOb...
(***************************************************************************) (**) (**) (**) unit BmpRgn; (**) (**) (**) (*******...