text stringlengths 14 6.51M |
|---|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.4-2, FILE=CONF064, CLAS... |
unit Document;
interface
uses
System.Classes;
type
TDocumentMemento = class(TObject)
private
FText: string;
end;
TDocumentStrategy = class;
TDocument = class
private
FFileText: TStringList;
FStrategy: TDocumentStrategy;
private
function GetText: string;
proc... |
unit Test.AudioPlugin;
interface
uses
WatchTower,
Mocks.AudioPlugin;
type
TAudioPluginTest = class(TWatchTowerTest)
private
Plug : TMockAudioPlugin;
public
procedure Setup; override;
procedure TearDown; override;
[_Test]
procedure ParameterSetGet;
end;
implementation
uses
WatchTo... |
unit SCUTUM.Connection.Abstract;
interface
uses
System.Classes, Data.DB;
type
ISCUTUMConnection = interface
procedure SetDatabase(const ADatabase : String);
procedure SetUsername(const AUsername : String);
procedure SetPassword(const APassword : String);
procedure SetServer(const AServer : String... |
unit unitResourceToolbar;
interface
uses Windows, Classes, SysUtils, Contnrs, unitResourceDetails, Menus;
const
RT_TOOLBAR = MakeIntResource (241);
type
TToolbarResourceDetails = class (TResourceDetails)
private
fHelpID : Integer; // Extended menu's help ID
protected
c... |
unit BaseTest;
interface
uses
DUnitX.TestFramework,
BasicObjects;
type
[TestFixture]
TBaseTest = class(TObject)
private
FChannelSubscriber: TChannelSubscriber;
FSubscriber: TSubscriber;
protected
function SimpleCustomClone(const AObject: TObject): TObject;
public
[Setup]
procedure S... |
unit Item;
interface
uses
System.Classes, GR32, GR32_Png, ChatProtocol, GR32_Image;
type
TItem = class
public
constructor Create(x, y, typeid: Integer);
private
FPos: TPoint;
FType: Integer;
FAutoFrame: Integer;
FFloatDistance: Integer;
FShowBmpType: Integer; //0 autoframe 1 floatfram... |
unit ubyteorder;
interface
/// <summary>
/// swaps lInt between Big and Little-Endian number formats
/// </summary>
/// <param name="lInt">
/// SmallInt (signed integer 16 bits)
/// </param>
procedure Swap2(var lInt: SmallInt); {$IFDEF INLININGSUPPORTED}inline; {$ENDIF}
/// <summary>
/// swaps lInt betwee... |
unit BoilerplateAssets;
{$I Synopse.inc} // define HASINLINE USETYPEINFO CPU32 CPU64 OWNNORMTOUPPER
interface
uses
SysUtils, SynCommons;
type
{ TAsset }
TFileCheck = (ccCreated, ccModified, ccSize);
TFileChecks = set of TFileCheck;
TAsset = record
Path: RawUTF8;
Created: TDateTime;
Modified: ... |
unit Test.FarScape.Assistant.ControlNamePath;
interface
uses
WatchTower;
type
TControlNamePathTest = class(TWatchTowerTest)
private
public
[Test]
procedure IsValidNamePath;
[Test]
procedure AscendNamePath;
[Test]
procedure LastName;
end;
implementation
uses
WatchTower.Confirm,... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.2-6, FILE=DEV119, CLA... |
unit FrmAdicionar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
ClienteController, ClienteModel;
type
TFormularioAdicionar = class(TForm)
PainelCampos: TPanel;
Painel... |
program Tree;
uses
turtle, { imports necessary turtle graphics procedures }
crt;
const
initiallength = 260;
initialspread = 150;
var
delayfactor, {milliseconds delay between edges}
children,height:integer;
procedure grow(children,height,length,spread,delayfactor:int... |
unit ICO_GZip;
interface
uses Classes, SysUtils, sggzip, gzIO, ZUtil, gZlib, Crc, zDeflate, zInflate;
Type
TICOGZip = Class(TGZip)
protected
procedure Decompress(infile: gzFile; outfile: TStream; MaxSize: Integer = 0); overload;
public
procedure Decompress(infile: TStream; outfile: TStream; MaxSize: In... |
unit ExpatExternal;
// ----------------------------------------------------------------------------
// Copyright (c) 1998, 1999, 2000 Thai Open Source Software Center Ltd
// and Clark Cooper
// Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006 Expat maintainers.
//
// Expat - Version 2.0.0 Release Milano 0.83 (PasExpat... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Projeto.Interfaces, Pessoa;
type
TForm1 = class(TForm)
Button1: TButton;
Button2: TButton;
Memo1: TMemo;
procedure Bu... |
unit BoldToCxConverterUnit;
interface
uses
Classes,
Controls,
SysUtils,
BoldEdit,
BoldVariantControlPack,
BoldStringControlPack,
BoldComboBox,
BoldGrid,
BoldMemo,
BoldLabel,
Buttons,
cxBoldEditors,
cxGridBoldSupportUnit,
cxGridPopupMenu,
BoldToCxConverterForm,
BoldCaptionController,
... |
{
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 1999-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* Source code of the ... |
unit FileManager.Providers.PathControl;
interface
uses System.SysUtils, System.StrUtils;
type
TPathControl = class
private
FCurrentGroup: string;
FCurrentFolder: string;
FPreviousGroup: string;
FCurrentFolderName: string;
procedure SetCurrentFolder(const Value: string);
procedure SetCurre... |
unit Model.CampoValor;
interface
uses system.Generics.Collections,
Types.Nullable;
type
TModelCampoValor = class
private
FField: string;
FVType: TVarType;
FValue: variant;
procedure SetField(const Value: string);
procedure SetValue(const Value: variant);
procedure SetVType(const Value:... |
{==============================================================================|
| Project : Delphree - Synapse | 001.003.003 |
|==============================================================================|
| Content: Coding and decoding support ... |
{
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 1998-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* About Dialog Box co... |
unit SCUTUM.Connection.Generic.DBX;
interface
uses
SCUTUM.Connection.Abstract,
Data.SqlExpr,
Datasnap.DBClient,
Datasnap.Provider,
Data.DB,
System.Classes,
Data.DBXCommon;
type
TSCUTUMConnectionGenericDbx = class(TInterfacedObject ,ISCUTUMConnection)
protected
FConnection : TSQLConnection;
... |
unit DX7.Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Math,
System.IOUtils,
DX7.Config,
DX7.Voice,
DX7.SysEx,
DX7.Op,
FS1R.Params,
Generics.Collections,
Generics.Defau... |
(**
This module contains the new RTTI code to extract information for fields, methods,
properties and events for various objects pass to the single routine below.
@Author David Hoyle
@Version 2.0
@Date 11 Mar 2017
**)
Unit DGHRTTIFunctions;
Interface
Uses
RTTI,
ComCtrls,
Classes;
Procedure P... |
unit connectserver;
interface
uses Classes, SyncObjs, WinSock, Windows, sendrecv;
const
PACKAGE_FLAG = $FFEE8899;
type
PCharHead = ^TChatHead;
TChatHead = record
Flag: Cardinal;
Size: Integer;
Operation: Integer;
ParamInt: Integer;
ParamStr: array[0..63] of AnsiChar;
end;
type
PDataNo... |
(*
* Copyright (C) 2001-2004 Bart Massey and Jamey Sharp.
* All Rights Reserved.
*
* 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
* t... |
unit HSAdvApi;
interface
uses
Windows;
function CreateProcessWithLogonW (const lpUsername : PWideChar;
const lpDomain : PWideChar; const lpPassword : PWideChar;
dwLogonFlags : DWORD; const lpApplicationName : PWideChar;
lpCommandLine : PWideChar; dwCreationFlags : DWORD;
lpEnvironment : Pointer; const ... |
unit GeneralForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, ConnectForm, TokenU, Data.DBXJSON,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, System.IniFi... |
unit uException.Validation;
interface
uses
System.SysUtils, Vcl.Controls;
type
EValidation = class(Exception)
constructor Create(const aMessage: string; const aComponentFocus: TWinControl = nil);overload;
end;
implementation
{ EValidation }
constructor EValidation.Create(const aMessage: string; const aC... |
unit CadManifest;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
unit Effect.MidiAutomation;
interface
uses
eeTypes,
eeMidiAutomationV2,
NativeXML,
Lucidity.Interfaces;
type
IMidiBinding = interface(ICustomMidiBinding)
['{10775DF2-C58D-4EC6-A687-7DA1BB4C8CE9}']
function GetParName : string;
procedure SetParName(const Value : string);
function GetParID : ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.3.2-2, FILE=ERR12T, C... |
unit InWindowDialog.InputDialog.Form;
interface
uses
InWindowDialog.Prototypes, UITypes,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, VamLabel, VamDiv,
RedFoxWinControl, VamWinControl, VamPanel, RedFoxContainer;
type
... |
{*******************************************************************************
Title: T2Ti ERP
Description: Classe de controle do produto.
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 documentatio... |
{==============================================================================|
| Project : Ararat Synapse | 002.003.004 |
|==============================================================================|
| Content: DNS client ... |
(*-----------------------------------------------------------------------------
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... |
Program Summation;
Var
num1, num2, sum : Integer;
Begin
Writeln('Input Number 1:');
Readln(num1);
Writeln('Input Number 2:');
Readln(num2);
sum := num1+num2;
Writeln('Sum:');
Writeln(sum);
End.
|
unit uHlfsFktn;
interface
uses
FMX.Platform,
{$ifdef mswindows}
windows,
{$endif}
System.SysUtils,
System.IOUtils;
function getHomePath(): string;
function GetLanguageID: String;
implementation
function getHomePath(): string;
begin
{$ifdef windows}
result := extractFilePath(paramStr(0);
... |
unit Tools;
interface
function CalCRC16(AData: PByte; AStart, AEnd: Integer): Word;
implementation
uses SysUtils, StrUtils;
function CalCRC16(AData: PByte; AStart, AEnd: Integer): Word;
const
GENP = $8408; //多项式公式X16+X15+X2+1(1100 0000 0000 0101) //$A001
var
crc: Word;
i: Integer;
tmp: Byte;
s: string;
... |
unit WSProductCommon;
interface
uses Classes, System.SysUtils, System.Generics.Collections;
type
TWSProductData = TStringList;
IWSProduct = Interface(IInterface)
['{4C645696-D895-42C2-B6E0-9E6045E9CD7D}']
function GetID: Integer;
function GetData: TWSProductData;
function GetLangID: integer;
... |
Unit TM_DATE;
Interface
Const
MonthStr : array[1..12] of string[12] = ('January', 'February',
'March', 'April', 'May', 'June', 'July', 'August',
'September', 'October', 'November', 'December');
DayStr : array[0..6] of string[15] = ('Sunday', 'Monday',
'Tuesday',... |
{
Project: FindDupFar http://code.google.com/p/findupfar/
Author: Alexey Suhinin http://x-alexey.narod.ru
License: GPL v.2
}
unit PluginLng;
interface
{$I PRJDefines.inc}
type
TMessageStrings = (
msgOK,
msgCancel,
msgEdit,
msgPluginMenuString,
msgCreateFileList,
msgGroup,
... |
unit uFrmUpdate;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, auHTTP, auAutoUpgrader, IniFiles, StrUtils,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP ;
type
TFormUpdate = class(TForm)
Panel1: TPanel;
Prog... |
program dos;
const
cantOficinas = 300;
corte = -1;
type
str8 = String[8];
rangoOficinas = 1..cantOficinas;
tOficina = record
dni : str8;
codId : integer;
expensa : real;
end;
arrOficinas = array[rangoOficinas] of tOficina;
procedure leerOficina(var unaOficina : tOficina);
begin
with unaOficina do beg... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-28, FILE=CONF184, CLA... |
unit B2.CustomEffectUnit;
interface
uses
eeGlobals;
type
TCustomEffectUnit = class
private
protected
Globals : TGlobals;
procedure EventHandler_SampleRateChanged(Sender:TObject); virtual;
procedure EventHandler_BlockSizeChanged(Sender:TObject); virtual;
procedure EventHandler_Te... |
unit Venda.Types.Helpers;
interface
uses
Venda.Types,
Venda.Interfaces;
type
TEnumVendaTypesHelper = record helper for TEnumVendaTypes
function this( aParent : iVenda ) : iVendaActions;
end;
implementation
uses
Venda.Actions.Aberta,
Venda.Actions.Fechado,
Venda.Actions.Totalizacao;
{ TEnumVenda... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.3-2, FILE=LEV1F32... |
unit ee3AddOn.PatchFile;
interface
uses
Classes,
NativeXml, // NOTE: Requires NativeXml Version 4
SysUtils;
type
TCustomPatchFile = class
private
protected
fPatchFileType : string;
fCurrentPatchFileVersion : integer;
procedure Clear; virtual; abstract; //clear any current data.
function... |
unit uRequestItf;
interface
uses
IdHttp, SysUtils, HttpApp, Soap.EncdDecd, IdURI,
Classes, System.Net.URLClient, System.Net.HttpClient,
System.Net.HttpClientComponent;
type
TRmMessage = record
code: string;
msg: string;
rownum: string;
end;
TRequestItf = Class
private
class function Qu... |
unit ExportarPagosBancoDM;
interface
uses
System.SysUtils, System.Classes, _StandarDMod, System.Actions, Vcl.ActnList,
Data.DB, Data.Win.ADODB, System.StrUtils, Vcl.Dialogs, Vcl.ExtDlgs, System.UITypes,
dxmdaset, Forms, DCPsha512;
type
TdmExportarPagosBancos = class(T_dmStandar)
actExportaBano... |
{$define !difftest} // <-- use this to check that color diffs remain sane
{$ifdef allowLAB}
procedure BuildLabTable;
// Precalculates the results of f(t), t = [0..65535], as used in the
// XYZ to LAB colorspace transformation. The table is stored in LabTable[].
var i : word;
begin
for i := 0 to 65535 do
if... |
unit Atualizacao.Abstract.FTP;
interface
type
IAtualizacaoObserve = interface
['{079DEEEC-28D4-4FC7-9BE2-77A9CBBC8948}']
[weak]
procedure OnUpdateProgress(const aStatus: String; const aProgress: Integer);
end;
TOnUpdate = reference to procedure(const aStatus: String; const aProgress: Integer);
T... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls,
Vcl.PlatformDefaultStyleActnCtrls, Vcl.ActnList, Vcl.ActnMan, Vcl.ActnMenus,
Vcl.ToolWin, Vcl.ActnCtrls, Vcl.Menus, Vcl.CustomizeDlg;
... |
unit RequestToFileSystemStorage;
interface
uses
RequestStorageInterface, System.JSON, RepositoryConfig, MVCFramework.Logger,
System.SysUtils, System.Generics.Collections;
type
TRequestToFileSystemStorage<T: Class, constructor> = class(TInterfacedObject, IRequestStorage<T>)
strict private
const
/// <sum... |
unit VamQuery;
interface
uses
Generics.Collections, Controls,
RedFoxWinControl, RedFoxGraphicControl;
type
TVamQuery = class;
TControlList = class;
IVamQuery = interface
['{5D588FAE-5874-4FFD-B9CA-F54AF6FB2C39}']
function List : TControlList;
end;
// VamQuery will work with controls that ha... |
unit Log4DJclAppender;
{
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.html
Software distributed under the License is... |
unit ConfArqSql;
interface
uses CmmConst;
resourcestring
// Select SQL for the aux tables from this module
SqlGetFinishReference = 'select Tac.PK_TIPO_ACABAMENTOS, Tac.DSC_ACABM, ' + NL +
' Trf.FK_TIPO_ACABAMENTOS, Trf.PK_TIPO_REFERENCIAS, ' + NL +
... |
unit GameProtocol;
interface
uses
System.SyncObjs, System.SysUtils, System.Classes, Winapi.Windows;
const
PACK_FLAG = $FFBBFFCC;
MapLength = 19;
MapWide = 19;
BoomTime = 5000;
BoomScope = 5;
type
MoveDirect = (MOVEUP, MOVEDOWN, MOVELEFT, MOVERIGHT);
FaceOrientate = (NORTH, SOUTH, WEST, EAST);
De... |
unit eeAdvancedParScaler;
interface
type
PParNotch = ^TParNotch;
TParNotch = record
KnobPos : single; //normally 0..1 range.
ParValue : single; //normally set to required parameter value.
end;
function ParNotch(const KnobPos, ParValue:single):TParNotch;
type
TParScaling = (psLinear,... |
unit uChartScale;
interface
uses
SysUtils, uMathIntf, uMath, Math, uFPUSupport;
type
TScaleMode = (smLin, smLog);
TScale = class
private
procedure SetFrameMax(const Value: integer);
procedure SetFrameMin(const Value: integer);
protected
FMinVal,
FMaxVal: Number;
FFrameMin,
FFra... |
program ball1;
uses Allegro5, Al5primitives;
const
FPS = 120;
Gravity = 9.8;
SurfaceWeight = 60000000;
accx = 12;
type
Ball = record
xp, yp, vx, vy, mass : real;
end;
var
Display : ALLEGRO_DISPLAYptr;
timer : ALLEGRO_TIMERptr;
event_queue : ALLEGRO_EVENT_QUEUEptr;
ev : ALLEGRO_EVENT;
re... |
unit Data_RW;
{$MODE objfpc}{$H+}
// Copyright (c), 2004-2017, Roelof Oomen
// Read/Write of Data
// Reading is done with fpspreadsheet (replaces Windows OLE automation
// implementation of previous versions)
// Writing is done using unit UExcel.
// Note: writing could be replaced by fpspreadsheet (wou... |
unit JsonableInterface;
interface
uses
System.JSON;
type
Jsonable = interface(IInvokable)
['{6F790799-05A0-43D4-B0C1-CEF7ACF649C5}']
function toJson(): TJsonObject;
end;
implementation
end.
|
unit FileManager.Views.MainMenu;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, System.Math, FileManager;
type
TFrmServidorArquivos = class(TForm)
btnExecute: TButton;
lblTa... |
{
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... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.3-1, FILE=LEV1F31... |
//******************************************************************************
//
// DVstUtils.pas
// 19 January 2006
//
// Part of the VST 2.4 SDK for Delphi
// by Frederic Vanmol
// http://www.axiworld.be
// frederic@axiworld.be
//
//----------------------------------------------------------------------... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.3-2, FILE=DEV247, C... |
unit StringUtils;
interface
function concatFio(const forename: string; const patronymic: String; const surname: String): String;
implementation
function concatFio(const forename: string; const patronymic: String; const surname: String): String;
begin
result := '';
result := result + surname + ' ';
if (length... |
{
/**
* @package Delphi Lua
* @copyright Copyright (c) 2009 Dennis D. Spreen (http://www.spreendigital.de/blog)
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @author Dennis D. Spreen <dennis@spreendigital.de>
* @version 1.4
* @revision $Id: Lua.pas 104... |
unit FileManager.Providers.Frames.Arquivo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, dxGDIPlusClasses, cxClasses, cxGraphics, FileManager.Providers.Modulos.Imagens,
FileManager... |
unit VamLib.WinUtils;
interface
function IsCtrlKeyDown : Boolean;
function IsShiftKeyDown : Boolean;
function IsAltKeyDown : Boolean;
procedure SendDebugMesssage(const Msg: String);
function ShellExecuteErrorCodeToString(const ErrorCode : integer):string;
// Execute or open a file according to its extension.
fu... |
unit UPaiCadastro;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls,
Vcl.ExtCtrls, Vcl.ComCtrls, UClassPaiCadastro, UDMPaiCadastro, Data.DB,
Vcl.Imaging.jpeg, JvExMask, Jv... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as defin... |
unit XmlInterpreter;
{$B-}
interface
uses
System.SysUtils, System.Contnrs, System.Generics.Collections;
type
// Forward declaration of base visitor class
TXmlInterpreterVisitor = class;
// Abstract base expression class
TXmlExpression = class
private
protected
function DoSearchAn... |
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit TimeSpan_test;
interface
uses
SysUtils, DateUtils,
TimeSpan,
{$IFDEF FPC}
fpcunit, testregistry
{$ELSE}
TestFramework
{$ENDIF};
type
TTimeSpanTest =... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.1-2, FILE=ERR83T, C... |
unit AuthServer;
interface
uses
SRP6_LockBox, LbClass, LbCipher,
SysUtils;
const
AUTH_OK = 0;
AUTH_BANNED = 3; // 3 - The World of Warcraft account has been closed and no longer in service
AUTH_NOT_VALID = 4; // 4,5 - The informati... |
unit TestModel;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, System.SysUtils, System.Bindings.... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit VamDSP.Interpolation;
interface
function Linear(const f, y0, y1:double):double; inline;
function CosineInterpolation(const f, y0, y1 : double):double; inline;
function CubicInterpolation(const f, y0, y1, y2, y3 : double):double; inline;
function CatmullRomCubicInterpolation(const f, y0, y1, y2, y3 : double):doub... |
unit Controller.Interfaces;
interface
uses
Model.Services.Interfaces,
Model.Validator.Interfaces;
type
IController = interface
['{DF8EBBAA-ED41-476F-9BFE-AA24155C0D07}']
function Services: IModelServices;
function Validator: IModelValidator;
end;
implementation
end.
|
unit eeBeatLoopAnalyser.GenericChopperStrategy;
interface
uses
Contnrs, eeSampleFloat, VamLib.MoreTypes,
eeBeatLoopAnalyser.CoreTypes;
type
TGenericChopper = class
private
protected
SliceList : TSliceList;
fEnv1 : TSampleFloat;
fEnv2 : TSampleFloat;
Data : record
Sampl... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.7.2.2-12, FILE=ERR66... |
{*******************************************************}
{ }
{ StreamSec Security Library for Borland Delphi }
{ StrSecInit Unit }
{ }
{ Copyright (C) 2003 Strea... |
{ ******************************************************************
Eigenvalues and eigenvectors of a symmetric matrix
****************************************************************** }
unit ujacobi;
interface
uses
utypes, math, utrigo, uqsort, umachar, uConstants;
procedure Jacobi(A: TMatrix; L... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-11, FILE=ERR37T, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-7, FILE=ERR21P... |
unit ImageProcess;
{$mode objfpc}{$H+}
interface
uses
Classes, ExtCtrls, ProcessThread, BGRABitmap, UTF8Process;
type
PointerImage = ^TImage;
type
{TImageProcess}
TImageProcess = class
destructor Destroy;
public
constructor Create;
procedure Magnify(p: PointerImage; fm : Singl... |
unit Menu.CustomPopupMenu;
interface
uses
Classes,
Vcl.Menus,
VclEx.PopupMenuEx,
eePlugin;
type
TCustomPopupMenu = class
private
fPlugin: TeePlugin;
fAutoFreeMenu: boolean;
protected
FOwner : TComponent;
Menu : TPopupMenuEx;
property Plugin : TeePlugin read fPlug... |
// Распознавание программы на простом языке. Распознаватель лексем (лексер)
{
Лексемы:
; := += -= *= id num begin end cycle
Ключевые слова:
begin end cycle
}
unit SimpleLangLexer;
interface
// TLex - перечислимый тип - все лексемы грамматики
// lexEot - конец текста программы
type
... |
unit FF7_DAT;
interface
uses
FF7_Compression, Windows, SysUtils, FF7_Common;
Type
TDATMain = Packed Record
Pos: Pointer;
Size: Integer;
Ptr: DWord;
end;
TDATTextPtr = Packed Record
Pos: Pointer;
Size: Integer;
Ptr: DWord;
end;
TDATPtr = Packed Record
Pos: Pointer;
Size: In... |
unit eeAudioFilePreviewPlayerVoice;
interface
uses
VamLib.MoreTypes, eeSampleFloat, eeSimpleGate;
type
TAudioFilePreviewPlayerVoice = class
private
fSampleRate: integer;
fVolume: single;
fActive: boolean;
protected
Gate:TSimpleGate;
Sample:TSampleFloat;
SampleFileName:... |
{******************************************************************************}
{ }
{ Delphi JOSE Library }
{ Copyright (c) 2015-2019 Paolo Rossi ... |
unit dtmInventory;
interface
uses
SysUtils, Classes, Forms, DB, Dialogs, cxNavigator, Variants,
// Auto Generate
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxDataStorage, cxEdit,
cxDBData, cxImageComboBox, cxDBExtLookupComboBox, cxCurrencyEdit, cxMemo,
cxTextEdit, MemDS, DBAccess, Uni,... |
{
TODO: May need to look at locks to avoid errors in multi-threaded apps.
}
unit djfxManager;
interface
uses
Contnrs, eeGlobals,
djfxBase;
type
TDJFXManager = class
private
function GetFx(Index: integer): TDJFXCustomFX;
procedure SetFx(Index: integer; const Value: TDJFXCustomFX);
... |
unit UpdateFields;
interface
const
UPDATEFIELDS_VERSION = '2.4.3';
UPDATEFIELDS_BUILD = '08606';
UPDATEFIELDS_RELEASE = 'WoW [Release] Build 8606 (Jul 10 2008 11:43:23)';
OBJECT_BEGIN = 0;
OBJECT_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.