text
stringlengths
14
6.51M
{ ****************************************************************** Solution of a system of linear equations by Gauss-Jordan method ****************************************************************** } unit ugausjor; interface uses utypes, ulu, uConstants; type TGaussJordan = class(TBaseDecomp) ...
unit PrintThread; interface uses System.Classes; type TPrintThread = class(TThread) private FEXECUTANDO: Boolean; FIMPRIMIR: Boolean; public procedure Execute; override; procedure Interromper; function getExecutando: Boolean; end; implementation { TImportacaoThread } uses uDMIntegra...
unit BicPenBlue; interface uses BluePaint, PaintUtils, ShellUtils, PlasticShell, PenUtils, System.SysUtils; type TBicPenBlue = class(TPentype) public constructor Create; overload; end; implementation { TPremiumPen } constructor TBicPenBlue.Create; begin FShellBehavior := TPlasticShell.Create; ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.7-3, FILE=CONF016, CLASS=...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.5-12, FILE=IMDEFB05, ...
unit UnicodeUtils; {$i Compiler.inc} interface uses Unicode; const ustNOUTF8=0; ustPOSSIBLEUTF8=1; ustISUTF8=2; usmcACCEPT=0; usmcERROR=16; type TUTF8Chars=array[ansichar] of byte; TUTF8Bytes=array[byte] of byte; {$ifdef StrictUTF8} //...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.10-10, FILE=IMDEFB51, C...
unit PlginEmailactions; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ActnList, ImgList, makestudio_TLB, ActiveX, AxCtrls, System.Actions; type TFormActions = class(TForm, IActionCallback) ImageList1: TImageList; ActionList1: TActionList; acSer...
unit UPooledThread; interface uses 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.VCLUI.Wait, Data.DB, FireDAC.Comp.Client, FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireD...
unit Dao.Abstract.Parametros; interface uses Database.SGDB; type IDaoParametros = interface ['{0848FF94-B381-4787-9A00-EBF8BB486457}'] procedure SetApplicationName(const Value: string); procedure SetDatabase(const Value: string); procedure SetPassword(const Value: string); procedure SetPort(c...
unit ObjectInterf4D; interface uses DB, Contnrs, Classes, Forms; type iDataSet4D = interface ['{6DCCA942-736D-4C66-AC9B-94151F14853A}'] function SQL : TStrings; function Params : TParams; function ExecSQL : iDataSet4D; function DataSet : TDataSet; function Open(aSQL : String...
PROGRAM VectorADTTest; USES VectorADT, sysutils; VAR value1: INTEGER; value2: INTEGER; v1: Vector; v2: Vector; PROCEDURE AssertEquals(expected: INTEGER; actual: INTEGER); BEGIN IF expected <> actual THEN Writeln('Assert failed! Expected: (', IntToStr(expected), '), Actual: (', IntToSt...
unit bmpfnt; interface Uses Windows, SysUtils, MyClasses, Graphics, DIB, DXDraws; Type TBMPChar = Class private FPicture: TDIB; FSymbol: WideChar; public Constructor Create; Destructor Destroy; override; Property Picture: TDIB read FPicture write FPicture; Property Symbol: WideChar read FSymbol write ...
unit SendDataTemplate; interface uses System.JSON, ObjectsMappers, System.Classes, JsonableInterface, System.Generics.Collections, Attachment; type /// <summary> /// A request that a Reception instance performs to a back-end server. /// It is a depricated class in favour of DispatcherEntry /// </summary...
unit StylesFile; interface uses JvSimpleXml, CellFormat, Workbook, Sheets; type TXlsxStylesFile = class(TObject) private FInternalFormatList: TXlsxDistinctFormatList; public constructor Create(); destructor Destroy;override; procedure BuildFormatList(workbook: TXlsxWorkbook); procedure S...
unit MapUtils; interface uses SwinGame, Terrain; type // // Represents the current camera position in tile-based sizing, i.e. // 32px = a single tile. // TileView = record x, y, right, bottom: LongInt; end; // Loads all game resources procedure LoadResources(); // // Creates a new TileView reco...
unit Model.Services.CEP.BrasilAPI; interface uses System.SysUtils, Model.Services.Interfaces; Type TModelServicesCEPBrasilAPI = Class(TInterfacedObject, iModelServicesCEP) private FParent : iModelServicesCEP; FReturn: String; FCode : String; FDisplay : TProc<String>; procedure...
unit Lucidity.Sfz; // SFZ Opcode documentation // http://www.cakewalk.com/DevXchange/article.aspx?aid=108 // // SFZ format wiki // http://www.sfzformat.com/index.php?title=Main_Page interface {$INCLUDE Defines.inc} uses VamLib.KeyValueStore, SfzParser, SfzParser.SfzOpcodes, Lucidity.Enu...
{ *************************************************************************** } { Autor: } { Data: 04/12/2016 } { Resenha: { *************************************************************************** } { Licença segue a mesma estabelecida no código original determinada pelo seu } { autor } { } { *********...
unit DlgAlrm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, shForm, TrnspMem, VpData, vpSR; type TAlarmDlg = class(TForm) Fundo: TShapeForm; sbOpen: TSpeedButton; lDescription: TLabel; sbSnooze: TSpee...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
unit Helpers.HelperString; interface uses Utils.Funcoes, System.MaskUtils, System.RegularExpressions, System.Classes, System.StrUtils, System.SysUtils, IdHashMessageDigest; type TStringHelper = record helper for string public function ValidaCPF: Boolean; function ValidaCNPJ: Boolean;...
unit VamLib.Console; // Some utility functions for writing console applications. // http://stackoverflow.com/a/29378307/395461 interface procedure WaitAnyKeyPressed(const TextMessage: string = ''); overload; inline; procedure WaitAnyKeyPressed(TimeDelay: Cardinal; const TextMessage: string = ''); overload; inline; ...
unit Wait4D.Interfaces; interface uses system.SysUtils; type iWait4D = interface; iWait4DNotificacao = interface ['{2139A24A-9E6E-4AE4-AB92-E7FF1F6F91CF}'] function Titulo : string; overload; function Descricao : string; overload; function PosicaoAtual : integer; overload; function Posicao...
unit FilePath; INTERFACE PROCEDURE SplitFile(Const Path:ShortString;Var Dir,Name,Ext:ShortString); function SetfExt(Const Path:ShortString;NewExt:ShortString):ShortString; IMPLEMENTATION PROCEDURE SplitFile(Const Path:ShortString;Var Dir,Name,Ext:ShortString); Var L:Byte Absolute Path; i:Byte; ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.2-8, FILE=DEV120, CLA...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.5-6, FILE=ERR59T, C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.4-3, FILE=DEV251, CLA...
unit UHashTable; interface uses UData,UList,Grids; const N=101; type TIndex=0..N-1; TCell=TList; TTable=array[TIndex] of TCell; THashTable=class private FTable:TTable; FCount:integer; protected Function HashFunc(Key:TKey):TIndex; public ...
Program TestObjects; Type DrawingObject = Object x, y : single; height, width : single; procedure Draw; // procedure declared in here end; procedure DrawingObject.Draw; begin writeln('Drawing an Object'); writeln(' x = ', x, ' y = ', y); // object fields writeln(' w...
unit ListDLLFunctions; interface uses Windows, Classes, SysUtils, ImageHlp; procedure PAS_ListDLLFunctions(DLLName: string; List: TStrings); implementation procedure PAS_ListDLLFunctions(DLLName: string; List: TStrings); // by Dmitry Streblechenko type chararr = array[0..$FFFFFF] of char; var h:...
unit LoadColumn; interface uses System.Classes, DBImportableData, Generics.Collections; type TTargetProperty = class private FDataClass: TClass; FPropertyName: string; public constructor Create(DataClass: TClass; PropertyName: string); property DataClass: TClass read FDataClass write FDataClass; ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.5-4, FILE=DEV163, C...
unit MyORM.Dao.Inter; interface uses Classes, MyORM.Atributos, MyORM.Atributos.Model, MyORM.Atributos.DAO, System.Generics.Collections ; type IBaseDados = interface ['{26851001-CCE4-4EA3-9942-5B35E30503FE}'] end; ITransacao = interface ['{0F337C38-E15B-47F7-B975-CF168C39F987}'] end; IDaoBase = inte...
unit NGINX.FCGIApplication; /// <summary> /// Main FastCGI listener class. /// </summary> /// /// <remarks> /// This class manages a connection to a webserver by listening on a given port on localhost and receiving FastCGI /// requests by webserver nginx. /// /// In FastCGI terms, this class implements the responder r...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.4-1, FILE=CONF112, CLAS...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.3-2, FILE=CONF056, CLAS...
unit ObjectZeos4D; interface uses DB, Classes, ObjectInterf4D, {ZAbstractConnection,} ZConnection, ZAbstractRODataset, ZAbstractDataset, ZAbstractTable, ZDataset; type TObjectZeos4D = class(TInterfacedObject, iDataSet4D) private FConnection : TZConnection; FQuery : TZQuery; FParams :...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.5-11, FILE=ERR72T, ...
unit JSON.Utils.ConverterTypes; interface type TJsonUtilConverter = (cvIgoreEmptyString, cvIgoreEmptyDate); TConverterTypes = array of TJsonUtilConverter; TConverterTypesHelper = record helper for TConverterTypes function Contains(value: TJsonUtilConverter): Boolean; end; implementation { TConverterTyp...
unit UStack; interface uses SysUtils; const N=100; type TElem=Pointer; TMas=array[0..N-1] of TElem; TStack = class private FHead:integer; FMas:TMas; protected function ElemToStr(el : Pointer) : string; virtual; abstract; public constructor Create; functi...
unit uIocpHttpTunnelSvc; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, Iocp.TcpSocket, Iocp.HttpTunnel, uIocpHttpTunnelConfig; type TIocpMultiHttpTunnel = class(Iocp.HttpTunnel.TIocpHttpTunnel) private function GetDst...
UNIT StackADS2; INTERFACE // PUSHES a new value onto the stack. // IN value: Value to push onto the stack. // OUT ok: TRUE if value has been pushed, FALSE if stack was full. PROCEDURE Push(value: INTEGER; VAR ok: BOOLEAN); // Pops a value from the stack // OUT value: value popped from the stack. Value is undefined /...
{ * FmEg3.pas * * Form unit that implements example 3 for the Version Information Component * HelpEgs demo program. * * $Rev$ * $Date$ * * Any copyright in this file is dedicated to the Public Domain. * http://creativecommons.org/publicdomain/zero/1.0/ } unit FmEg3; {$UNDEF Supports_RTLNameSpaces} {$IFDEF C...
unit uCoreMineswapper; interface uses Vcl.Graphics, Vcl.Controls, System.Classes, Vcl.ImgList, System.Types, System.SysUtils; type TCellType = (cFirstClick=-2, cOpen=-1, cClose=0, cFlag=1, cMine=2, c0,c1,c2,c3,c4,c5,c6,c7,c8); PCanvas = ^TCanvas; TGameStateProc = procedure(const Win: boolean); ...
unit EditAcabamento; interface uses SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Mask, ToolEdit, CurrEdit, Buttons; type TfmEditAcabamento = class(TForm) Label1: TStaticText; cbTipoAcabamento: TComboBox; cmdUpdate: TSpeedButton; cmdCancel: TSpeedButton; chkOp...
{ ****************************************************************** Quadratic equation ****************************************************************** } unit urtpol2; interface uses utypes, urtpol1; function RootPol2(Coef: TVector; var Z: TCompVector): Integer; { ------------------------------...
unit eeFilters.EnvFollowerA; interface uses VamLib.MoreTypes; type TEnvFollowerA = class private fSampleRate : integer; fAttackTime : single; fReleaseTime : single; procedure SetAttackTime(const Value: single); procedure SetReleaseTime(const Value: single); procedure Set...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, uRCGPlaceAutocompleteCombo, Vcl.ExtCtrls, Vcl.WinXCtrls, REST.Types, REST.Client, Data.Bind.Components, Data.Bin...
unit RedFox; interface uses Windows, Graphics, Types, Agg2D, RedFoxColor; type TRedFoxAlign = (AlignNear, AlignCenter, AlignFar); P32BitPixel = ^T32BitPixel; T32BitPixel = packed record B : byte; G : byte; R : byte; A : byte; end; //I should depreciated TSingleRect for TRectF ...
unit Main; interface implementation uses Windows, ToolsAPI; type TOTACompileNotifier = class(TInterfacedObject, IOTACompileNotifier) protected procedure ProjectCompileStarted(const Project: IOTAProject; Mode: TOTACompileMode); procedure ProjectCompileFinished(const Project: IOTAProject; R...
unit Form.Json.Serializer; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, ServiceRestJson, uPeople, Vcl.ExtCtrls; type TForm1 = class(TForm) mmoJson: TMemo; gbPeople: TGroupBox; ...
unit FS1R.Params; interface uses SysUtils, System.Math, System.StrUtils, Generics.Collections, Generics.Defaults, System.Hash, WvN.Math.Bits; {$SCOPEDENUMS ON} type TMidiWord = 0..127; TSysexVal = 0..127; T0_99 = 0..99; TMidiNote = 0..127; TReserved = 0..0; /// <summary> /// sin...
{******************************* Copyrights By Zetron System Last Modified 10/07/2008 *******************************} unit frmUniDBNavigator; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, // Auto Generate frmUniDB, Menus, cxLookAndFeelP...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.6.4-5, FILE=ERR56P...
unit ExportarPagosDocumentosForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, _GridForm, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinBlack, dxSkinBl...
unit VamSampleMap.Movement; interface uses VamSampleMap; procedure MoveSelectedRegions(const FocusedRegion:TVamSampleRegion; Regions:TVamSampleRegionList; KeyOffset, VelocityOffset:integer; const Snapping:boolean); procedure ResizeSelectedRegions( const FocusedRegion:TVamSampleRegion; const Regions:TVamSa...
unit UCL.Graphics; interface {$IF CompilerVersion > 29} {$LEGACYIFEND ON} {$IFEND} uses Classes, Controls, Types, Windows, Graphics, Themes; {$REGION 'Older Delphi versions'} {$IF CompilerVersion <= 30} type // Note: tfComposited only supported by ThemeServices.DrawText TTextFormats = (tfBottom, t...
unit ConstMessage; interface Const C_Mess_Run = 'Потвърдете деинсталирането на програмата'; C_Mess_InsDisk = 'Поставете първата дискета от инсталациония пакет, означена като Диск 1 в флопидисковото устройство'; C_Mess_NoDisk = 'Поставете дискета.'; C_Mess_NoLicenseDisk ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.7-5, FILE=DEV221, C...
unit ProfileList; interface uses Classes, Controls, SysUtils, Dialogs, Profile, CL_tabFactory; type TProfileList = class (TList) constructor Create(); procedure Clear(); override; procedure loadProfiles(); private procedure createDirectoryList(); private basepath:string; d...
unit VamLib.Graphics; interface uses Types, Windows, Vcl.Graphics, VamLib.Types, VamLib.Utils; type IInterfacedBitmap = interface ['{366D818B-9F33-4584-9C2A-93922B2F486E}'] function Bitmap : TBitmap; end; TInterfacedBitmap = class(TVamInterfacedObject, IInterfacedBitmap) private fBitmap: TB...
{******************************************************************************* Title: T2Ti ERP Description: VO relacionado à tabela [CONTAS_PAGAR_RECEBER] The MIT License ...
Unit VCFRecord; Interface Uses Classes, Generics.Collections; Type EVCFIncidentType = ( vcfitTruePositive, vcfitFalseNegative, vcfitFalsePositive ); EVCFIncidentTypeSet = Set Of EVCFIncidentType; EVCFRecordType = ( vcfrtSNP, vcfrtInsertion, vcfrtDeletion, vcfrtReplace ); ...
unit Defines; interface const APP_BUILD = '2400'; GAME_TYPE_CLASSIC = 0; GAME_TYPE_BC = 1; GAME_TYPE_WOTLK = 2; GAME_TYPE_CATA = 3; GAME_TYPE_MOP = 4; // Char Server // ======================...
//Copyright 2016 Andrey S. Ionisyan (anserion@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/LICENSE-2.0 // //Unless required by applicabl...
unit uRB; interface uses SysUtils, Generics.Collections, ADODB, Classes, Dialogs, Variants, Grids, Windows; type TCharSet = set of Char; TURConnection = class strict private Conn: TADOConnection; fConnected: boolean; private procedure SetConnected(const Value: boolean); public Query: TAD...
unit SimpleRCVersionInfo; { Written by Rick Peterson, Modified by Frank Wunderlich } interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TypInfo; type {$M+} TVersionType = (vtCompanyName, vtFileDescription, vtFileVersion, vtInternalName, vtLegalCopyright, ...
unit ContentTypes; interface uses JvSimpleXml; type TXlsxContentTypes = class(TObject) private public procedure SaveToXml(basepath: String); end; implementation uses System.IOUtils, JclStreams; { TXlsxContentTypes } procedure TXlsxContentTypes.SaveToXml(basepath: String); var xmlExport: TJvSimp...
unit Model.Declarations; interface //uses type TPairDevice = class private fPersonFIO, fDate, fTime, fTypeMeter, fNameMeter: String; fNumberMeter: Integer; fVersionMeter: String; fTypeComm, fNameComm: String; fNumberComm: Integer; fVersionComm: ...
unit PrintTables; interface uses Windows, DBTables, Printers, Graphics, SysUtils, DB; Procedure PrintTbl( Tbl: TDBDataSet; Prt: TPrinter; X1: Integer; Y1: Integer; TitleSize:Integer; RowSize: Integer; RowCount: Integer; Const ColSize1: Array Of Integer; Const TextType1: Array Of Byte; {1 - DT_CENTER, 2...
unit uIdChinaVioThread; interface uses Classes, SysUtils, FireDAC.Comp.Client, Generics.Collections, Variants, DateUtils, IdHttp, uCommon, uInterface, uTypes, FireDAC.Stan.Option, uBaseThread, MyImage, uSQLHelper, IOUtils, uGlobal, uPassList; type TIdChinaVioThread = class(TBaseThread) private FConfig:...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.10-9, FILE=IMDEFB50, CL...
unit Cayan.Genius.Agreement; interface uses System.Classes, System.SysUtils, Cayan.Common, Cayan.Genius, Cayan.Genius.Intf, Cayan.Genius.Impl, XmlDoc, XmlIntf, XmlDom, IdURI; type TCayanGeniusAgreement = class; TCayanGeniusAgreementResponseEvent = procedure(Sender: TObject; const Response: IGe...
unit ob_obfuscator; {** * This file is part of the Obfuscator for PascalScript. * Simba Obfuscator. 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) any la...
unit uProdutosControle; interface uses ADODB, DB, SysUtils, uConexao, uProdutos; type TProdutosControle = class private FConexao: TConexao; FProduto: TProduto; FqrySQL: TADOQuery; FqryProduto: TADOQuery; FdsProduto: TDataSource; procedure SetqrySQL(const Val...
{==============================================================================| | Project : Delphree - Synapse | 002.003.001 | |==============================================================================| | Content: FTP client ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.4-5, FILE=ERR46P...
unit uCIntegerBucketList; interface uses SysUtils, Classes; type TIntegerBucketList = class private FBuckets: TList; FSorted: boolean; function IndexOf(const aValue: Integer): Integer; function GetCount: Cardinal; public constructor Create; destructor Destroy; override; procedure...
{******************************************************************************* Title: iTEC-SOFTWARE Description: VO relational the table [VIEW_PREVENDA] The MIT License ...
unit FStepInWebservice; interface uses Winapi.Windows, System.SysUtils, System.Classes, Vcl.SvcMgr, IdBaseComponent, IdComponent, IdCustomTCPServer, IdCustomHTTPServer, IdHTTPServer, IdContext, IdSSLOpenSSLHeaders, IdSSLOpenSSL, XSuperObject; type TStepInService = class(TService) ...
object ContactForm: TMEContactForm Message = 'Contact Information' MinWidth = 0 OnAction = 'madExcept.HandleContactForm' Timer = 0 object ContinueBtn: INVButton Caption = 'Continue' Enabled = True NoOwnerDraw = False Visible = True end object SkipBtn: INVButton Caption = 'S...
{------原作者------------------------------------------------------------------ 单元: SynFindDlg.pas 作者: 姚乔锋 日期: 2004.11.26 说明: 查找对话框 版本: 1.00 00 -------------------------------------------------------------------------------} (* -- 使用者 -- * Uesr ...
{******************************************************************************* Title: T2Ti ERP Description: Classe de controle do DAV. 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 fi...
unit uModularConnectionManager; //TODO:MED delete this unit. interface uses SysUtils, Classes, Contnrs, uEventList; type EModularConnectionsException = class(Exception); TModularConnection = class strict private fOutputJack: string; fInputJack: string; private public prope...
unit uSetProduto; interface uses System.Classes, System.SysUtils,Vcl.Dialogs, uProduto, uSujeito, uObservador; type EItemExists = Exception; TObservado = class(TInterfacedObject, ISujeito) private Fobservador: IObservador; public procedure incluirObservador(const obs: IObservador); pr...
unit globals; {$INCLUDE defines.inc} interface uses SDL, Sour, Enums, Entities, Buildings, Creatures ; Const GAME_NAME = 'TechnoTumor'; GAME_VMAJOR = 0; GAME_VMINOR = 4; GAME_VBUGFX = 0; GAME_VERSION = Chr(48+GAME_VMAJOR) + '.' + Chr(48+GAME_VMINOR) + '.' + Chr(48+G...
unit HRNavigate; interface uses Classes, uBaseIntf, ZjhCtrls, Buttons, SysUtils, ApConst, Menus; type THRNavigate = class(TComponent) private FItems: TList; FTitle: String; FCurrent: Integer; FOnRefresh: TNotifyEvent; FOnClick: TNotifyEvent; procedure SetCurrent(const Value: Integer); ...
UNIT Bunker13; (* (c) ALFWARE Bernd Schubert *) INTERFACE PROCEDURE InitBunker(b,n:INTEGER); PROCEDURE FreiBunker(b:INTEGER); PROCEDURE LeseBunker(b,n:INTEGER; VAR nr:LONGINT); PROCEDURE SchreibeBunker(b,n:INTEGER; nr:LONGINT); IMPLEMENTATION TYPE TBunker = ^TBunker0; TBunker0 = RECORD n0:INTEG...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.6.5.4-4, FILE=ERR45P...
unit FileManager.Providers.Frames.FileUpload; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, FileManager.Providers.Response.Intf, System.JSON, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, dxGDIPlusClasses, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Buttons, Win.Reg...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.5-16, FILE=IMDEFB18...
unit TokenBasedCondition; interface uses ConditionInterface, ActiveQueueEntry; type /// <summary>Condition class that checks whether a TReceptionRequest instance has /// a token satisfying a condition</summary> TTokenBasedCondition = class(TInterfacedObject, ICondition) /// an ammutable ADT whose state i...
unit Snappy; // Roberto Della Pasqua, for questions contact me through www.dellapasqua.com // 8.aug.2016 // google snappy: ultra fast compression and decompression algorithm // source compiled with clang 3.8.1 // tested md5 100% ok // todo: // -testing with memory mapped files // -scatter/gather io on windows // -wait...
unit Lucidity.StateHelpers; interface uses Lucidity.Interfaces, Lucidity.SampleMap, NativeXml, NativeXmlEx; procedure SaveSamplesToDisk(const ProgramFilename : string; const SampleMap : TSampleMap); procedure MakeSampleFileNamesRelative(const RootNode : TXmlNode; const ProgramFileName : string...
uses crt,modubase; const condx=1; condy=5; Const nxmax = 20; nymax = 20; Type potarray = array[-nxmax..nxmax,-nymax..nymax] of real; Procedure Initialization (Var pot: potarray; Var nx, ny: integer); Var i, j: integer; Begin For i := -nx to nx do Begin For j := -ny...
unit uRANLUX; // Ranlux random number generator originally implemented in FORTRAN77 // by Fred James as part of the MATHLIB HEP library. interface uses uConstants, urandom; type TRanLUX = class(TBaseRandomGen) Const Int_modulus = $1000000; ecuyer_a = 53668; ecuyer_b = 40014; ecuye...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { PRETEST 6.7.2.2-13, FILE=ERR67...
{ ****************************************************************** DiGamma and TriGamma functions. Contributed by Philip Fletcher (FLETCHP@WESTAT.com) ****************************************************************** } unit udigamma; interface uses uConstants; function DiGamma(X: Float): Floa...
unit RedFoxBlend; interface {.$DEFINE Inline} uses RedFox; //============================================================================== // Pixel Blend Functions //============================================================================== // NOTE: // - The BasePixel is the 'destination' layer. // - The...