text stringlengths 14 6.51M |
|---|
unit uSystemUtils;
interface
uses
System.SysUtils;
type
TSystemUtils = class
public
class function NumbersOnly(const aValues: string): string;
end;
implementation
{ TSystemUtils }
class function TSystemUtils.NumbersOnly(const aValues: string): string;
var
LValue: char;
begin
Result := '';
fo... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit LazyRest.Server;
interface
uses
LazyRest.Types, Winapi.Windows, Winapi.Messages, System.SysUtils,
System.Variants, System.Classes, System.Types, IdCustomHTTPServer, IdContext,
IdServerIOHandler, IdServerIOHandlerSocket, IdServerIOHandlerStack,
IdBaseComponent, IdComponent, IdCustomTCPServer, IdHTTPServer... |
{$A+,B-,C+,D+,E-,F-,G+,H+,I+,J+,K-,L+,M-,N+,O-,P+,Q-,R-,S-,T-,U-,V+,W-,X+,Y+,Z1}
{$MINSTACKSIZE $00004000}
{$MAXSTACKSIZE $00100000}
{$IMAGEBASE $00400000}
{$APPTYPE GUI}
unit ICQencryption;
interface
function CheckCode(const Data: array of byte; DataLength: word): Longword;
{ExtractCheckCode - function to extract ch... |
program PRU_vytvoreni_xls(rowsSpacing:integer = 10);
info
Title = 'vytvoreni excelove tabulky z pruvodky'; // Script Title
Keywords = 'vytvoreni excelove tabulky z pruvodky'; // Script Keywords
Author = 'Správce systému K2'; // Script Author
end;
uses
u_vyr,
Graph;
var
... |
unit MapleEffect;
interface
uses
Windows, SysUtils, StrUtils, AsphyreSprite, Generics.Collections, WZIMGFile,
Classes, Global, WzUtils;
type
TEffectType = (Cash, Chair, Equip);
TSetEffect = class(TSpriteEx)
Path: string;
FFrame: Integer;
FTime: Integer;
Delay: Integer;
Or... |
unit uJTPThread;
interface
uses
System.Classes, SysUtils, Generics.Collections, ActiveX, IniFiles, DateUtils,
uGlobal, uHik, uDecodeHikResult;
type
TJTPThread = class(TThread)
private
FVehInfoDic: TDictionary<string, TVehInfo>;
procedure Foo;
procedure Check(item: TK08VehInfo);
function GetLa... |
unit UnitLightEntity;
// Copyright (c) 2020 Sergey-KoRJiK, Belarus
interface
uses
UnitUserTypes,
UnitEntity;
const
NONNAMED_STYLE_INDEX: ShortInt = $00;
type tLightEntity = packed record
Origin: tVec3f;
Angles: tVec3f;
EntityIndex: Integer;
VisLeafIndex: Integer;
Ta... |
unit ButtonTabControl;
{
based on http://stackoverflow.com/questions/2201850/how-to-implement-a-close-button-for-a-ttabsheet-of-a-tpagecontrol
}
interface
uses
Windows, Classes, Controls, Graphics, ComCtrls, Messages, Types;
type
TTabButton = (tbNone, tbMinimize, tbRestore, tbMaximize, tbClose);
TTabButtons =... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.1-2, FILE=IMDEFB19, C... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : D:\项目\惠州\Ehlservice.xml
// >Import : D:\项目\惠州\Ehlservice.xml>0
// Encoding : utf-8
// Version : 1.0
// (2018/9/5 8:48:35 ... |
unit Lucidity.StateManager.DataClasses;
interface
{$INCLUDE Defines.inc}
{$M+}
uses
Lucidity.Enums;
type
TRegionLoadInfo = class
strict private
fHighNote: integer;
fLoopEnd: integer;
fSampleStart: integer;
fSampleBeats: integer;
fSampleVolume: single;
fSampleFrames: integer;
fRoot... |
PROGRAM PatternMatching;
(*
* IN s:
* IN p:
* OUT pos: Position des gefundene Pattern in String s. Bei Missmatch = 0
*)
PROCEDURE BruteForce(s, p: String; VAR pos: BYTE);
VAR
sLen, pLen: BYTE;
i, j: INTEGER;
BEGIN
sLen := Length(s);
pLen := Length(p);
i := 1;
j := 1;
WHILE (j <= pLe... |
unit baseproperty;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Variants, IniFiles;
type
TProperty = class(TObject)
protected
d : Variant; //default
v : Variant; //value
s : String; //section
k : String; //key;
protected
function getValue : Variant;
procedu... |
unit UnitTDeck;
interface
uses
SysUtils, UnitTCard, UnitTDeckNode;
type
TDeck = class
private
Head: TDeckNode;
Last: TDeckNode;
FileName: string[STR_MAXLEN];
function GetNodeById(const id: integer): TDeckNode;
procedure InsertNode(const Node: TDeckNode;
const id: integer);
procedu... |
unit CadSrvc;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-4, FILE=ERR30T, C... |
{-----------------------------------------------}
program Calls;
{-----------------------------------------------}
{Constant Declaration}
const TAB = ^I;
const CR = ^M;
const LF = ^J;
{-----------------------------------------------}
{Variable Declarations}
var Look: char; {Lookahead Character}
var ST: Arra... |
unit ProdutoService;
interface
uses BasicService, ProdutoRepository, Vcl.Forms, Vcl.ExtCtrls, Generics.Collections, ProdutoVO,
Vcl.Controls, System.SysUtils, PanelHelper, ViewGrupoVO, ViewSubgrupoVO,
VendaItemVO, Datasnap.DBClient, ObsVO, System.Classes, Data.DB,
FireDAC.Comp.Client, TerminalVO, System.Math;
t... |
unit FormMain;
{$mode objfpc}{$H+}
interface
uses
Forms, Controls, StdCtrls, Dialogs, ComCtrls, ValEdit, ExtCtrls, Menus,
TreeFilterEdit, ViewTypes, LayoutViewer, TaskRunner, Classes, SysUtils, Bookmarks;
type
{ TBookmark }
TBookmark = class
ActiveView: TView;
ActiveBranch: TView;
OriginX: sin... |
unit UDMCadAluno;
interface
uses
System.SysUtils, System.Classes, Datasnap.Provider, Data.DB,
Datasnap.DBClient,
Data.FMTBcd, Data.SqlExpr, Data.DBXFirebird, Vcl.Dialogs;
type
TDMCadAluno = class(TDataModule)
CDSCadastro: TClientDataSet;
DSProvider: TDataSetProvider;
SQLDS: TSQLDataSet;
SQLDD... |
unit uUploadVio;
interface
uses
System.SysUtils, Classes, uCommon, IdCustomHTTPServer, StrUtils, uGlobal,
idHttp, Vcl.Imaging.GIFImg, Vcl.Imaging.jpeg, Vcl.ExtCtrls, System.Variants,
Vcl.Imaging.pngimage, Vcl.Graphics, uTmri, IdFtp, IdFTPCommon, IdGlobal,
ADODB, uTokenManager, System.NetEncoding, uRmInf, uEnt... |
Unit TM_Log; {For Log File functions}
interface
uses tobjs, use32;
type
Ltype = (LInfo, Lwarn, LError, LFatal);
side = (left, right);
PLogObj = ^TLogObj;
TLogObj = Object(Tobject)
Ofm : byte; {Old Filemode holder}
Fmode: byte; {File Mode for opening}
L... |
unit Logging4D;
interface
uses
{$IFDEF VER210}
SysUtils;
{$ELSE}
System.SysUtils;
{$ENDIF}
type
ELoggerException = class(Exception);
TLoggerLevel = (Off, Fatal, Error, Warn, Info, Debug, Trace, All);
TLoggerKeywords = array of string;
TLoggerAppender = TProc<string>;
ILoggerMarker = interfac... |
unit GameScoreDialog;
uses w3system, w3components, w3ctrls, GameScore, GamePanel;
type
TGameScoreDialog = class(TGamePanel)
private
FLblTitle : TW3Label;
FLblScores : TW3Label;
FBtnBack : TW3Button;
FOnBack : TNotifyEvent;
protected
proce... |
unit isr;
interface
procedure InstallISR;
type
TIsrHandler = procedure (var r: TRegisters);
procedure InstallIsrHandler(const isrNo: Byte; Handler: TIsrHandler);
procedure UninstallIsrHandler(const isrNo: Byte);
Procedure IsrHandler(var r: TRegisters); cdecl;
procedure PageFaultHandler(const r: TRegisters);
proce... |
unit UdtmDataModule_IU;
interface
uses
System.SysUtils, System.Classes, Data.FMTBcd, Data.DB, Data.SqlExpr,System.Math, data.DBXJSON;
type
TDtmDataModule_IU = class(TDataModule)
QueryExec: TSQLQuery;
private
{ Private declarations }
public
{ Public declarations }
//---------------------------... |
unit TestWeatherCentral;
interface
uses
TestFramework, Subject, WeatherCentral, System.Generics.Collections,
System.SysUtils, Observer, ConcreteObserver, Observerteste2;
type
TestTWeatherCentral = class(TTestCase)
strict private
FWeatherCentral: TWeatherCentral;
protected
procedure SetUp; override;... |
unit Views.MainViews;
interface
uses
ViewModels.MainViewModels,
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.Layouts,
FMX.StdCtrls,
FMX.Controls.Presentation,
FMX.Edit,
System.Math.Vec... |
(*
Ita IDE Plugin
Copyright (c) 2014-2020 Lyna
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.4-7, FILE=DEV084, C... |
unit UECDSA;
{ Copyright (c) 2018 by Preben Björn Biermann Madsen
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
}
interface
uses
Classes, SysUtils, UCrypto, UOpenSSL;
function ECDSA_Init: boolean;
function ECDSA_... |
Program TrabajoPractico;
uses Printer,DOS,CRT;
const
MAXPASILLO = 9;
MAXCOLUMNA = 20;
MAXESTANTE = 5;
type
t_NumSerie = 0..9999; {El valor cero significa que el lugar está vacío}
t_Datos = 1..9999;
t_Columna = 1..20;
t_Pasillo = 1..9;
t_Estante = 1..5;... |
unit UfcExpertInterface;
interface
uses Forms, windows, ExptIntf, ToolIntf;
type
TNLDPropertyExpert = class(TIExpert)
public
constructor Create; virtual;
destructor Destroy; override;
{ Expert Style }
function GetStyle: TExpertStyle; override;
function GetIDString: string... |
unit Test.PlugLib.AirControl.TaskQueue;
interface
uses
WatchTower,
PlugLib.AirControl.TaskQueue;
type
TTaskQueueTest = class(TWatchTowerTest)
private
procedure MakeWorkMethodA;
procedure MakeWorkMethodB;
public
procedure Setup; override;
procedure TearDown; override;
[Test]
procedu... |
unit FF8_Dat;
interface
uses
FF8_compression;
Type
DWord = LongWord;
TDatFile = Record
Data: Pointer;
Size: Integer;
end;
TDatFileType = (dfINF, dfCA, dfID, dfMAP, dfHz0, dfRAT, dfMRT, dfHz1, dfMSD, dfPMD (*PMP?*), dfJSM);
TFF8DatFileList = Array[TDatFileType] of TDatFile;
TFF8Dat = Class
... |
(*-----------------------------------------------------------------------------
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... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-13, FILE=DEV095, CL... |
unit VamTabPanel;
interface
uses
Types, Controls, Classes, RedFox, RedFoxGraphicControl, RedFoxColor, RedFoxImageBuffer,
VamGraphicControl, VamWinControl;
type
{$SCOPEDENUMS ON}
TTabPosition = (tpAboveLeft, tpAboveRight, tbAboveCenter, tpBelowLeft, tpBelowRight, tpBelowCenter);
TVamTabPanel = class(TVamWi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-12, FILE=DEV227, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-21, FILE=DEV219, ... |
unit OutputControler;
interface
uses
Classes, SysUtils,
FormOutputControler;
type
TOutputControler = class (TObject)
private
FControlers: array[0..7] of TFrmOutputControler;
function GetControler(Index: Integer): TFrmOutputControler;
procedure SetControler(Index: Integer; Value: TFrm... |
uses GraphABC;
var marks: array [1..49] of string = ('Acura'
,'Alfa Romeo'
,'Audi'
,'Bentley'
,'Bogdan'
,'Buick'
,'Cadillac'
,'Chery'
,'Chevrolet'
,'Citrołn'
,'Daewoo'
,'Daihatsu'
,'Dodge'
,'Faw'
,'Ferrari'
,'Gaz'
,'Hafei'
,'Haima'
,'Honda'
,'Hyundai'
,'infiniti'
,'Iran Khodro'
,'Jaguar'
,'Kamaz... |
unit uHik;
interface
uses
System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon,
uDecodeHikResult, DateUtils, ActiveX, uEntity;
type
TImageInfo = Record
GCXH: String;
KDBH: String;
CDBH: String;
Url: String;
PassTime: String;
End;
THik = class
private
class va... |
unit Globals;
{$i Compiler.inc}
interface
uses SysUtils, StringList;
const tpsVMT='VMT';
tpsIdentifier='';
tpsTypedConstant='';
tpsOverload='_OVERLOAD_';
tpsParameter='_PARAMETER_';
tpsDummyPointerType='_DUMMYPOINTERTYPE_';
tfeUnit='.u';
tfeSrc=... |
{
MIT License
Copyright (c) 2017 Jamie Geddes
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, merge, publish, di... |
unit uAWSRestServiceUnit;
interface
uses
System.SysUtils, uDataDefineUnit,
Data.Cloud.AmazonAPI.China, Data.Cloud.AmazonAPI.China.GateWay, Data.Cloud.AmazonAPI.China.S3;
type
TAWSRestService = class(TObject)
private
FConnectionInfo:TAmazonChinaConnectionInfo;
FGateWayService:TAmazonChin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.6.2-13, FILE=ERR52... |
unit HTMLDecoder;
{*****************************************************************************************************}
{************** ******************}
{************** Progsan Internet User Agent Components ... |
{ ******************************************************************
Distributed random numbers
CopyRigth 2008 Alex Vergara Gil
alex@cphr.edu.cu
****************************************************************** }
unit urandist;
interface
uses
uConstants, parser10, urandom, utypes;
type
TR... |
{ *******************************************************************************
Title: T2Ti ERP
Description: VO do estoque.
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
... |
unit UpdateFields;
interface
const
UPDATEFIELDS_VERSION = '2.0.1';
UPDATEFIELDS_BUILD = '06180';
UPDATEFIELDS_RELEASE = 'WoW [Release] Build 6180 (Nov 27 2006 21:53:27)';
OBJECT_BEGIN = 0;
... |
unit comDiscovery;
{
Odhalovani uLI-master v zavislosti na 'Popisu zarizeni hlasenem sbernici'.
Funkce EnumuLIDevices(list) prida do seznamu \list cisla vsech COM portu,
na kterych je pripojeno uLI-master.
Odhalovani COM portu je zalozeno na Windows SetupAPI a faktu, ze
friendly_name COM portu je ve formatu... |
{==============================================================================|
| Project : Ararat Synapse | 001.004.000 |
|==============================================================================|
| Content: LDAP client ... |
{
TADSR is a basic RC-filter type ADSR envelope.
==== History =====
12 Feb 2013
- renamed unit to uADSR. Copied from EasyEffect base classes.
}
unit soADSR;
interface
{$INCLUDE Defines.inc}
uses
VamLib.MoreTypes,
eeTypes, eeDSP;
const
//kThreshold65db = 0.0005623413252;
kAtt... |
program prim;
uses
// windows,
sysutils;
function readNumbers(const str:string;var pos:longint):longint;
const DIGIT=['0'..'9'];
WHITESPACE=[' ',#13,#10,#9];
var start:longint;
begin
while (pos<=length(str))and
not (str[pos] in DIGIT) do inc(pos);
start:=pos;
while (pos<=length(... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.4-4, FILE=ERR45T, C... |
{ 21/11/2005 15:08:43 (GMT-3:00) > [sysdba on NEUMANN] checked out /}
{===============================================================================
Projeto Sultan
Biblioteca de componentes para conexão com periféricos de Automação Comercial.
Site: http://www.sultan.welter.pro.br
Direitos Autorais Reservados (... |
program LargestSmallest;
type
Number = (a, b, c, d, e, f, g, h, i, j);
NumberList = array[Number] of integer;
var
x : Number;
y : NumberList;
total: integer;
ave : real;
max: integer;
min: integer;
begin{program}
writeln('Enter ten non negative integers');
writeln('And I will tell you the average');
f... |
unit TestLua;
interface
implementation
Uses SysUtils, DLua, MainUnit, LuaBase, LuaUtils, Variants, Utils, Graphics,
DRegistry;
type
MyClass = class
Mess : string;
constructor Create( _Mess : string );
end;
{ MyClass }
constructor MyClass.Create(_Mess: string);
begin
Mess := _Mes... |
unit LPTClient;
interface
uses
Windows, LPTControlerClient;
function Client: TLPTControlerClient;
implementation
uses SysUtils;
var
_Instance: TLPTControlerClient;
function Client: TLPTControlerClient;
begin
Result := _Instance;
end;
initialization
try
_Instance := TLPTControl... |
unit eeGuiHelpers;
interface
uses
Menus;
type
TMenuHelper = class(TMenu)
private
public
function FindItemByName(Name : string):TMenuItem;
end;
function MenuHelper(aMenu : TMenu):TMenuHelper;
implementation
function MenuHelper(aMenu : TMenu):TMenuHelper;
begin
result := TMen... |
unit ee3.ProcessController;
{
VST Plugins process audio and MIDI events. Plugins may:
- receive audio
- send audio
- receive MIDI
- send MIDI
- or any combination of the above.
Additionally some plugins will
- use internally oversampled audio.
- split the audio buffer according the the MIDI event ti... |
unit Example.SCUTUM.Connection;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, SCUTUM.Connection.Abstract, System.Actions, FMX.ActnList,
FMX.Edit, FMX.ListBox, Fmx.Bind.Grid, System.Bind... |
unit SEF;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, HexUnit, Dialogs;
type
TSEFORM = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel: TBevel;
StartEdit: TLabeledEdit;
procedure FormCloseQuery(Sender: TObject; var CanClose: Boolea... |
unit ServMain;
interface
{$I OSVer.inc}
uses
SvcMgr, Classes;
{$REGION 'Declare Global Type'}
type
TUFBackUp = class(TService)
procedure ServiceStart(Sender: TService; var Started: Boolean);
procedure ServiceStop(Sender: TService; var Stopped: Boolean);
procedure ServiceBeforeInstall(S... |
{
Adobe Font Metrics and FontForge's Spline Font Database
}
{$MODE OBJFPC}
{$H+}
{$INLINE ON}
unit fi_afm_sfd;
interface
uses
fi_common,
fi_info_reader,
line_reader,
classes,
sysutils;
implementation
type
TFontFormat = (
AFM,
SFD
);
const
FONT_IDENT: array [TFontFormat] of record
... |
unit Menu.SampleContextMenu;
interface
uses
Classes,
Lucidity.Interfaces,
eePlugin, Vcl.Menus;
type
TSampleContextMenu = class
private
fLoopPointsVisible: boolean;
protected
FOwner : TComponent;
Plugin : TeePlugin;
Menu : TPopUpMenu;
MouseDownSamplePos : integer;
// TODO:HIGH Cu... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-18, FILE=DEV216, ... |
unit CEAppState;
interface
uses
CE.Types, CE.Interfaces, CE.ClientState, System.SysUtils,
System.Generics.Collections;
type
TCEAppState = class
private
FCELanguages: ICELanguages;
FCECompilers: ICECompilers;
FCELibraries: ICELibraries;
FCECompile: ICECompile;
FCELinkInfo: ICELinkInfo;
... |
unit FarScape.RootControl;
interface
uses
Agg2d,
Windows,
Graphics,
Types,
FarScape.Assistant.Bitmap,
FarScape.CustomControl,
FarScape.Scene,
FarScape.UserInteraction;
type
TFarScapeRootControl = class(TFarScapeAbstractRoot)
private
FSharedAgg2d : TAgg2d;
FBackBuffer : TBitmap;
FDrawB... |
unit uLogCheck;
interface
uses
Windows, SysUtils, Classes, IOUtils, Types, Generics.Collections, DateUtils;
type
TLogCheckResult = (
CR_OK = 0,
CR_FILE_NOT_EXISTS = 1,
CR_FILE_IS_EMPTY = 2,
CR_TIMEOUT = 3,
CR_THREAD_MISS = 4,
CR_ERROR = 5
);
TLogRecord = record
Time: double;
... |
unit MVCFramework.RESTClient;
interface
uses
Classes,
IdBaseComponent,
IdComponent,
IdTCPConnection,
IdTCPClient,
IdHTTP,
idURI,
{$IF CompilerVersion < 27}
Data.DBXJSON,
{$ELSE}
System.JSON,
{$IFEND}
IdMultipartFormData,
System.SysUtils, Data.DB, IdIOHandler,
IdCompressorZLi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.4-5, FILE=DEV082, C... |
unit Vcl.AutoComplete;
interface
uses
System.SysUtils, Windows, Messages, Classes, Vcl.Controls, Vcl.StdCtrls, Vcl.Forms,
Vcl.Dialogs, Vcl.Menus;
// Класс выпадающего меню автозавершения.
type
TDropDown = class(TListBox)
protected
procedure Sort;
procedure CreateParams(var Params: TCreateParams);
... |
unit ServiceRestJson;
interface
uses
REST.JSON,
uPeople;
type
TServiceRestJson = class
private
FPeople: TPeople;
public
constructor Create(aPeople :TPeople);
destructor Destroy; override;
function GetJson: string;
function GetPeople(const aJson: string): TPeople;
end;
implementatio... |
unit UnitTTrainingAnswerView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils,
System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons,
Vcl.StdCtrls, UnitTDeck, UnitTCard,
UnitTTrainingQuestionView;
type
TTrainingAnswerView = class(TForm)
Answe... |
unit uspQuery;
interface
uses
SysUtils, Classes, FireDAC.Comp.Client, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Stan.Async, FireDAC.DApt,
Data.DB, FireDAC.Comp.DataSet,FireDAC.Phys.FB;
type
TspQuery = class(TFDQ... |
unit AdvPreviewMenuEditor;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin, Buttons, AdvPreviewMenu, ComCtrls, ExtCtrls, Math,
ExtDlgs, ImgList, Menus;
type
TPreviewMenuEditor = class(TForm)
gb_OfficeHint: TGroupBox;
mem_Notes: TMemo;
edt_Hi... |
unit SfzParser.SfzOpcodes;
interface
{$SCOPEDENUMS ON}
type
TSfzOpcode = (
Unknown,
sample,
lochan,
hichan,
lokey,
hikey,
key,
lovel,
hivel,
lobend,
hibend,
lochanaft,
hichanaft,
lopolyaft,
hipolyaft,
lorand,
hirand,
lobpm,
hibpm,
seq_... |
unit uMySettings;
interface
uses
System.SysUtils, System.DateUtils, System.StrUtils,
uIniSave;
type
[IniSaveClass]
TMySettings = class
private
FMyName: string;
FMyFavNumber: Integer;
FMyBirthDateStr: string;
function GetMyBirthDate: TDateTime;
procedure SetMyBirthDate(const Value: TDate... |
{
TSampleLoader
Loading large samples can be slow. TSampleLoader loads a sample in a seperate thread. It can be
used to avoid blocking audio or GUI threads.
NOTE: This code was written while I was still learning how to use OmniThreadLibrary effectively.
NOTE: This code assumes there are two t... |
unit UCheque;
interface
type
Cheque = class
public
function ImprimeValor(Valor: Real): String;
end;
implementation
const
VALORES_UNIDADES: array[1..9] of string = ('UM', 'DOIS', 'TRĘS', 'QUATRO',
'CINCO', 'SEIS', 'SETE', 'OITO', 'NOVE');
VALORES_DEZENAS: array[1..9] of s... |
{$TYPEINFO ON}
{$IfNDef FPC}
{$if COMPILERVERSION > 20}
{$WARN IMPLICIT_STRING_CAST OFF}
{$ifend}
{$EndIf}
unit ObjectRTTI4D;
interface
uses
Classes,
Contnrs,
SysConst,
TypInfo,
Forms,
DB,
ObjectInterf4D;
type
TObjectRTTI4D = class(TInterfacedObject, iObjectRTTI4D)
priv... |
unit TSysMan;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.5-4, FILE=ERR87T, CLA... |
unit Builder;
interface
type
TBuilder = class
public
procedure MakeTitle(title:string);virtual;abstract;
procedure MakeString(str:string);virtual;abstract;
procedure MakeItems(items:array of string);virtual;abstract;
procedure Close;virtual;abstract;
end;
implementation
end.
|
unit PDBComboBox;
interface
uses
System.SysUtils, System.Classes,
Vcl.Controls, Vcl.StdCtrls,
Data.DB,DBCtrls,
WinAPI.Messages;
type
TNotInListEvent = procedure (Sender:TComponent; Data:String) of object;
TPDBComboBox = class(TCustomComboBox)
private
{ Private declarations }
fLis... |
{ ******************************************************************
Function minimization by the simplex method
Modifications
20120210 Alex Vergara Gil
Ported to class design
****************************************************************** }
unit usimplex;
interface
uses
utypes, unlfit, ... |
unit uFrmPadrao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids,
Vcl.DBGrids, Vcl.ComCtrls, Vcl.Buttons, Vcl.ExtCtrls, DBCtrls;
type
TFrmPadrao = class(TForm)
PanelBotoe... |
{
Some of these methods have been taken from Tobybear's
PitchConverter unit.
}
unit eePitch;
interface
uses
SysUtils, Math;
function CpsToMidi(x:double):integer; inline;
function MidiToCps(x: double): double; inline;
function CpsToSamples(x:double; SampleRate:single):single; inline;
funct... |
unit URomberg;
{ Unit uRomberg : Romberg numerical integration Unit
Created by : Alex Vergara Gil
Contains the routines for numerical integration by Romberg algorithm
}
interface
uses utypes, uConstants;
function RombergIntT(funcion: string; a, b: float; EPS: float = 1E-15;
JMAX: integer = 2... |
{ ******************************************************************
This unit fits the acid/base titration function :
B - A
y = A + ----------------
1 + 10^(pKa - x)
where x is pH
y is some property (e.g. absorbance) which depends on the
ratio of the acidic and basic forms of the compound
... |
unit InWindowDialog.SampleFinderDialog;
interface
uses
Classes, Graphics,
InWindowDialog.Prototypes;
type
TFileFoundCallback = reference to procedure(const MissingIndex : integer; const OldFileName, NewFileName : string; var Accept : boolean; var AcceptMessage : string);
TSampleFinderDialog = class(TPluginD... |
unit uDBSelect;
interface
uses
System.SysUtils, System.Classes;
type
TdmDBSelect = class(TDataModule)
private
{ Private declarations }
public
{ Public declarations }
Function SelectTB_ACCESSEVENT_AccessReport(aStartDate, aStartTime,aEndDate, aEndTime, aDoorBuildingCode, aDoorBuildingAreaCode, aDo... |
unit Model.DataBase;
interface
uses
Model.Database.Interfaces;
function CreateDatabaseClass: IDatabaseInterface;
implementation
uses System.SysUtils, System.DateUtils, System.Generics.Collections,
Model.DMDataBaseRim, Model.Declarations;
type
TDataBase = class (TInterfacedObject, IDataBaseInterface)
pri... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-4, FILE=CONF082, CLASS=... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UCliente, Vcl.StdCtrls, Vcl.Grids,
Vcl.Menus;
type
TForm1 = class(TForm)
BtnCreateInstance: TButton;
EditNome: TEdit;
EditIdade: TEdi... |
unit U0410_v3_1;
interface
Type
T0410_v3_1 = class
private
FSaid_Final: Currency;
FConta_Supe: string;
FDes_Mista: integer;
FValr_Cred: Currency;
FCod_Depe: string;
FNum_Linha: integer;
FReg: integer;
FValr_Debt: Currency;
FConta: string;
FSald_Inic: Currency;
FAno_Mes_Cmp... |
unit Main;
interface
uses
Qt, QExtCtrls, QDialogs, QMenus, QTypes, QGraphics, QControls, QForms,
SysUtils, Classes, QStdCtrls, IdGlobal,
libmng;
{****************************************************************************}
{* For conditions of distribution and use, *}
{* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.