text stringlengths 14 6.51M |
|---|
unit uIniArq;
interface
uses
{WinTypes, }Classes, Dialogs;
type
TIniArq = class (TObject)
private
FnomeArq: PChar;
function getNomeArq: string;
public
constructor Create(const aNomeArq: string);
destructor Destroy; override;
procedure ApagaItem(const Secao, Item: string);
proced... |
UNIT AST;
INTERFACE
TYPE
NodePtr = ^Node;
Node = RECORD
left, right: NodePtr;
val: STRING; (* operator or operand as string *)
END; (* Node *)
TreePtr = NodePtr;
(*
* Creates a new node
* IN left: left node
* IN value: value for the node
* IN right: right node
* RETURN: the creat... |
unit Helpers.TStringListHelper;
interface
USES Classes, StrUtils, System.SysUtils;
TYPE
TStringListHelper = CLASS HELPER FOR TStrings
function ToSQL: STRING;
function ToSQLInt: STRING;
END;
implementation
{ TStringListHelper }
function TStringListHelper.ToSQL: string;
VAR
S: string;
function Quote... |
unit APICryptoCoins;
interface
uses
IdTCPConnection, IdTCPClient, IdHTTP, IdSSLOpenSSL, System.json, System.SysUtils;
type
TAPICoinCap = class
private
RespCode: Integer;
procedure SearchCoin(pCoin: String);
procedure LerJson(pJson: String);
public
Name, Symbol, Rank, PriceUsd, PriceBtc : Strin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.7.2.2-8, FILE=ERR62P... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.2-7, FILE=ERR17T, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-3, FILE=DEV208, C... |
unit uAVInfo;
interface
uses
SysUtils,
Windows,
ActiveX,
ComObj,
Variants;
function GetAVInfo: String;
implementation
type
TSecurityCenterProduct = (AntiVirusProduct,AntiSpywareProduct,FirewallProduct);
const
WmiRoot='root';
WmiClassSCProduct : array [TSecurityCenterProduct] of string = ('AntiV... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.2-7, FILE=DEV172, C... |
unit uHideStringFunc;
interface
function HideString(const MyString: string; const UseNumbers: Boolean = False;
const ReverseStr: Boolean = False): string;
implementation
function RandomChar(const ReturnDigit: Boolean = False): Char;
begin
if ReturnDigit then
Result... |
unit Model.Atributos.Tipos;
interface
type
TTipoCampo = (tpNull, tpSMALLINT, tpINTEGER, tpBIGINT, tpDECIMAL, tpNUMERIC, tpFLOAT, tpDOUBLE, tpDATE, tpTIME, tpTIMESTAMP, tpCHAR, tpVARCHAR, tpBLOB,tpBIT,tpXML, tpJSON, tpNVARCHAR);
TSortingOrder = (NoSort, Ascending, Descending);
TSequenceType = (NotInc, AutoInc,... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Week definition
@created(12/05/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION
}unit Week;
interface
uses
Dat... |
{ ************************************************************************* }
{ TAdvSmoothPopup component }
{ for Delphi & C++Builder }
{ }
{ writte... |
{------------------------------------------------------------------------------
Property editor form for TOrImage component
(c) 20.03.03 by Yurij Orishenko e-mail: yraor@omen.ru
-------------------------------------------------------------------------------
}
unit OrImageEditor;
interf... |
unit MpjPlaylists;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, strutils, IniFiles;
type
TPlaylist = record
IsExtended: boolean;
Files: array of record
IsAbsolutePath: boolean;
FileName, TrackName: string;
LengthSec: integer;
end;
end;
TPlaylistExte... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,System.Diagnostics,Math,System.Generics.Collections,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.Edit, FMX.EditBox, FMX.NumberBox... |
unit Decorator;
interface
uses
Beverage;
type
TDecorator = class abstract(TBeverage)
public
// function getPrice: double; override;abstract;
function getDescription: string; override; abstract;
end;
implementation
end.
|
unit PopcornMachine;
interface
type
TPopCornMachine = class
procedure MachineOn;
procedure MachineOff;
procedure Pop;
end;
implementation
{ TPopCornMachine }
procedure TPopCornMachine.MachineOff;
begin
Writeln('Pipoqueira Desligada');
end;
procedure TPopCornMachine.MachineOn;
begin
Writeln('Pip... |
Unit TCP_NewIniFile;
Interface
Uses UString,Classes, Forms, Graphics, StdCtrls, Buttons,Dialogs;
CONST MaxIniIdents=100;
Type
TNewAsciiIniFIle=Class(TObject)
Protected
AIniFIle:Text;
AIniString:String;
SectionList:TStringlist;
I... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3-4, FILE=CONF199, CLASS=... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
ListBox1: TListBox;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declaration... |
unit U0000;
interface
Type
T0000=class
private
FAno_Mes_Inic_Compe: string;
FCnpj: integer;
FReg: integer;
FTipo_inti: string;
FAno_Mes_Fim_Comp: string;
FNome: string;
FCod_Munc: integer;
FNumLinha: integer;
procedure SetAno_Mes_Fim_Comp(const Value: string);
procedure SetAno... |
unit ee3AddOn.VstMidi;
interface
uses
DAEffect,
DAEffectX,
VamLib.Collections.Lists;
type
TMidiStatus = record
const
NoteOn = $90;
NoteOff = $80;
ControlChange = $B0;
PitchBend = $E0;
ProgramChange = $C0;
end;
TVstMidiList = class(TSimpleRecordList<VstMidiEvent>)
... |
UNIT FRACRAT;
{ unité FracRat version 1.2 M }
{ René DEVICHI -avril 1990 }
{ ------------------------------------------------- }
{ opérations sur les fractions rationnelles de R(X) }
INTERFACE
{ Note: description du type Fraction
c'est un enregistrement de deux polynôme... |
unit Model.Conections.Rest.Interfaces;
interface
uses
System.JSON,
System.SysUtils;
type
IRestConnector = interface;
IRestProvider = interface;
IRestConnection = interface
['{6F14C58C-08D6-4741-9457-EE1BE3443187}']
function Connector(_Connector: IRestConnector): IRestConnection;
function Provi... |
unit FileManager.Providers.Types.TipoArquivo;
interface
uses System.StrUtils, System.Classes, System.SysUtils;
type
{$SCOPEDENUMS ON}
TTipoDocumento = (AI, AVI, CSS, CSV, DOC, EXE, HTML, ISO, JPG, JS, JSON, MP3, MP4, PDF, PNG, PPT, PSD, RTF, SVG, TXT, UNKNOW,
XLS, XML, ZIP);
{$SCOPEDENUMS OFF}
TTipoDocument... |
//############################################################################//
unit mgl_mapclick;
interface
uses mgrecs,mgl_common,mgl_attr,mgl_tests,mgl_xfer,mgl_res,mgl_cursors,mgl_rmnu,mgl_buildcalc,mgl_build,mgl_actions,mgl_land;
//############################################################################// ... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
{ ******************************************************************
Singular value decomposition
****************************************************************** }
unit usvd;
interface
uses
utypes, math, uminmax, utrigo, ulu, uConstants;
type
TSVD = class(TBaseDecomp)
private
A: TMatr... |
{**************************************************************************}
{ TColorChooser component }
{ for Delphi & C++Builder }
{ version 1.0 }
{ ... |
unit u7ZtoHConv;
interface
Uses
System.SysUtils, Classes, AnsiStrings;
Type
Tu7ZtoHConv = class
private
protected
public
// 文字が漢字の1文字目かどうかチェックする
class function IsKanjiUp(AChar: AnsiCHAR): Boolean;
class function IsKanjiUpS(AStr: AnsiString; n: Integer): Boolean;
class func... |
unit NetMessages;
interface
const
NETMSG_VERSION = '0.8.0';
NETMSG_BUILD = '04714';
NETMSG_RELEASE = 'WoW [Release Assertions Enabled] Build 4714 (Sep 27 2005 03:35:51)';
// -------------------------------------... |
// Marcello Mello
// 02/10/2019
unit lps.env;
interface
uses
SysUtils,
Classes,
Generics.Collections,
lps.types;
type
TEnvironment = class
private
FValues: TDictionary<string, TSSLangValue>;
FEnclosing: TEnvironment;
public
constructor Create(Enclosing: TEnvironment = nil);
destructor... |
unit Banner;
interface
type
TBanner = class(TInterfacedObject)
private
p_string : string;
public
constructor Create(str : string);
function ShowWithParen():string;
function ShowWIthAster():string;
end;
implementation
constructor TBanner.Create(... |
{ ******************************************************************
This unit fits a sum of decreasing exponentials:
y = Ymin + A1.exp(-a1.x) + A2.exp(-a2.x) + A3.exp(-a3.x) + ...
****************************************************************** }
unit uexpfit;
interface
uses
utypes, umath, uqsor... |
unit NetworkAdapterInfo;
// from http://stackoverflow.com/questions/325872/detect-an-internet-connection-activation-with-delphi/331421#331421
interface
//{$mode delphi}
{$R-}
uses Classes, SysUtils;
type
TAdapterInfo = array of record
dwIndex: longint;
dwType: longint;
dwMtu: longint;
dw... |
{*******************************************************************************
Title: T2Ti ERP
Description: VOs relacionado à tabela [NotaFiscalDetalhe
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 associat... |
{$i AlwaysInclude.inc}
unit ResourceUtils;
{
Some code borrowed from Vladimir Gaitanoff Delphi VCL Library,
General-purpose utility routines
vgUtils.pas on http://www.koders.com
}
interface
uses
Classes;
{ Macro for loading strings from resources }
{ --- Resourcestring }
procedure StoreResStri... |
unit c_extinfo;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls,
Graphics, Types, crDefs, c_vertsb, c_song, Windows;
type
{ TFrmExtInfo }
TFrmExtInfo = class(TFrame)
BtnOK: TPanel;
BtnToggleMode: TPanel;
S... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit uProdutoDAO;
interface
uses dm, ZAbstractRODataset, ZAbstractDataset, ZDataset, Produto, System.SysUtils, ZConnection;
type
TProdutoDAO = class
private
zquery: TZQuery;
public
procedure pesquisarProduto;
function inserirProduto(produto: TProduto): boolean;
end;
im... |
unit Utils.DLL;
interface
uses System.SysUtils, System.Classes, Winapi.Windows;
Type
TLibHandle = THandle;
TDLLUtil = Class
private
class function FunctionDetect(const LibName, FuncName: String; var LibPointer: Pointer; var LibHandle: TLibHandle): Boolean; overload;
class function FunctionDetect(const... |
unit dtmInventory;
interface
uses
SysUtils, Dialogs, Classes, DB, ADODB, cxGrid, cxStyles, cxCustomData,
cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit, cxDBData, cxCalendar,
cxDBExtLookupComboBox, cxCurrencyEdit, cxImageComboBox, cxMemo, cxClasses,
cxDBLookupComboBox, cxGridCustomTableView, cxGr... |
UNIT VectorADS;
INTERFACE
(* fügt den Wert val „hinten“ an, wobei zuvor ev. die Größe des Behälters angepasst wird. *)
PROCEDURE Add(val: INTEGER);
(* setzt an der Stelle pos den Wert val.
* Der Aufrufer hat dafür zu sorgen, dass die pos nicht ausserhalb der Feldgröße liegt.
*)
PROCEDURE SetElementAt(pos: INTEGER; v... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.4-15, FILE=CONF132, CLA... |
unit TestClassA;
interface
uses
Classes,
TestInterfaces;
type
TTestClassA = class(TInterfacedPersistent, ITestIntf)
private
{ Private declarations }
protected
{ Protected declarations }
public
function Add(aValue1, aValue2: Integer): Integer;
function Multiply(aValue1, aValue2: Integer): ... |
{------------------------------------------------------------------------------
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 spritepicker;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, IntfGraphics;
type
TMoveMode = ( MoveMode_None, MoveMode_Image, MoveMode_TopLeft, MoveMode_BottomRight );
{ TfrmSpritePicker }
TfrmSpritePicker = class(TForm)
c... |
unit SuplaDevUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, System.ImageList, Contnrs,
Vcl.ImgList, System.Actions, Vcl.ActnList, Vcl.ToolWin, Vcl.ExtCtrls, Vcl.StdCtrls,
SuplaDevDrvUnit,... |
{$R+,S+,I+,D+,F+,V+,B+,N-,L+ }
{$M 16384,0,655360 }
uses polynm;
const
epsilon:real=1E-10;
var
zd_erreur:boolean;
function zero_dicho(p:polynome;x1,x2:real):real;
var
m,v:real;
n:byte;
begin
zd_erreur:=false;
if valeur(p,x1)>valeur(p,x2)
then begin
m:=x1; x1:=x2; x2:=m;
end;
n:=0;
repeat
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-29, FILE=DEV235, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.2-1, FILE=LEV1F24... |
unit RequestSaverFactory;
interface
uses
RequestStorageInterface, ServerConfig, RepositoryConfig;
type
TRequestSaverFactory<T: class, constructor> = class(TObject)
public
function CreateStorage(const Config: TRepositoryConfig): IRequestStorage<T>;
end;
implementation
uses
RequestToFileSystemStorage, ... |
{ *******************************************************************************
Title: T2Ti ERP
Description: Classe de controle do Sintegra.
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 associate... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-1, FILE=CONF055, CLAS... |
unit StringUtilsUnit;
interface
function CommaSeparated(const Values: array of WideString): WideString; overload;
implementation
uses
SysUtils;
function CommaSeparated(const Values: array of WideString): WideString;
var
Value: WideString;
begin
Result := '';
for Value in Values do
if R... |
{
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 uClasses;
interface
uses DB;
type
TKlant = class
private
FKlantnaam: string;
FFiliaal: string;
FID: Integer;
FPostcode: string;
FPlaats: string;
FTelefoon: Integer;
FEmail: string;
public
property ID: Integer read FID write FID;
property Klantnaam : string read FKlantnaa... |
unit JSON.Utils;
interface
uses
System.Classes,
System.TypInfo,
System.SysUtils,
System.Generics.Collections,
System.Rtti, System.DateUtils,
Soap.EncdDecd,
{$IF DECLARED(FireMonkeyVersion)}
FMX.Graphics,
{$ELSE}
Vcl.Graphics,
Vcl.ExtCtrls,
Winapi.Windows,
{$ELSE}
FMX.Graphics,
{$IFEND}
Neon.C... |
unit MyComponent;
interface
uses
Classes;
type
// Base Item class
TItem=class(TCollectionItem)
private
FFoo : String;
published
property Foo:String read FFoo write FFoo;
end;
// Some more Item classes examples
TItem2=class(TItem)
private
FBar : Integer;
publishe... |
unit UGene;
interface
uses
System.SysUtils, System.Classes;
type
PPerson = ^TPerson;
TPerson = record
value:real;
data:Pointer;
end;
TGeneProcInitPerson = procedure (var data:Pointer);
TGeneProcFreePerson = procedure (var data:Pointer);
TGeneProcMutate = procedure (data:Pointer; mutagen:Real);
... |
unit uHikJZF;
interface
uses
SysUtils, Classes, uGlobal, uCommon, IdCustomHTTPServer, EncdDecd, uHikDSJ,
qjson, uSurveilVio, Generics.Collections, StrUtils, uTokenManager, ActiveX,
Windows, uDecodeHikResult, DateUtils;
type
THikJZFService = Class
private
class function GetActions(): String; static;
... |
unit BreaktimeCalculatorTests;
interface
uses
DUnitX.TestFramework,
BreaktimeCalculator,
TimeService,
DSharp.Testing.Mock;
type
[TestFixture]
TBreaktimeCalculatorTests = class(TObject)
private
_timeService: Mock<ITimeService>;
_breaktimeCalculator: TBreaktimeCalculator;
... |
unit Logging4D.Driver.Base;
interface
uses
{$IFDEF VER210}
SysUtils,
{$ELSE}
System.SysUtils,
{$ENDIF}
Logging4D,
Logging4D.Impl;
type
TDriverLogging = class abstract(TInterfacedObject, ILogging)
private
{ private declarations }
protected
procedure Fatal(logger: ILogger); overload;
p... |
unit MyComponentRegister;
interface
uses
Classes,
DesignIntf, DesignEditors, PropertyCategories;
procedure Register;
implementation
uses
MyComponent;
type
TMyComponentEditor=class(TComponentEditor)
public
procedure ExecuteVerb(Index:Integer); override;
function GetVerbCount:Integer; override;
... |
{------------------------------------------------------------------------------
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 rSystemStrings;
interface
uses
XSuperObject,
uSystemStrings,
uRessource;
type
TRessource_SystemStrings = class(TRessource, IRessource)
private
public
function GetRessourceName: string;
function GET(const id: string; jsonResponse: ISuperObject): Boolean;
function POST(const id: string; ... |
unit frmDisplayItemPrice2;
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,
dxPSEdg... |
unit uSchedule;
interface
uses
SysUtils, Classes, Controls, Forms, Dialogs, vpBaseDS, VirtualDS, ComCtrls;
type
TfrmSchedule = class(TForm)
pgMain: TPageControl;
tsVisual: TTabSheet;
tsData: TTabSheet;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);... |
{&Use32+} {$M 256000} {$S+} {$R-}
program ACPIPresent;
(* ACPI BIOS presence checker - returns with exitcode *)
(* 0 ACPI not present *)
(* 1 ACPI present *)
(* else other error *)
(* ... |
unit vmm;
interface
const
PageDirVirtAddr = $FFBFF000;
PageTableVirtAddr = $FFC00000;
type
UBit3 = 0..(1 shl 3) - 1;
UBit20 = 0..(1 shl 20) - 1;
PPageTableEntry = ^TPageTableEntry;
TPageTableEntry = bitpacked record
Present, Writable, UserMode, WriteThrough,
NotCacheable, Accessed, Dirty, AttrI... |
unit BoilerplateTests;
interface
uses
SynZip,
SynTests,
BoilerplateAssets,
BoilerplateHTTPServer;
type
TBoilerplateHTTPServerShould = class(TSynTestCase)
procedure CallInherited;
procedure ServeExactCaseURL;
procedure LoadAndReturnAssets;
procedure SpecifyCrossOrigin;
procedure SpecifyC... |
unit VamLib.ThreadSyncEnforcer.Singleton;
interface
uses
VamLib.ThreadSyncEnforcer;
implementation
uses
VamLib.Types;
var
GlobalEnforcer : IThreadSyncEnforcer;
CreateLock : TFixedCriticalSection;
function SyncEnforcerSingleton:IThreadSyncEnforcer;
begin
CreateLock.Enter;
try
if not assigned(Gl... |
unit Punycode;
interface
uses
SysUtils, StrUtils;
type
//This PunyCode implemenation was copied from:
// https://github.com/oulan/XMPP-Delphi
TPunycode=class
const
TMIN:Integer=1;
TMAX:Integer=26;
BASE:Integer = 36;
INITIAL_N:Integer = 128;
INITIAL_BIAS:Integer = 72;
D... |
unit uGenericService;
interface
uses
System.Generics.Collections,
uIConexaoDatabase, uConexaoDatabase,
Data.DB, uGenericDAO;
type
TGenericService = class
private
FConnDB: IConexao;
public
constructor Create(const aPathSistema: string);
destructor Destroy; override;
procedure ... |
// Abstract class that supports any data class
// used for csv import
unit DBImportableData;
interface
uses
System.Rtti, System.Classes, System.SysUtils;
type TDBImportableData = class
private
DateFormat: TFormatSettings;
procedure SetValue(Column, Value: string);
procedure GetColumnValueStrings(var Co... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-17, FILE=DEV232, ... |
{$i AlwaysInclude.inc}
unit NLResourceStrings;
// Use deze unit in je project als je alle RTL/VCL resource strings vertaald wilt hebben in het Nederlands.
interface
implementation
uses
NLConsts, NLRTLConsts, NLSysConst;
(*
// untranslated
Consts.SOpenFileTitle - untranslated: English = "Open"
Co... |
unit unitClientTCP;
interface
uses classes,sysutils,windows,ScktComp,unitLog,unitDriverDeclare;
type
TOnRsvTCPClient=procedure (Sender : TObject) of object;
TTCPClient=class(TClientSocket)
private
function getClientDesc : string;
procedure ClientSocketConnect(Sender: TObject;Socket: TCustomWinSocket... |
unit Lucidity.Osc.LoopSampler;
interface
{$INCLUDE Defines.inc}
uses
Classes, Lucidity.Interfaces,
VamLib.MoreTypes, Lucidity.SampleMap, uLucidityCustomSampleOsc,
soGateEnvelope, soStepInFilter,
eeCounter,
Lucidity.Osc.FadeOutSampler,
uConstants, Lucidity.Enums,
eeSampleFloat,
uGuiFeedb... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.2-9, FILE=DEV056, C... |
unit VamLib.UniqueID;
interface
type
TUniqueID = record
private
Part1 : integer; //Part1 is a globally incremented counter value.
Part2 : integer; //Part2 is a randomly generated number.
public
class operator Equal(a: TUniqueID; b : TUniqueID):boolean;
class operator NotEqual(a: TUniqueID; b : T... |
{ ******************************************************************
Trigonometric functions
****************************************************************** }
unit utrigo;
interface
uses
utypes, uConstants, math;
function Pythag(X, Y: Float): Float; {$IFDEF INLININGSUPPORTED} inline; {$ENDIF}ove... |
{
*******************************************************************************
2015-5-22 - Jerry Dodge
Genius Credit Card Processing Interface Library
- IGenius: encapsulates entire Cayan Genius solution
- Create by incorporating "GeniusImpl.pas" and creating "TGenius"
************************************... |
unit uHik;
interface
uses
System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon,
uDecodeHikResult, DateUtils, ActiveX, uEntity;
type
THik = class
private
FToken: String;
function DFLogin: String;
procedure DFLogout;
function HttPPost(AUrl: String; AParams: TStrings; var ARe... |
unit ComboBoxEx;
interface
uses
Windows, Messages, AvL;
type
TComboBoxEx = class(TComboBox)
private
FOnDropDown: TOnEvent;
function GetData(Index: Integer): Integer;
procedure SetData(Index: Integer; Value: Integer);
procedure WMCommand(var Msg: TWMCommand); message WM_COMMAND;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.3-7, FILE=ERR33P... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-18, FILE=DEV099, CL... |
unit eePluginGuiMeta;
interface
{$INCLUDE Defines.inc}
uses
Vcl.ExtCtrls,
eePluginHotkeys,
eePluginKeyHook,
VamLib.WinHook,
VamLib.ZeroObject,
WinApi.Windows,
eePlugin, eePluginGui,
GuiMeta.ActiveModDisplay,
GuiMeta.ScopeHandler;
type
/// The TPluginGuiMeta class adds some additional functional... |
unit ShowEvnUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids;
type
TShowEnvForm = class(TForm)
SG: TStringGrid;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations ... |
unit Heap;
interface
const
uHeapStart = $A0000000;
kHeapStart = $F0000000;
uHeapEnd = $efffffff;
kHeapEnd = $FFBFF000;
type
UBit31 = 0..(1 shl 31) - 1;
PHeader = ^THeader;
THeader = bitpacked record
Prev, Next: PHeader;
Allocated: Boolean;
Length: UBit31;
end;
... |
unit uSearchProdutoWidget;
interface
uses
Winapi.Windows, System.Classes, SysUtils, Forms, Data.FMTBcd, Data.DB, Data.SqlExpr, Vcl.Controls, Vcl.StdCtrls, Graphics,
System.Threading, Model.Produto, System.Generics.Collections, System.Generics.Defaults;
type
ISearchProdutoWidgetObserver = interface
['{EAC6... |
{==============================================================================|
| Project : Delphree - Synapse | 001.001.000 |
|==============================================================================|
| Content: MIME message object ... |
unit ADOUtils;
interface
uses
SysUtils, Classes, ADODB, DB;
function AccessType(fd: TFieldDef):string;
function ExistTable(AConn: TADOConnection; ATableName: string): Boolean;
procedure CopyDataBase(ASrcConn, ADestConn: TADOConnection);
procedure CopyTable(ASrcConn: TADOConnection; ASrcTableName: s... |
unit uIPCUtils;
interface
uses
Messages, Windows, Classes, JclSynch, SyncObjs, JclAppInst;
type
TMessageReceiver = class
private
FWindowHandle: HWND;
protected
procedure WndProc(var Msg: TMessage); virtual;
function HandleMessage(var Msg: TMessage): Boolean; virtual; abstract;
property Windo... |
unit uPassReader;
interface
uses
Classes, SysUtils, syncobjs, ADODB, uEntity, Generics.Collections,
DateUtils, Windows, IdURI;
type
TPassReader = Class
private
cs: TCriticalSection;
FDateTimeFormat: TFormatSettings;
FQy: TADOQuery;
public
constructor Create;
destructor Destroy; override... |
unit ClassDados;
interface
type
TDados = class
private
FId : integer;
FNome : string;
FSexo : string;
FRg : string;
FCpf : string;
FEmail : string;
FNascimento : string;
FCidade : string;
FT... |
unit EngineOpl;
interface
{$POINTERMATH ON}
uses fm_op_kernel, controllers, fm_core;
function sinLog( phi : uint16):uint16;inline;
function oplSin( phase, env : uint16):int16;inline;
type
TEngineOpl = class(TFmCore)
procedure compute (output, input : pinteger; phase0, freq, gain1, gain2 : integer; add : ... |
unit PropertiesFile4D.Mapping;
interface
{$INCLUDE PropertiesFile4D.inc}
uses
{$IFDEF USE_SYSTEM_NAMESPACE}
System.Classes,
System.SysUtils,
System.Rtti,
System.TypInfo,
System.Generics.Collections,
{$ELSE USE_SYSTEM_NAMESPACE}
Classes,
SysUtils,
Rtti,
TypInfo,
Generics.Collections,
{$... |
unit Venda.Model;
interface
uses Bridge.Model.Interf, System.Generics.Collections;
type
TVendaModel = class(TInterfacedObject, ISource<TVenda>)
private
FLista: TList<TVenda>;
procedure addItens;
public
constructor Create;
destructor Destroy; override;
class function New: ISource<TVenda>;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.