text stringlengths 14 6.51M |
|---|
unit z80ctc;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
z80daisy,timer_engine,main_engine,cpu_misc;
function ctc0_irq_state(num:byte):byte;
function ctc0_irq_ack(num:byte):byte;
procedure ctc0_irq_reti(num:byte);
const
NOTIMER_0=(1 shl 0);
NOTIMER_1=(1 shl 1);
NOTIMER_2=(1 shl 2);
NOTIMER_3=(1 shl... |
{
translationstc.pas
Class to store and translate user interface strings
Copyright (C) 2007 Felipe Monteiro de Carvalho
This file is part of Turbo Circuit.
Turbo Circuit is free software;
you can redistribute it and/or modify it under the
terms of the GNU General Public License version 2
as published by the Free So... |
unit EmailOrdering.Controllers.MainController;
interface
uses
System.SysUtils, EmailOrdering.Controllers.Controller,
Wddc.API.OrderApi, Wddc.Inventory.OrderDetail,
IdMessage, EmailOrdering.Controllers.MainControllerInt,
Wddc.AVIMark.ParseOrder, IdAttachmentFile, EmailOrdering.Views.MessageForm,
EmailOrderi... |
unit atNewConsultation;
{* Работа с новой консультацией }
// Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atNewConsultation.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatNewConsultation" MUID: (4A54B2EB00FF)
interface
uses
l3IntfUses
, atQuery
;
type
TatNewConsultation = class(TObject)... |
unit atOperationBase;
// Модуль: "w:\quality\test\garant6x\AdapterTest\OperationsFramework\atOperationBase.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "atOperationBase" MUID: (48089D120398)
interface
uses
l3IntfUses
, l3_Base
, atExecutionContext
, atOperationParametersList
, atOperationParameter
, atO... |
unit ACM;
interface
uses
Windows, MMSystem;
type
HINSTANCE = THandle;
HACMSTREAM = THandle;
HACMDRIVER = THandle;
PWAVEFILTER = pointer;
// acmFormatDetails()
const
ACMFORMATDETAILS_FORMAT_CHARS = 128;
type
PACMFORMATDETAILS = ^TACMFORMATDETAILS;
TACMFORMATDETAILS =
... |
unit xn.timers;
interface
uses System.Classes;
type
TxnTimer = class
strict private
fStart: TDateTime;
fStop: TDateTime;
fElapsed: Cardinal;
public
constructor Create;
destructor Destroy; override;
procedure Start;
procedure Stop;
procedure Reset;
function ... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit pbOutput;
interface
uses
Classes,
SysUtils,
StrBuffer,
pbPublic;
type
TProtoBufOutput = class;
IpbMessage = interface
function getSerializedSize: integer;
procedure writeTo(buffer: TProtoBufOutput);
end;
TProtoBufOutput = class(TInterfacedObject, IpbMessage)
private
FBuffer: TSe... |
{***************************************************************************}
{ }
{ ICollections - Copyright (C) 2013 - Víctor de Souza Faria }
{ }
{ victo... |
unit UMap;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TMSNativeMKMapView,
FMX.TMSNativeUIBaseControl, FMX.TMSNativeUIToolBar, iOSApi.Foundation,
FMX.TMSNativeUIImageView, iOSApi.UIKit,
FMX.TMSNativeUIPop... |
UNIT deftypes;
INTERFACE
TYPE
Tree = ^TreeNode;
TreeNode = RECORD
desc : String;
count : Integer;
left : Tree;
right : Tree
END;
ElemPtr = ^ListElem;
ListElem = RECORD
tr : Tree;
next : ElemPtr
END;
Queue = RECORD
front : ElemPtr;
backend : ElemPtr;
size : Integer
END;
IMPLEMENTA... |
unit Unit2;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
FMX.StdCtrls, FMX.Layouts, FMX.Controls.Presentation;
type
TForm2 = class(TForm)
VSB: TVertScrollBox;
Layout1: TLayout... |
unit dcCalcEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Mask, ToolEdit, CurrEdit, DataController, db, dbctrls;
type
TdcCalcEdit = class(TRxCalcEdit)
private
FClearing: boolean;
procedure SetClearing(const Value: boolean);
fu... |
unit Backup;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, System.UITypes,
ComCtrls, StdCtrls, Buttons, ErrorListDialog, AbZipKit, AbUtils, AbArcTyp,
ExtCtrls;
type
TBackupProgress = procedure(percent: integer) of object;
TBackup = class(TComponent)
... |
unit nsJournalBookmarkNode;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Common\nsJournalBookmarkNode.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsJournalBookmarkNode" MUID: (4ADDF4D901D1)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$If NOT Defined(Admin) AND NOT Defi... |
unit MD5windows;
interface
type
MD4_CTX = packed record
_Buf : array[0..3] of LongWord;
_I : array[0..1] of LongWord;
input : array[0..63] of byte;
digest : Array[0..15] of Byte;
end;
Procedure MD4Init(Var Context: MD4_CTX); StdCall;
Procedure MD4Update(Var Context:... |
unit mnSynHighlighterPy;
{$mode objfpc}{$H+}
{**
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGPL, included in this distribution,
*... |
{$MODE OBJFPC}
unit model;
interface
type
Vertexes=record
x,y,z:extended;
r,g,b,a:extended;
end;
TSurface=array of Vertexes;
TSurfaces=array of TSurface;
type
TModel=class
private
sfc:TSurfaces;
public
constructor Create;
procedure LoadFromFile(fnm:string);
procedure SaveToFile(fnm:string);
... |
Unit MarkdownCommonMarkTests;
{
Copyright (c) 2011+, Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of... |
unit evHotSpotProxy;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Everest"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Everest/evHotSpotProxy.pas"
// Начат: 13.07.2011 14:44
// Родные Delphi интерфейсы (.... |
unit Base.Def;
interface
Uses
System.SysUtils, Vcl.Forms;
{$REGION '-># Header'}
type
sHeader = Record
Size: Word;
Key: Byte;
ChkSum: Byte;
Code: Word;
Index: Word;
Time: LongWord;
end;
{$ENDREGION}
{$REGION '-># 20D - Login : Tentativa'}
type
p20D = Record
Header: sHeader;
... |
unit Model.VerbaFixa;
interface
type
TVerbaFixa = Class
private
var
FId: System.Integer;
FGrupo: System.Integer;
FData: System.TDate;
FDescricao: System.string;
FValor: System.Double;
FAtivo: System.Integer;
FLog: System.string;
public
property ID: Syst... |
unit uHero;
interface
uses
Types,
uPathFind;
const
WalkTickTrigger = 3;
type
THero = class
private
FPos: TPoint;
FTicks: Cardinal;
FPath: TPath;
FPathMap: TPathMap;
FPathMapStart: TPoint;
FCurPathCellIdx: Integer;
FIsMoving: Boolean;
FDest: TPoint;
... |
unit DropTarget;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DragDrop;
type
TDragDropTarget =
class( TComponent )
protected
fDropTarget : TDropTarget;
fTargetControl : TWinControl;
function GetOnFileDropped ... |
(***************************************************************************;
*
* Modyfied: 20.7.98
*
* Download: http://www.bigfoot.com/~ungerik/
* E-Mail: ungerik@bigfoot.com
*
***************************************************************************)
unit DXTools;
interface
uses
Windows,
SysUtils,... |
unit FMX.BezierAnimation;
interface
type
TBezier = class
public const
epsilon = 1.0E-5;
private
ax, bx, cx, ay, by, cy: Double;
public
constructor Create(p1x, p1y, p2x, p2y: Double);
procedure SetData(p1x, p1y, p2x, p2y: Double);
function SampleCurveX(t: Double): Double;
function Sample... |
unit dealHistoryForm;
interface
uses
Forms, Classes, Controls, StdCtrls, SysUtils, ExtCtrls,
VirtualTrees,
BaseApp, BaseForm;
type
TfrmDealHistory = class(TfrmBase)
pnlTop: TPanel;
pnlBottom: TPanel;
pnlMain: TPanel;
pnlDeal: TPanel;
vtDeal: TVirtualStringTree;
procedure vtDealGetText... |
unit ModelOpf;
{
////////////////////////////////
This project aims to study the persistence of business objects in
one application FPC/Lazarus using BrookFramework and dOPF from Silvio Clecio.
This project is not intended to provide warranties of any kind for any purpose!
////////////////////////////////
}
{$mod... |
unit PopupWindowData;
interface
uses
System.SysUtils, System.Classes, FMX.Types, FMX.Controls, FMX.Layouts,
FMX.Edit, FMX.StdCtrls, FMX.Clipboard, FMX.Platform, FMX.Objects,
System.Types, StrUtils, CrossPlatformHeaders ,fmx.dialogs , math;
{type
A = class
i : integer;
constructor create();
end;
type
... |
unit GX_GrepRegExSearch;
interface
{$I GX_CondDefine.inc}
uses
SysUtils, Classes, RegExpr, GX_GenericUtils, GX_CodeFormatterUnicode, GX_OtaUtils;
type
TFoundEvent = procedure(LineNo, StartCol, EndCol: Integer; const Line: TGXUnicodeString) of object;
TSearcher = class(TObject)
private
FPa... |
unit uObserver;
interface
uses Classes;
type
TObservable = class;
IObserver = interface
procedure Update(ASubject: TObservable);
end;
/// <author>Oscar Worell</author>
/// <Descricao>Esta classe é a classe basica de teste</Descricao>
TObservable = class
strict private
FObservers: TList... |
{
WinSock Demo: How to get IP by hostname and how to get hostname by IP.
Designed by Alex Popkov, 2000
Uploaded to Code Central, http://codecentral.borland.com, 12.09.2000
Copyrights: open source.
Purpose: There was some questions about hostname <-> address resolving.
This demo containts ... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Arrays.Helper
Description : Array helpers
Author : Kike Pérez
Version : 1.0
Created : 24/03/2019
Modified : 29/03/2019
This file is part of QuickLib: ht... |
unit fpcorm_dbcore_types_test;
{$mode objfpc}{$H+}
interface
uses
Classes, sysutils,
sqldb,
syncobjs,
FGL,
fpcorm_dbcore_types;
type
TSchoolClass = class;
TSchoolClassList = specialize TFPGList<TSchoolClass>;
TSchoolPerson = class;
TSchoolPersonList = specialize TFPGList<TSchoolPerson>;
{ TSc... |
unit xNumInWords_UKR;
interface
uses
xLngDefs;
function numInWords_UKR(Value: int64; inGender: TGender; inpadezh: Tpadezh): string;
//==============================================================================================
//=======================================================================... |
{ *************************************************************************** }
{ }
{ NLDJoystick - www.nldelphi.com Open Source Delphi designtime component }
{ }
... |
{ AutoPanel unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Fo... |
// implements the IConfigReader and IConfigWriter interfaces using a TGExpertsSettings instance
// Original Author: Thomas Mueller (http://www.dummzeuch.de)
unit GX_CodeFormatterGXConfigWrapper;
{$I GX_CondDefine.inc}
interface
uses
Classes,
GX_ConfigurationInfo,
GX_CodeFormatterConfigHandler;
... |
program ifChecking;
var
{ local variable declaration }
a:integer;
begin
a:= 10;
IF a < 20 THEN
write('a is less than 20 ' );
write('value of a is : ', a);
end. |
unit MainForm;
{ $Id: MainForm.pas,v 1.1 2004/07/23 13:05:23 step Exp $ }
// $Log: MainForm.pas,v $
// Revision 1.1 2004/07/23 13:05:23 step
// утилита занесена в CVS
//
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TMain = class(TForm)
... |
program TESTCON ;
//****************************************************************
//$A+
//****************************************************************
// - Feste CHARs an CONST Strings uebergeben geht schief
// - muss mit STR gemacht werden ... |
{
A Companhia de Água Corredeira armazena os dados de seus clientes (codigo, nome, endereco e mcons). Elabore um
programa capaz de ler os dados de n (máximo de 20) clientes (utilizar um vetor de registros para armazenar esses
dados). Em seguida, o programa deve imprimir um relatório conforme o modelo abaixo.
Nome Ende... |
unit ColorUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics;
//Amount is 0..100 percent value
function Lighten(Color: TColor; Amount: SmallInt = 256 div 2): TColor;
function Darken(Color: TColor; Amount: SmallInt): TColor;
function MixColors(Color1, Color2: TColor; W1: Integer = ... |
unit UiCloudDocument;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, rtti, Math,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.TMSNativeMaciCloud, FMX.Layouts, FMX.ListBox, FMX.Objects,
FMX.ListView.Types, FMX.Memo, FMX.ListView, IOUtils, FM... |
unit DAO.Devolucao;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Model.Devolucao;
type
TDevolucaoDAO = class
private
FConexao: TConexao;
public
constructor Create;
function GetID(): Integer;
function Inserir(ADevolucao: TDevolucao): Boolean;
function Alterar(ADevolucao:... |
program ColorCount(input, output);
type
color = (red, blue, yellow, green, orange, brown, white, black);
var
primaryColorCount : integer;
totalColorCount : integer;
count : integer;
theColor : color;
begin
primaryColorCount := 0;
totalColorCount := 0;
writeln('Count follow: ');
for theColor := red t... |
unit nevSelection;
{* Курсор с выделением. Для конечного использования. }
// Модуль: "w:\common\components\gui\Garant\Everest\nevSelection.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnevSelection" MUID: (487B5DD202DF)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfU... |
unit GetOrdersUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetOrders = class(TBaseExample)
public
procedure Execute;
end;
implementation
uses OrderParametersUnit, OrderUnit;
procedure TGetOrders.Execute;
var
ErrorString: String;
Parameters: TOrderParameters;
Total: integer;
Orders... |
unit nsContextFilterParamsConst;
(*-----------------------------------------------------------------------------
Название: nsContextFilterParams
Автор: Лукьянец Р. В.
Назначение: Хранилище для параметров контекстной фильтрации;
Описание контекстных фильтров хранящихся в настройках.
Версия:
$... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2014 * }
{ *********************************************************** }
unit tfGNumerics;
interface
uses tfNumerics, Generic... |
unit m3BuffStream;
// Модуль: "w:\common\components\rtl\Garant\m3\m3BuffStream.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "Tm3BuffStream" MUID: (53FDD3D902AA)
{$Include w:\common\components\rtl\Garant\m3\m3Define.inc}
interface
uses
l3IntfUses
, m3CustomStream
, l3Memory
, ActiveX
, Classes
;
type
T... |
unit Model.AtribuicoesExpressas;
interface
uses Common.ENum, FireDAC.Comp.Client;
type
TAtribuicoesExpressas = class
private
FRetorno: TDateTime;
FNN: String;
FFlagRetorno: ShortInt;
FCodigo: String;
FID: Integer;
FEntregador: Integer;
FLote: Integer;
FLOG: String;
FData: TDa... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François Piette
Description: TMWTrackDataSet keep track of TDataSet insert, delete and update
and record that data into a TMWBuffer ready for sending to an
application server.
Creation: Apr... |
{
Double Commander
-------------------------------------------------------------------------
This unit contains functions to work with hard and symbolic links
on the NTFS file system.
Copyright (C) 2012-2017 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribu... |
unit eventPopup;
interface
uses
Windows,
event,
Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TEventPopupForm = class(TForm)
Memo: TMemo;
OkButton: TButton;
Edit: TEdit;
Checkbox: TCheckBox;
ComboBox: TComboBox;
EditButton: TButton;
pr... |
{ Version 1.0 - Author jasc2v8 at yahoo dot com
This is free and unencumbered software released into the public domain.
For more information, please refer to <http://unlicense.org> }
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrl... |
unit Gradients;
// Copyright (c) 1997-98 Jorge Romero Gomez, Merchise.
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
GDI, GdiExt, Buffer,
MemUtils, NumUtils;
type
TGradientEffect = ( gkVertical, gkHorizontal, gkNone, gkCustom );
const // Default grad... |
unit ntvImgBtns;
interface
uses
Messages, SysUtils, Variants, Classes, Graphics, Themes, ImgList, mnUtils, ntvThemes,
Controls, StdCtrls, Forms;
type
TntvImgBtnStyle = (ibsNormal, ibsInvertMask);
{ TntvImgBtn }
TntvImgBtn = class(TGraphicControl)
private
FCaption: TCaption;
FDow... |
{ rxlookup unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foun... |
//Exercicio 13: Dado um número inteiro positivo que representa uma quantidade de tempo em segundos, escreva um algoritmo
//que converta esse número em horas, minutos e segundos. Por exemplo: supondo que o número lido seja 33560, seu algoritmo
//deverá exibir: 33560 segundos = 9 horas 19 minutos e 20 segundos.
{ ... |
{ Module of routines to create opcodes.
}
module sst_r_syo_opc;
define sst_r_syo_opc_assign;
%include 'sst_r_syo.ins.pas';
{
*********************************************************
}
procedure sst_r_syo_opc_assign ( {make opcode to assign symbol to variable}
in sym1: sst_symbol_t; {variable to... |
unit fastevents;
{
FastEvents is a high-performance event queue manager for SDL.
Copyright (C) 2002 Bob Pendleton
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public License
as published by the Free Software Foundation; either ver... |
//=============================================================================
// sgTileMap.pas
//=============================================================================
//
// Responsible for loading and processing a "Mappy" data file exported using
// the Lua script specifically written for SwinGame to create m... |
unit MFichas.Model.Configuracao.Metodos.Buscar.Model;
interface
uses
System.SysUtils,
System.Generics.Collections,
MFichas.Model.Entidade.CONFIGURACOES,
MFichas.Model.Configuracao.Interfaces;
type
TModelConfiguracaoMetodosBuscarModel = class(TInterfacedObject, iModelConfiguracaoMetodosBuscarModel)
priva... |
unit GX_PeInfoPrint;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
GX_BaseForm;
type
TPeInfoTabs = (pitMsDos, pitPeHeader, pitPeOptHeader, pitImports, pitExports, pitVersionInfo, pitPackageInfo);
TPeInfoTabS... |
unit main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, math;
const
N = 25;
sn = 5;
h = 0.01;
type
TForm1 = class(TForm)
Image1: TImage;
Button1: TButton;
Button2: TButton;
Button3: TButton;
... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ComCtrls, IniFiles, uFrameLogin, ExtCtrls;
type
TfMain = class(TForm)
MainMenu1: TMainMenu;
StatusBar1: TStatusBar;
Cadastro1: TMenuItem;
Fornecedores1: TMenuItem;
Sair1: TM... |
program hamt_tests;
{$mode objfpc}{$H+}{$ModeSwitch typehelpers}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes, hamt.internals, commontestutils, sysutils, bbutils, contnrs, hamt.maps, hamt.sets
{ you can add units after this };
type THAMTTestTypeInfo = object(THAMTTypeInfo)
class function hash(const s: ... |
unit GX_IdeSearchPathFavoriteEdit;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
Graphics,
Controls,
Forms,
Dialogs,
StdCtrls,
GX_BaseForm;
type
Tf_IdeSearchPathFavoriteEdit = class(TfmBaseForm)
l_Name: TLabel;
ed_Name: TEdit;
l_Path: TLabel;
... |
unit RoundingForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Math, StdCtrls;
type
TForm1 = class(TForm)
btnClassic: TButton;
ListBox1: TListBox;
btnSimpleRound: TButton;
btnTroubles: TButton;
procedure btnClassicClick(Sender: TObject)... |
{ Copyright (C) 2013 Dimitar Paperov
This source 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 2 of the License, or (at your option)
any later version.
This code is distributed in the ... |
unit TestUAfrican;
{
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, UBird, UAfrican;
type
// T... |
unit eInterestSimulator.Model.Calculadora.Factory;
interface
uses
eInterestSimulator.Model.Interfaces.Calculadora;
type
TModelCalculadoraFactory = class(TInterfacedObject, iCalculadoraFactory)
private
function PagamentoUnico: iCalculadora;
function PagamentoVariavel: iCalculadora;
function American... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program 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... |
unit FormHistory;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TfrmHistory = class(TForm)
procedure FormMouseWheelUp(Sender: TObject; Shift: TShiftState;
MousePos: TPoint; var Handled: Boolean);
procedure FormMouseWheelDown(Sender: TObjec... |
unit View.ImportacaoPlanilhaExtravios;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlueprint, dxSki... |
UNIT GetStringWord;
INTERFACE
USES
ConstAndTypes;
PROCEDURE GetWord(VAR Fin: TEXT; VAR SomeWord: WordString; VAR FindWord: BOOLEAN); {Считываем слово}
IMPLEMENTATION
FUNCTION NewWord(VAR Fin: TEXT): CHAR;
VAR
Ch: CHAR;
BEGIN
IF NOT((EOF(Fin)))
THEN
BEGIN
READ(Fin, ... |
unit unitTrajectory;
interface
uses classes;
type
TTrajectory = class(TObject)
private
{ Private declarations }
public
{ Public declarations }
points: TList;
caption: string;
trigger: String;
nexttraj: String;
width, height: integer;
constructor Create(ncaption: String);
end... |
unit GX_PerfectLayout;
{$I GX_CondDefine.inc}
interface
uses Forms, StdCtrls, Controls, ExtCtrls, Classes, GX_BaseForm;
type
TfmPerfectLayout = class(TfmBaseForm)
gbxLayout: TGroupBox;
pnlLayout1: TPanel;
shpMain1: TShape;
shpOI1: TShape;
shpEditor1: TShape;
shpWatch1: TShap... |
unit UFourSquareDemo;
interface
uses
FMX.Forms, FMX.Messages, FMX.TMSCloudBase, FMX.TMSCloudFourSquare, FMX.Controls, FMX.TabControl,
FMX.Objects, FMX.TMSCloudImage, FMX.Grid, FMX.Layouts, FMX.TMSCloudListView, UITypes,
FMX.Edit, FMX.StdCtrls, System.Classes, FMX.Types, FMX.TreeView, FMX.Dialogs, SysUtils, UCat... |
unit ChangesBetweenEditonsKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы ChangesBetweenEditons }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\ChangesBetweenEditons\ChangesBetweenEditonsKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ChangesBetwe... |
unit uCadastros;
interface
uses uEnun;
type
TPessoa = class(TObject)
private
FBairro: string;
FUF: string;
FCodigo: Integer;
FTelefone1: string;
FNome: string;
FTipo: Integer;
FCidade: string;
FEndereco: string;
FData: TDateTime;
FTelefone: string;
procedure SetBair... |
namespace Sugar.Test;
interface
uses
Sugar,
RemObjects.Elements.EUnit;
type
DateTimeTest = public class (Test)
private
Data: DateTime;
method AreEqual(Expected, Actual: DateTime);
method AssertFormat(Expected: String; Date: DateTime; Locale: String; Format: String);
method Asse... |
{*******************************************************}
{ Проект: Repository }
{ Модуль: uBaseSubscription.pas }
{ Описание: Базовая реализация ISubscription }
{ Copyright (C) 2015 Боборыкин В.В. (bpost@yandex.ru) }
{ ... |
{ Wolverine Archive Extensions }
{$O+}
unit WArch;
interface
uses Objects,WProcs,WTypes;
type
TArchiver = record
Name : string[8];
Sign : string[20];
PackCmd : FnameStr;
UnPackCmd : FnameStr;
ShowOutput : boolean;
end;
const
maxArchivers = 5;
Archivers : array[1..maxA... |
unit HlpBlake2SConfig;
{$I ..\..\Include\HashLib.inc}
interface
uses
HlpIBlake2SConfig,
HlpHashSize,
HlpHashLibTypes;
resourcestring
SInvalidHashSize =
'BLAKE2S HashSize must be restricted to one of the following [16, 20, 28, 32]';
type
TBlake2SConfig = class sealed(TInterfacedObject, IBlake2SConfig... |
unit tmsUXlsNotes;
{$INCLUDE ..\FLXCOMPILER.INC}
interface
uses SysUtils, tmsUXlsBaseRecords, tmsUXlsRowColEntries, tmsUxlsBaseRecordLists,
tmsUXlsEscher, tmsUEscherRecords, tmsXlsMessages, tmsUFlxMessages;
type
TNoteRecord = class (TBaseRowColRecord)
private
Dwg: TEscherClientDataRecord;
function GetT... |
unit LargeMatrix;
interface
uses
Persistent, BackupInterfaces, SyncObjs, Matrix, Windows;
type
any = 0..0;
PLargeMatrixIndex = ^TLargeMatrixIndex;
TLargeMatrixIndex = array[any] of pointer;
type
TLargeMatrix =
class( TPersistent )
public
constructor Create( aRows, a... |
unit CommandoSettings;
interface
uses
Classes, Types, SysUtils;
type
TCommandoSettings = class
private
FComponents: TStringList;
FUpdatefile: string;
FInstallPath: string;
FPID: Cardinal;
function GetCommandoLine: string;
function ReadPID(AIndex: Integer): Integer;
f... |
unit uOrcamentoNaoAprovadoVO;
interface
uses
System.SysUtils, uKeyField, uTableName, uTipoVO;
type
[TableName('Orcamento_NaoAprovado')]
TOrcamentoNaoAprovadoVO = class
private
FDescricao: string;
FIdTipo: Integer;
FId: Integer;
FTipo: TTipoVO;
FIdOrcamento: Integer;
procedure SetDescr... |
unit K620241155_Hk0200166;
{* [RequestLink:620241155] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K620241155_Hk0200166.pas"
// Стереотип: "TestCase"
// Элемент модели: "K620241155_Hk0200166" MUID: (56F1351602EA)
// Имя типа: "TK620241155_Hk0200166"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.i... |
unit LoggerThread;
interface
uses
System.Classes, LoggerInterface, System.SyncObjs;
type
TLoggerThread = class(TThread)
private
FCancellationEvent: TEvent;
FID: Integer;
FLoggerI: ILogger;
FInterval: Cardinal;
class var
FCount: Integer;
protected
procedure Execute; override;
publi... |
unit uRecadoController;
interface
uses
System.SysUtils, uDMRecado, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms, uFuncoesSIDomper,
uGenericProperty, uRecadoVO, Data.DBXJSON, Data.DBXJSONReflect, uConverter,
uRecadoFiltro, uUsuarioController, uStatusVO, uContaEmailController,
uTipoController, uTipoVO, uRecado... |
unit G2Mobile.Model.Parametro;
interface
uses
FMX.ListView,
uDmDados,
System.SysUtils,
IdSSLOpenSSLHeaders,
FireDAC.Comp.Client,
FMX.Dialogs,
FMX.ListView.Appearances,
FMX.ListView.Types,
System.Classes,
Datasnap.DBClient,
FireDAC.Comp.DataSet,
Data.DB,
G2Mobile.Controller.Parametro,
FMX.O... |
unit MFichas.Model.GrupoProduto;
interface
uses
System.SysUtils,
MFichas.Model.GrupoProduto.Interfaces,
MFichas.Model.GrupoProduto.Metodos.Buscar,
MFichas.Model.GrupoProduto.Metodos.Cadastrar,
MFichas.Model.Entidade.GRUPOPRODUTO,
MFichas.Model.Conexao.Interfaces,
MFichas.Model.Conexao.Factory,
ORMBR... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2013 Embarcadero Technologies, Inc. }
{ ... |
{ rxcustomchartpanel unit
Copyright (C) 2005-2010 Lagunov Aleksey alexs@hotbox.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Sof... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Xml,
RemObjects.Elements.EUnit;
type
ElementTest = public class (Test)
private
Doc: XmlDocument;
Data: XmlElement;
public
method Setup; override;
method AddChild;
method RemoveChild;
method ReplaceChild;
m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.