text stringlengths 14 6.51M |
|---|
unit Ths.Erp.Helper.BaseTypes;
interface
{$I ThsERP.inc}
uses
System.SysUtils;
type
TInputType = (itString, itInteger, itFloat, itMoney, itDate, itTime);
function LowCase(pKey: Char): Char;
function LowCaseTr(pKey: Char): Char;
function UpCaseTr(pKey: Char): Char;
function toMoneyToDouble(pVal: string;... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
unit uWatchForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, ExtCtrls, Grids, uResourceStrings, uView, uProcessor,
StdCtrls, Menus, uMisc, Registry, ImgList;
type
TRAMRefreshRequestEvent = procedure(Listener: IRAM) of object;
TR... |
// -------------------------------------------------------------------------------
// Descrição: O preço de um automóvel é calculado pela soma do preço de fábrica
// com o preço dos impostos (45% do preço de fábrica) e a percentagem do revendedor
// (28% do preço de 4 fábrica). Faça um algoritmo que leia o nome do au... |
unit TipoRelatorioEditFormUn;
interface
uses
osCustomEditFrm, DB, DBClient, osClientDataset, StdCtrls, Mask,
DBCtrls, Menus, ImgList, Controls, Classes, ActnList, osActionList,
ComCtrls, ToolWin, Buttons, ExtCtrls, acCustomSQLMainDataUn;
type
TTipoRelatorioEditForm = class(TosCustomEditForm)
... |
unit NestedClass;
interface
type
TOne = class
private
someData: Integer;
public
// nested constant
const foo = 12;
// nested type
type TInside = class
type TInsideInside = class
procedure Two;
end;
public
procedure InsideHello;
private
Msg: string;
... |
{*******************************************************************************
* *
* TksMapView - extended map view component *
* ... |
// Implement socket transport interfaces using Indy components
unit IndySockTransport;
{$R-}
interface
uses
Classes, SysUtils, IdTCPClient, idTCPConnection, SockTransport;
type
{ TIndyTCPConnectionTransport }
TIndyTCPConnectionTransport = class(TInterfacedObject, ITransport)
private
FEvent: THandle;... |
(**
This module contains the code to install the main wizard into the IDE.
@Version 1.0
@Author David Hoyle
@Date 05 Jan 2018
**)
Unit ITHelper.OTAInterfaces;
Interface
Uses
ToolsAPI;
Function InitWizard(Const BorlandIDEServices : IBorlandIDEServices; RegisterProc : TWizardRegisterProc;
var Te... |
unit uContador;
interface
uses
uRegistro;
type
TContador = class(TRegistro)
private
fID : Integer; // Toda chave primaria nossa no banco dentro do objeto vai chamar ID
fNome : String;
fCRC : Integer;
procedure SetCRC(const Value: ... |
unit classe.professor;
interface
Uses TEntity, AttributeEntity, SysUtils, classe.disciplina, Generics.Collections;
type
[TableName('PROFESSOR')]
TProfessor = class(TGenericEntity)
private
FIdProfessor:integer;
FNome:string;
FDisciplinas : TList<TDisciplina>;
procedure setIdProfessor(const V... |
unit TextTokenizer;
interface
uses
Classes, Character, RegularExpressions, Generics.Collections, SysUtils;
type
TTextTokenizer = class
private type
TPatterns = class
private const
Word = '[à-ÿ¸]+';
UnsupportedCharacters = '[^-!,:;\.\?\sà-ÿ¸]';
WhitespaceCharacters = '\s+';
Uni... |
unit intensive.Controller.DTO.Interfaces;
interface
uses
intensive.Services.Generic,
intensive.Model.Entity.Cliente;
type
iClienteDTO = interface
function Id(Value : Integer) : iClienteDTO; overload;
function Id : Integer; overload;
function Nome(Value : String) : iClienteDTO; overload;
functi... |
unit untRoleManager;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, RzPanel, GridsEh, DBGridEh, ExtCtrls, DB,
Menus, ActnList, StdCtrls, Mask, RzEdit, RzDBEdit, RzLabel, RzButton,
ImgList, DBGridEhGrouping;
type
TfrmRoleManager = class(TForm)
pnlTop: ... |
unit mGMV_GridGraph;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 2 $ $Modtime: 8/14/09 2:03p $
* Developer: ddomain.user@domain.ext/doma.user@domain.ext
* Site: Hines OIFO
*
* Description... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Consts;
interface
const
cLivePreviewServerManagerText = 'FireUI Live Preview Server';
cLivePreviewServerProfileText = 'FireUI Live Preview Server Profile';
cLivePreviewGroup = 'FireUILivePreview';
cLivePreviewManagerClientText = 'FireUI Live Preview Client';
cLivePreviewProfileClientText = 'FireUI Live... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit Unit1;
interface
use... |
unit ZsbDLL;
interface
uses Forms,Windows;
function Get16MD5ForString(str: WideString): WideString; stdcall; external 'MD5FromDelphi.dll';
function GetVersionString(FileName: WideString): WideString; stdcall; external 'GetVersion.dll';
function GetStringFromIni(FromFile,Section, Ident:WideString): WideString;stdcal... |
unit uICU300FirmwareData;
interface
uses
SysUtils, Classes;
type
TSendPacketEvent = procedure(Sender: TObject; aSendHexData,aViewHexData: string) of object;
TMainRequestProcess = procedure(Sender: TObject; aEcuID,aNo,aDeviceType: string;aMaxSize,aCurPosition:integer) of object;
TICU300FirmwareProcess = clas... |
unit ToolMngr;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, ExtCtrls, Menus;
type
{$IFDEF VER120}
TWMContextMenu = packed record
Msg: Cardinal;
hWnd: HWND;
case Integer of
0: (
XPos: Smallint;
YPos: Smalli... |
unit TestTry;
{ AFS March 2000
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit tests layout of try..except and try..finally blocks
}
interface
implementation
uses Dialogs, SysUtils, Math;
procedure TestRaise;
begin
raise Excep... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit ccSphericalCapFrame;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, IniFiles,
ccBaseFrame;
type
{ TSphericalCapFrame }
TSphericalCapFrame = class(TBaseFrame)
Bevel3: TBevel;
CbAreaUnits: TComboBox;
CbCapaUnits: TComboBox;
CbRadiusA... |
namespace RemObjects.Elements.Linq;
interface
uses
Foundation;
type
IOrderedFastEnumeration = interface(INSFastEnumeration)
method sortDescriptors: sequence of NSSortDescriptor;
method ThenOrderBy(aBlock: block(aItem: id): id): INSFastEnumeration;
method ThenOrderByDescending(aBlock: bloc... |
unit MediaProcessing.VideoAnalytics.Net.EventClient;
interface
uses
Windows, Messages, SysUtils, Classes,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,IdStreamVCL, IdGlobal,SyncObjs,
MediaProcessing.VideoAnalytics.Net.EventDefinitions,MediaProcessing.Definitions;
type
TVaepClient = class
priva... |
unit CommonConnection.Intf;
interface
uses Spring.Container, Spring.Services, System.Classes, Data.DB, DBClient, System.SysUtils,
FireDAC.Stan.Intf, FireDAC.Stan.Option, NGFDMemTable,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,
FireDAC.DApt.Intf, FireDAC.Comp.DataSet, FireD... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ ActiveX Control Data Bindings Editor }
{ }
{ Copyright (c) 1995-19... |
unit uLatLong;
interface
uses
Math,
SysUtils;
function LongitudeToStr(L: double): String;
function LatitudeToStr(L: double): String;
function StrToLatitude(S: String): double;
function StrToLongitude(S: String): double;
function EncodeLatitude(G, M: Integer; S: Double): double;
function EncodeLongi... |
UNIT DirUtil;
{ some directory utilities }
interface
procedure Dir(Path : string);
{ Gets a list of names }
function NextName : String;
{get next (or first) name found. '' (null string) after last.}
implementation
USES DOS;
TYPE
NameListPtr = ^NameList;
NameList = Record
FullName : string; { name incl... |
UNIT DoubleLinkedListUnitCycl;
INTERFACE
Type NodePtr = ^Node;
Node = Record
prev: NodePtr;
val: integer;
next: NodePtr;
End;
List = NodePtr;
PROCEDURE Append(var l: List; n: NodePtr);
PROCEDURE Prepend(var l: List; n: NodePtr);
FUNC... |
unit FamilyQuery;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
FireDAC.... |
unit Wasm.Wasi;
// [ApiNamespace] wasi
interface
uses
Wasm, Ownership
;
type
PWasiConfig = ^TWasiConfig;
// [OwnBegin] wasi_config
TOwnWasiConfig = record
private
FStrongRef : IRcContainer<PWasiConfig>;
public
class function Wrap(p : PWasiConfig; deleter : TRcDeleter) : TOwnWasiConfig; overload... |
unit nkMemData;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, typinfo, DB, DateUtils, LResources, Forms, Controls, Graphics, Dialogs, rxmemds, IdHttp,
idGlobal, fpjson;
type
{ TnkMemData }
TnkMemData = class(TRxMemoryData)
private
FHttp:TIdHttp;
protected
public
constructor Create(A... |
// ================================================================
//
// Unit uDSProcessMgmtUtils.pas
//
// This unit contains some utilities for being used in process
// management routines.
//
// Esta unit contém utilidades para ser usadas no processo de
// leitura de memória.
//
// ====================... |
unit FIToolkit.Types;
interface
type
TApplicationCommand = (
acStart,
acPrintHelp, acPrintVersion, acGenerateConfig, acSetConfig, acSetNoExitBehavior, acSetLogFile,
acExtractProjects, acExcludeProjects, acRunFixInsight, acParseReports, acExcludeUnits, acBuildReport, acMakeArchive,
acTerminate);
... |
UNIT LinkBGI;
{register those graphics modes you might use}
interface
uses Graph, { library of graphics routines }
Drivers, { all the BGI drivers }
Fonts; { all the BGI fonts }
TYPE
GraphModes = (CGA,EGAVGA,ATT,Hercules,PC3270);
GraphModeSet = SET OF GraphModes;
PROCEDURE InstallGraphicsModes(mod... |
{------------------------------------------------------------------------------
This file is part of the MotifMASTER project. This software is
distributed under GPL (see gpl.txt for details).
This software is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even th... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
program processturn;
uses
sysutils,
exceptions,
world;
// Command line argument: directory of last turn, directory of next turn
// The last turn directory should contain these files:
// server.json
// state-for-player-ID.json (these are ... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit uPrincipal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uCliente, uListaCliente;
type
TForm1 = class(TForm)
btnAdicionar: TButton;
btnRemover: TButton;
btnContar: TButton;
edtIDCliente: TEdit;
edtNome: TEdit;
edtCNPJ:... |
unit clsTUsuarioDTO;
{$M+}
{$TYPEINFO ON}
interface
type
TUsuarioDTO = class
private
FNasc: TDateTime;
FNome: String;
FID: Integer;
FEmail: String;
FAlterado: Boolean;
procedure SetNasc(const Value: TDateTime);
procedure SetNome(const Value: String);
procedure S... |
unit fEncntKEEP;
//Modifed: 7/26/99
//By: Robert Bott
//Location: ISL
//Description of Mod:
// Moved asignment of historical visit category from the cboNewVisitChange event
// to the ckbHistoricalClick event.
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, O... |
function decimalAbinario(numDec: Integer): Integer;
var numDecAux, numBin, pot10: integer;
begin
numBin := 0;
pot10 := 1;
numDecAux := numDec;
while (numDecAux <> 0) do
begin
numBin := numBin + ((numDecAux mod 2) * pot10);
numDecAux := numDecAux div 2;
pot10 := pot10 * 10;
end;
decimalAbinario... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, SynHighlighterCpp, Forms, Controls, Graphics,
Dialogs, ExtCtrls, StdCtrls, Grids, DBGrids, DbCtrls, ExtDlgs, Spin, ColorBox,
BGRABitmap, BGRABitmapTypes;
type
rect = record
x1, y1, x2, y2: Integer;
end;
profileRow... |
unit CommonFunc;
interface
function FileVersion ( fName : string ) : string;
function UrlEncode(Str: Ansistring): Ansistring;
function UrlDecode(Str: Ansistring): Ansistring;
function LockMutex(AHandle: THandle; ATimeout: integer): Boolean;
function UnlockMutex(AHandle: THandle): boolean;
implementation
uses
Windo... |
unit UserUtils;
interface
type
TUserInfo = record
UserID: string;
UserName: string;
GroupID: Integer;
GroupName: string;
end;
implementation
end.
|
{ **********************************************************************}
{ }
{ DeskMetrics DLL - dskMetricsCPUInfo.pas }
{ Copyright (c) 2010-2011 DeskMetrics Limited }
{ ... |
unit XT_INTV;
{$ifdef VirtualPascal}
{$stdcall+}
{$else}
Error('Interface unit for VirtualPascal');
{$endif}
(*************************************************************************
DESCRIPTION : Interface unit for XT_DLL
REQUIREMENTS : VirtualPascal
EXTERNAL DATA : ---
M... |
program triangle;
uses crt;
{
//BUT : Fait un triangle
//ENTREE : La taille du triangle
//SORTIE : un triangle de la taille désirée
VAR
i, j, taille : ENTIER
DEBUT
ECRIRE 'Entrez la taille du triangle'
LIRE taille
POUR i DE 1 A taille - 1 FAIRE
DEBUT
POUR j DE 1 A taille FAIRE
SI ((j = 1) OU (j = i)) AL... |
unit Frame.TimeInterval;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DateComboBox, Buttons, GMGlobals,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxScrollBox,
dxSkinsCore, cxLabel, cxTextEdit, cxMaskEdit,... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, xmldom, XMLIntf, msxmldom, XMLDoc, StdCtrls;
type
TForm2 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
pub... |
unit ltrapi;
interface
uses SysUtils, ltrapitypes, ltrapidefine;
const
LTR_OK = 0; // Выполнено без ошибок.
LTR_ERROR_UNKNOWN = -1; // Неизвестная ошибка.
LTR_ERROR_PARAMETERS = -2; // Ошибка входных параметров.
LTR_ERROR_PARAMETRS ... |
unit edit_database;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, connection_transaction, metadata, DBGrids, sqldb, Dialogs;
function DeleteRecord(ATable: TDBTable; APrimaryKey: integer): integer;
function UpdateRecord(ATable: TDBTable; APrimaryKey: integer; AValues: TVariantDynArray): integer;
function I... |
unit ULanguageLoader;
interface
uses SuperObject, WinApi.Windows;
type
TLanguageLoader = class
public
count: Integer;
name: array[0..100] of AnsiString;
lang: array[0..100] of ISuperObject;
jso: TSuperObject;
constructor Create(text: string);
function Find(lang: string):integer;
end;
f... |
unit SubsequenceChecking;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function ContainsSubsequence(Haystack, Needle: string): boolean;
implementation
function ContainsSubsequence(Haystack, Needle: string): boolean;
var
NeedleIndex, HaystackIndex, NeedleLength, HaystackLength: integer;
begin
Result... |
unit Variables;
interface
uses
Values, Strings;
type
TVariables = class;
TVariable = class
private
FVariables: TVariables;
FID: TID;
FValue: TValue;
FRef: Boolean;
function GetIndex(): Integer;
function GetValue(): TValue;
procedure SetValue(Value: TValue);
public
construc... |
unit NtUtils.Exec.Wdc;
interface
uses
NtUtils.Exec, NtUtils.Exceptions;
type
TExecCallWdc = class(TExecMethod)
class function Supports(Parameter: TExecParam): Boolean; override;
class function Execute(ParamSet: IExecProvider; out Info: TProcessInfo):
TNtxStatus; override;
end;
implementation
us... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2019 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit RegistryUnitTest;
interface
uses RegistryUnit, TestFramework, Registry;
type
TTestRegistry = class(TTestCase)
private
FInstallPath: string;
FModData: string;
FReg: TRegistry;
public
procedure Setup; override;
procedure TearDown; override;
published
procedure TestRegistrySample;
... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit UDutycode;
interface
const
NORMAL = '00'; // 정상
HOLIDAY = '49'; // 휴일
HOLIDAY2 = '50'; // 휴근
HOLISATUR = '05'; // 토요휴무
HOLIHALF = '61'; // 반차
HOLIMOHTH = '62'; // 월차
HOLIYEAR = '63'; // 연차
YEARHALF = '64'; // 반연차 2010.06.28
HOLISICK = '71'; // 병가
ABSENCE = '72'; // 결... |
unit AGeraEstagiosOP;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, StdCtrls, Buttons, Localizacao, UnDadosProduto,
Grids, CGrades, Mask, numericos, UnOrdemProducao, UnProdutos,
CheckLst;
type
TFGera... |
unit osCipher;
interface
const IVSize = 10;
type
ByteArray = Array [0..255] of Byte;
TCipher = class(TObject)
private
Key, State : ByteArray;
KeyString : string;
KeyLength : integer;
procedure Zero (var InArray : ByteArray; Size : Integer);
procedure String2Array (InStri... |
unit uPixMapGtk;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, IntfGraphics,
gtk2def, gdk2pixbuf, gdk2, glib2;
procedure DrawPixbufAtCanvas(Canvas: TCanvas; Pixbuf : PGdkPixbuf; SrcX, SrcY, DstX, DstY, Width, Height: Integer);
function PixBufToBitmap(Pixbuf: PGdkPixbuf): TBitmap;
... |
unit BowlFrameUnit; // implements the IBowlFrame interface
interface
uses
Generics.Collections,
BowlingInt;
type
TBowlFrame = class(TInterfacedObject, IBowlFrame) // explanation for items can befound in the BowlingInt unit for this class
private
fNextFrame: IBowlFrame;
fRoll: array[1..3] of integer;
... |
unit ServerMethodsUnit1;
interface
uses
System.SysUtils, System.Classes, System.Json,
Datasnap.DSServer, Datasnap.DSAuth, DataSnap.DSProviderDataModuleAdapter,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf,
FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Asyn... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: FShaderMemo<p>
Shader code editor.<p>
<b>Historique : </b><font size=-1><ul>
<li>31/03/11 - Yar - Creation
</ul></font>
}
// TODO: decide how to load templates from external file,
// update it without package rec... |
unit ANovoCaixa;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
Componentes1, ExtCtrls, PainelGradiente, Db, DBTables, Tabela,
CBancoDados, StdCtrls, Buttons, Mask, DBCtrls, Localizacao,
DBKeyViolation, BotaoCadastro, UnCaixa, Grids, CGrades, UnDa... |
{ Project Explorer
This demo shows how to use many of the new APIs available in the Tools API.
What it demos:
How to get notified when certain events occur in Delphi.
Add a menu item to an arbitrary location in the Delphi main menu tree.
How to obtain and use interfaces for the form designer.
Acce... |
unit FirmsFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Grids, Db, DBTables, DBGrids, ExtCtrls, DBCtrls, BtrDS, Menus, Deals,
StdCtrls, Buttons, ComCtrls, SearchFrm, FirmFrm;
type
TFirmsForm = class(TDataBaseForm)
DataSource: TDataSource;
DB... |
unit TestConstants;
{ constants used in tests }
{ the directories where the test files are found}
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestConstants, released May 2003.
The Initial Developer of th... |
program Hanoi;
procedure hanoi(n: integer; from: string; _to: string; via: string);
begin
if n > 1 then
begin
hanoi(n - 1, from, via, _to);
writeln(from + ' -> ' + _to);
hanoi(n - 1, via, _to, from)
end
else
writeln(from + ' -> ' + _to)
end;
var n: integer;
begin
readln(n);
h... |
unit myStack;
interface
type pPointer = ^tComponent;
tInfo = integer;
tComponent = record
info: tInfo;
next: pPointer;
end;
tStack = record
pTop: pPointer;
end;
procedure CreateStack(var sta... |
unit WorldMap;
interface
uses System.Classes, Graphics, TiledMap, Mobs;
type
TWorldMap = class(TObject)
public type
TDir = (drMapLeft, drMapUp, drMapRight, drMapDown, drMapTop, drMapBottom);
public type
TMapInfo = record
FileName: string;
Neighbors: array [TDir] of string;
... |
unit Support.Crucial;
interface
uses
SysUtils, Math,
Support, Device.SMART.List;
type
TCrucialNSTSupport = class sealed(TNSTSupport)
private
InterpretingSMARTValueList: TSMARTValueList;
function GetFullSupport: TSupportStatus;
function GetTotalWrite: TTotalWrite;
function IsM500: Boolean;
... |
unit svcReflectorU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, ReflectorsU;
type
TNetReflectorService = class(TService)
procedure ServiceCreate(Sender: TObject);
procedure ServiceDestroy(Sender: TObject);
pro... |
unit DialogWidgets;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, ExtCtrls, Graphics, StdCtrls, Controls,
Dialogs, Menus, LazUTF8, fgl, DialogItems, Math, CommonFunc;
type
{ TDialogMessage }
TAttachInfo = class(TObject)
// Информация о вложении
Id: integer;
Name: string;
On... |
unit Unit1;
interface
uses
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Imaging.Jpeg,
//GLS
GLScene, GLWin32Viewer, GLVectorFileObjects, GLObjects,
GLProxyObjects, GLGeomObjects, GLVectorGeometry, GLCaden... |
unit Test.Threads.Base;
interface
uses Windows, TestFrameWork, GMGlobals, Classes, Threads.Base;
type
TGMHangingThread = class(TGMThread)
protected
procedure SafeExecute(); override;
end;
TGMFinishedThread = class(TGMThread)
protected
procedure SafeExecute(); override;
end;
TGMGoodThread = cl... |
{
Esta classe implementa o padrão de projeto singleton.
Objetos desta desta classe são o sujeito observado.
}
unit UProjetoDesenho;
interface
uses
UFormaGeometrica
, Generics.Collections
;
type
IObservadorProjetoDesenho = interface
['{677DA492-08E8-4164-9AF9-F187C0A603B1}']
procedure Atualizou... |
unit Vigilante.Compilacao.Model;
{$M+}
interface
uses
System.Generics.Collections, Module.ValueObject.URL,
Vigilante.Aplicacao.SituacaoBuild, Vigilante.ChangeSetItem.Model,
Vigilante.Aplicacao.ModelBase;
type
ICompilacaoModel = interface(IVigilanteModelBase)
['{91DCE211-D41D-4BB8-96E8-4DA35C4EC555}']
... |
{
Maximum Bipartite Matching
Augmenting Path Alg. O(N2.E) Implementation O(N4)
but very near to O(N.E) Implementation O(N3)
Input:
G: UnDirected Simple Bipartite Graph
M, N: Number of vertices
Output:
Mt: Match of Each Vertex (0 if not matched)
Matched: size of matching (number of matched edges)
Refer... |
{**********************************************}
{ TeeChart HighLow Series Editor }
{ Copyright (c) 1999-2004 by David Berneda }
{**********************************************}
unit TeeHighLowEdit;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, ... |
//-----------------------------------------
// Maciej Czekański
// maves90@gmail.com
//-----------------------------------------
unit List;
interface
uses Arkanoid;
TYPE
TNodePtr_Ball = ^TNode_Ball;
TNode_Ball = record
prev: TNodePtr_Ball;
next: TNodePtr_Ball;
data: TBall;
end;
// BALLS
TListOfBalls = ... |
unit umyToolbars;
interface
uses
Classes, Windows, Messages, Controls, Actions, ImgList, Graphics, ActnList, Forms,
Menus, SysUtils, Types;
type
TSkinIndicator = (
siInactive, siHover, siPressed, siSelected, siHoverSelected
);
TmyToolItem = record
Action: TBasicAction;
Enabled: boolean;
... |
unit uPlImagePlugin;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, ActiveX, Classes, ComObj, Graphics, Forms, Contnrs, OpenGL,
uPlImagePluginInterface, uImageForm, JPEG, pngImage, uGLObjects;
const
MAX_IMAGES_COUNT = 1000;
type
TPlImagePlugin = class(TComObject, IPlImagePluginInterface)... |
unit U_POWER_LIST_ACTION;
interface
uses Classes, SysUtils, ADODB, U_PUB_DB_CONN, Forms, U_POWER_LIST_INFO;
type
TPowerListAction = class
private
FAdoquery : TADOQuery;
FMDB : TMDB_CONNECT;
public
constructor Create;
destructor Destroy; override;
{三相四线}
/// <summary... |
unit BuyOrder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGridEh, ExtCtrls, StdCtrls, ComCtrls, ToolWin;
type
TBuyOrderForm = class(TForm)
Panel1: TPanel;
CloseButton: TButton;
DBGridEh1: TDBGridEh;
DBGridEh2: TDBGrid... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{
23/06/08:
Desfiz alteração de inserir nos arrays a informação de tamanho
(registrada em 12/05/06); há um bug que o diagrama da memória
não mostra corretamente parâmetros var de tipo arranjo; ainda
não sei a solução; o problema ocorre tanto com arranjos de
uma dimensão como de múltiplas dimensões.
05/06/08:... |
unit caGenetic;
{$INCLUDE ca.inc}
{$DEFINE USE_POINTER_ARRAY}
interface
uses
// Standard Delphi units
Windows,
Classes,
SysUtils,
Math,
// ca units
caClasses,
caUtils,
caVector,
caLog,
caTypes,
caRandom;
const
cOneHundred = 100;
type
TcaPercentage = 0..cOneHundred;
TcaFitnessRe... |
{-----------------------------------------------------------------------------
Unit Name: ufSplash
Author: n0mad
Version: 1.2.8.x
Creation: 01.03.2004
Purpose: Splash screen
History:
-----------------------------------------------------------------------------}
unit ufSplash;
interface
uses
Windows, M... |
program Cat;
uses SysUtils;
var
i: Integer;
s: String;
(* Longint is only 32 bits, and normal integer is only 16 bits. *)
(* It's necessary to use Longint because it's
equivalent to most languages' int *)
function Catalan (n : Longint) : Longint;
function Binom (n, k : Longint) : L... |
unit FC.Trade.TerminalDialog;
{$I Compiler.inc}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FC.Dialogs.DockedDialogAndAppWindow_B, ImgList, JvCaptionButton, JvComponentBase,
JvDockControlForm, ExtendControls,Application.Definitions,FC.Definitions, StdCtrls,... |
unit NET.HelloWorld;
// CrossTalk v2.0.20
interface
uses
NET.mscorlib,
Atozed.CrossTalk.Middle, Atozed.CrossTalk.BaseObject, Atozed.CrossTalk.Streams, SysUtils, Windows;
type
Class1 = class;
{$SCOPEDENUMS ON}
Class1 = class(TCTBaseObject)
private
protected
class function CTFullTypeName: string; o... |
unit FinInfo;
interface
type
TFinInfo = class(TObject)
private
FCompanyId: string;
FCompanyName: string;
FMonthly: string;
FBalance: string;
public
property CompanyId: string read FCompanyId write FCompanyId;
property CompanyName: string read FCompanyName write FCompanyName;
property... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ Web server application components }
{ }
{ Copyright(c) 1995-2011 Embar... |
unit uTestBaseObj;
interface
uses TestFrameWork, SysUtils, uBase;
type
TTestBaseObj = class( TTestCase )
published
procedure TestID;
end;
implementation
{ TTestBaseObj }
procedure TTestBaseObj.TestID;
const
NullGuid = '{00000000-0000-0000-0000-000000000000}';
var
BaseObj : TBas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.