text stringlengths 14 6.51M |
|---|
unit TipoRecursoEditFormUn;
interface
uses
osCustomEditFrm, DB, DBClient, osClientDataset, StdCtrls, Mask,
DBCtrls, Menus, ImgList, Controls, Classes, ActnList, osActionList,
ComCtrls, ToolWin, Buttons, ExtCtrls, acCustomSQLMainDataUn;
type
TTipoRecursoEditForm = class(TosCustomEditForm)
Dom... |
unit test_unit1;
interface
uses test_unit2, crt, sysutils;
procedure menuPrincipal(var vSerie: tvSerie; var mlvSerie: tmlvSerie; var vUsuario:tvUsuario; var mlvUsuario: tmlvUsuario; var vTop: tvTop);
implementation
function haySeriesCargadas(vSerie: tvSerie):boolean;
{Pre: Recibe el vector s... |
program SMBiosTables;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, uSMBIOS
{ you can add units after this };
procedure ListSMBiosTables;
Var
SMBios: TSMBios;
Entry: TSMBiosTableEntry;
begin
SMBios := TSMBios.Create;
try
... |
unit TestuNextRow;
{
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.Generi... |
unit viewfoto;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, Types, getrectinselection;
type
TStateFoto=(sfPic,sfHint,sfBeforeSelectioned,sfSelectioned,sfMove,sfScale);//текущее состояние фотографии
{TmyPoints=record//Точка
X,Y... |
unit gpsptform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls,
ButtonPanel, ColorBox, Spin, mvExtraData;
type
TGPSSymbol = (gpsPlus, gpsCross, gpsFilledCircle, gpsOpenCircle,
gpsFilledRect, gpsOpenRect);
TGPSExtraData = class(TDrawingExtra... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit TestRaise;
{ This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
to test the 'raise' keyword }
interface
implementation
uses SysUtils;
{ inspired by code in inifiles }
function Test1: TDateTime;
var
DateStr: string;
begin
DateStr := 'F... |
{*
* DateTimeUtils.pas
*
* Auxilary functions for date/time manipulation.
*
* Copyright (c) 2006-2007 by the MODELbuilder developers team
* Originally written by Darius Blaszijk, <dhkblaszyk@zeelandnet.nl>
* Creation date: 31-Oct-2006
* Website: www.modelbuilder.org
*
* This file is part of the MODE... |
unit tabCtrlMan;
interface
uses
Windows, SysUtils, Classes, ComCtrls, HEditor;
const
TAB_ID = '//<テキスト音楽「サクラ」ver.2>';
TAB_HEADER = '//<HEAD';
PAGE_FROM = '//<PAGE'; //ページの区切り
PAGE_TO = '//</PAGE>';
type
PTabPage = ^TTabPage;
TTabPage = record
TabName: string;
TabText... |
unit MediaStream.Filer.Tsm;
interface
uses SysUtils,Classes, Windows, SyncObjs, MediaStream.Filer, MediaProcessing.Definitions,MediaStream.Writer.Tsm;
type
TStreamFilerTsm = class (TStreamFiler)
private
FWriter: TMediaStreamWriter_Tsm;
protected
procedure DoWriteData(const aFormat: TMediaStreamDataHea... |
unit UI.Toast.AndroidLike;
interface
uses
UI.Base,
UI.Utils,
UI.Standard,
System.SysUtils,
System.Classes,
System.Types,
FMX.Types,
FMX.Controls,
FMX.StdCtrls,
FMX.Objects,
System.UITypes,
FMX.Graphics,
System.Actions,
System.Rtti,
System.Generics.Collections,
System.Generics.Defaults,... |
unit untEasyDBToolUtil;
interface
const
//获取数据库名称
EASY_DATABASE_USER = 'SELECT * FROM vw_sysDataBase_User ORDER BY Name';
EASY_DATABASE_ALL = 'SELECT * FROM vw_sysDataBase ORDER BY Name';
EASY_DATATYPES = 'SELECT * FROM vw_sysTypes';
EASY_TABLE = 'SELECT * FROM vw_sysTables_User ORDER BY Name';
... |
unit BT_TaskIntf;
interface
uses
Classes, Contnrs, Types, SysUtils;
type
TMeasureIden = type Integer;
TBTTaskStatus = (tsReady, tsRunning, tsFinished, tsStoped);
// TBTIden = AnsiString;
TBTProcStatus = (psSucc, psFailDueToError, psDueToTimeout);
TBTProcUIHint = Record
MeasureIndex : Integer;
M... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLGeometryCoordinates<p>
Helper functions to convert between different three dimensional coordinate
systems. Room for optimisations.<p>
<b>History : </b><font size=-1><ul>
<li>10/12/14 - PW - Renamed GeometryCoordinates unit ... |
unit UDbfIndex;
interface
uses
sysutils,classes, db,
UDbfPagedFile,UDbfCursor,UDbfIndexFile,UDbfCommon;
type
//====================================================================
//=== Index support
//====================================================================
TIndexCursor = class(TVirtualCursor)
... |
unit Unit_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Kruger_TLB;
type
TForm1 = class(TForm)
txtVolume: TEdit;
txtPressure: TEdit;
Label1: TLabel;
Label2: TLabel;
Button1: TButton;
lvResults: TListView;... |
////////////////////////////////////////////
// Кодировка и расчет CRC для приборов Логика СПТ-941
////////////////////////////////////////////
unit Devices.Logica.SPT941;
interface
uses Windows, GMGlobals, GMConst, Classes, SysUtils, Devices.ReqCreatorBase, GMSqlQuery, GMBlockValues,
GMGenerics, Generics.Collec... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2012-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{
updcrc macro derived from article Copyright (C) 1986 Stephen Satchell.
NOTE: First argument must be in range 0 to 255.
Second argument is referenced twice.
Programmers may incorporate any or all code into their programs,
giving proper credit within the source. Publication of the
source rou... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ SOAP Support }
{ }
{ Copyright(c) 1995-2018 Embar... |
unit GuestForm;
interface
uses
Global,
LTClasses,
LTConsts,
LTUtils,
DAOMember,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TfrGuest = class(TForm)
btGuestLogin: TButton;
btCancel: TButton;
Label1: TLabel;
GroupBox1: TGr... |
{ Test program for basic RTL functionality
Copyright (C) 2020- Michael Van Canneyt michael@freepascal.org
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 Foundation; either version 2 of the Licens... |
unit testablasunit;
interface
uses Math, Sysutils, Ap, ablasf, ablas;
function TestABLAS(Silent : Boolean):Boolean;
procedure RefCMatrixRightTRSM(M : AlglibInteger;
N : AlglibInteger;
const A : TComplex2DArray;
I1 : AlglibInteger;
J1 : AlglibInteger;
IsUpper : Boolean;
IsUnit :... |
{
@html(<b>)
Transports Plug-in
@html(</b>)
- Copyright (c) Danijel Tkalcec
@html(<br><br>)
This unit defines a Plug-in interface, which should be implemented when writing
third-party transports to be used with the RealThinClient SDK components.
}
unit rtcTransports;
interface
uses
Classes;
const
... |
unit unUtils;
interface
uses
SysUtils, Math, dialogs;
function DefaultDateFormat(const Value: AnsiString): AnsiString;
function RoundWithDecimals(X: double; Decimals: integer): Double;
Function IsNumber(strNumber: AnsiString): Boolean;
function IsFloat(strNumber: AnsiString): Boolean;
function formatNumber(strNumb... |
unit Test.Devices.Logica.SPT961.ReqCreator;
interface
uses TestFrameWork, Devices.Logica.SPT961, GMGlobals, Test.Devices.Base.ReqCreator;
type
TSPT961ReqCreatorFortest = class(TSPT961ReqCreator)
end;
TLogicaSPT961ReqCreatorTest = class(TDeviceReqCreatorTestBase)
private
sptReqCreator: TSPT961ReqCreator... |
unit Collision;
interface
uses AsphyreDef, Math;
type
TPolygon_Points = array of TPoint2;
TCollision = class
private
public
constructor Create;
// возвращает true если отрезки[a1,a2] и [b1,b2] пересекаюстя
// иначе - false (не учитывается пересечение граничными точками !!!)
function Piece_... |
unit uFileSystemWatcher;
interface
uses
{$IF CompilerVersion > 22}
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
{$ELSE}
Windows, Messages, SysUtils, Variants, Classes,
Graphics, Controls, Forms, D... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ File: TpcShrd.h }
{ Copyright (c) Micro... |
unit BillContentExportQry;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BaseQuery, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDA... |
unit mCoverSheetDisplayPanel_CPRS_Labs;
{
================================================================================
*
* Application: Demo
* Developer: doma.user@domain.ext
* Site: Salt Lake City ISC
* Date: 2015-12-21
*
* Description: Lab result ... |
unit UntLibPedido;
interface
uses
FMX.Layouts,
FMX.StdCtrls,
FMX.Types,
FMX.Objects,
FMX.Dialogs,
FMX.Forms,
System.Classes,
UntLib;
type
TStatusPedido = (spNenhum, spAberto, spFechado, spAguardando, spEnviado);
TPedidoAtual = class
private
class var
FIc... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Spin, ImgList, ComCtrls, ToolWin;
type
TMainForm = class(TForm)
PersonsList: TListBox;
GroupBox1: TGroupBox;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLa... |
unit Backlog;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, RzButton, RzTabs,
Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, Vcl.Mask,
RzEdit, RzDBEdit;
type
TfrmBac... |
unit UnCategoriaRegistroModelo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FMTBcd, DB, DBClient, Provider, SqlExpr,
{ helsonsant}
Util, DataUtil, UnModelo, Dominio;
type
TCategoriaRegistroModelo = class(TModelo)
procedure cdsBeforePost(DataSet: TD... |
unit WiseEncoder;
interface
uses
Windows, Math, ExtCtrls, cbw, StopWatch, SysUtils, WiseHardware, WiseDaq, WisePort;
type TWiseEncoderSimState = ( Idle = 0, MovingCCW = 1, MovingCW = 2 );
type TWiseEncoder = class(TWiseMultiPort)
private
fNativeTicks: integer; // Native number of t... |
{ ********************************************************************* }
{ * Microsoft Windows ** }
{ * Copyright(c) Microsoft Corp., 1996-1998 ** }
{ ********************************************************************* }
unit mshtmcid;
interfac... |
////////////////////////////////////////////////////////////////////////////////
//
//
// FileName : SUIMgr.pas
// Creator : Shen Min
// Date : 2003-02-26
// Comment :
//
// Copyright (c) 2002-2003 Sunisoft
// http://www.sunisoft.com
// Email: support@sunisoft.com
//
/////////////////////... |
unit SearchTypes;
interface
uses
ReveTypes, MoveGenerator {?};
const
MAX_DEPTH = 50;
type
TMoveLine = record
AtMove : Integer;
Moves : array [1..MAX_DEPTH] of TMove;
end;
TSearchResults = record
BestLine : TMoveLine;
NumABs : Integer;
NumEvals : Integer;
... |
uses Crt, SysUtils;
const
InputFile = 'SORT.INP';
OutputFile = 'SORT.OUT';
max = 15000;
maxV = 15000;
nMenu = 12;
type
TArr = array[1..max] of integer;
TCount = array[0..maxV] of integer;
var
k: TArr;
n: Integer;
selected: Integer;
start,stop:TTimeStamp;
procedure Enter;
var f: Tex... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit FC.Trade.Brokers.OrderBase;
{$I Compiler.inc}
interface
uses
SysUtils,BaseUtils,Graphics,
Serialization, FC.Definitions,FC.Trade.Brokers.BrokerBase,
StockChart.Definitions;
type
TStockOrderBase = class (TInterfacedObject,IStockOrder)
protected
FAttributes : IStockAttributeCollection;
FTrad... |
unit ringbufu;
{
This code implements a ring buffer in a slightly unconventional way, by way of
a heap manager rather than an actual buffer with a copy in/out mechanism.
User workflow to use the ring is as follows:
1. User provides an area of memory for the ring code to manage. This large
memory area is referred to a... |
unit uGeodata;
interface
uses Generics.Collections,SysUtils,infra.Classes;
type
TTag = class(TObject)
strict private
aKey : String;
aValue: String;
public
function getKey() :String;
function getValue():String;
procedure setKey(paKey : String);
procedure setValue(p... |
{******************************************}
{ }
{ FastReport v4.0 }
{ UniDAC components design editors }
{ }
// Created by: Devart
// E-mail: unidac@devart.com
{ ... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{
ID: nghoang4
PROG: gift1
LANG: PASCAL
}
const fileinp = 'gift1.in';
fileout = 'gift1.out';
maxN = 10;
type Str14 = string[14];
MyData = record
ten: Str14;
tien: integer;
end;
var a: array[1..maxN] of MyData;
n, i, j, m, k: integer;
... |
{
this file is part of Ares
Aresgalaxy ( http://aresgalaxy.sourceforge.net )
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 2 of the License, or (at your option) any ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLFileSMD<p>
SMD vector file format implementation.<p>
<b>History :</b><font size=-1><ul>
<li>24/03/07 - DaStr - Added explicit pointer dereferencing
(thanks Burkhard Carstens) (Bugtracker ID = 16786... |
unit Unit1;
interface
uses
Winapi.Windows,
System.SysUtils, System.Classes,
Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls,
//GLScene
GLKeyboard, GLVectorGeometry, GLScene, GLVectorFileObjects,
GLObjects, GLWin32Viewer, GLCadencer, GLNavigator, GLGeomObjects,
GLCrossPlatf... |
unit uMainForm;
interface
uses
System.SysUtils, System.Classes,
Vcl.Controls, Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Imaging.Jpeg,
// GLScene
GLTexture, GLCadencer, GLWin32Viewer, GLScene, GLObjects,
GLGraph, GLVectorLists, GLVectorTypes, GLVectorGeometry, GLSLShader,
GLGeomObjects, GLVect... |
unit ProductsBasketView2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ProductsBaseView1, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxCustomData, cxStyles,
cxTL, cxMaskEdit, cxDBLook... |
unit ControllerConversor_U;
interface
{$region 'Uses interface'}
uses
Pattern.Singleton_U,
Classes;
{$endregion}
type
TControllerConversor = class
private
Data: TStringList;
Dados: string;
FDelimitador: string;
FPalavrasDireita: Integer;
FPalavrasEsquerda: Integer;
procedure Processa... |
unit UnImpressaoRelatorio;
{Verificado
-.edit;
}
interface
uses
Menus, Classes, SysUtils, Forms, Sqlexpr,Tabela;
type
TRBModulosRelatorio = (mrEstoque,mrPontoLoja,mrFinanceiro,mrFaturamento,mrChamado,mrCRM,mrCaixa,mrTodos);
TImpressaoRelatorio = class
private
Aux : TSql;
function... |
{Ejercicio 7
Se desea tener un programa que calcule el saldo de una cuenta.
Suponga que los datos son leídos de la entrada estándar y que
constan de renglones, cada uno de los cuales contiene una letra
en la primera columna, seguida de un valor real. El último renglón
contiene únicamente la letra X en la columna un... |
(*
Name: Glossary
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 20 Jun 2006
Modified Date: 28 May 2014
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
Notes: ... |
unit Fix.REST.Client;
interface
uses
REST.Client;
type
TRESTClient = class(REST.Client.TRESTClient)
function GetEntity<T: class, constructor>(const AResource: string): T;
end;
implementation
uses
REST.Json,
REST.Types;
{ TRESTClient }
function TRESTClient.GetEntity<T>(const AResource: string): T;
v... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit ksTableViewTest;
interface
uses
DUnitX.TestFramework,
ksTypes,
ksCommon,
ksTableView;
type
[TestFixture]
TksTableViewTest = class(TObject)
private
FTableView: TksTableView;
FEventFired: Boolean;
procedure Add100Items;
procedure SearchFilterChanged(Sender: TObje... |
unit uraycaster;
{$mode objfpc}{$H+} {$MODESWITCH ADVANCEDRECORDS}
interface
uses
Classes, SysUtils, Math, GraphMath, ugraphic, utexture, ugame, udoor, umap;
const STACK_LOAD_MAX = 64;
type
RenderInfo = record
CPerpWallDist, CWallX: double;
CMapPos: TPoint;
CSide: boolean;
end;
type
TRaycaster =... |
unit BiasDlg;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Spin, ComCtrls, Mask;
type
TBiasDialog = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label1: TLabel;
UpDown1: TUpDown;
BiasSpin: TEdit;
procedure Bias... |
unit ActnFldReg;
interface
uses ActnFld, DispActnFld, WebComp, Classes, DesignIntf, DesignEditors, SiteComp, SysUtils,WebAdapt;
procedure Register;
implementation
uses WebForm;
type
TAdapterDisplayActionFieldHelper = class(TWebComponentsEditorHelper)
protected
function ImplCanAddClassHelper(AEditor: TC... |
unit myGraph;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;//, dialogs;
type
TMyGraphNode=class;
TMyGraphEdge=class;
TMyGraphLevel=class;
FBeforeRemoveEdgeEvent=procedure(Sender:Tobject) of object;
FBeforeRemoveLevelEvent=procedure(Sender:Tobject) of object;
FBeforeRemoveNodeEvent... |
unit IdTimeUDPServer;
interface
uses IdAssignedNumbers, IdSocketHandle, IdUDPBase, IdUDPServer, classes;
type
TIdTimeUDPServer = class(TIdUDPServer)
protected
FBaseDate : TDateTime;
procedure DoUDPRead(AData: TStream; ABinding: TIdSocketHandle); override;
public
constructor Create(axOwner: TCo... |
unit TUsers_U;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ADODB;
type
TUsers = class
private
{ Private declarations }
// userName : string ;
// password : string ;
userType : string ;
ado : TADOQuery ;
public
{ Publ... |
{$MODE OBJFPC}
program PermutationOrder;
const
InputFile = 'PERMUTATION.INP';
OutputFile = 'PERMUTATION.OUT';
max = 20;
type
TList = record
items: array[1..max] of Integer;
nitems: Integer;
end;
var
p, q: array[1..max] of Integer;
x, y: Int64;
n: Integer;
fac: array[0..max] of ... |
{******************************************}
{ TeeChart Series DB Virtual DataSet }
{ Copyright (c) 1996-2004 by David Berneda }
{ All Rights Reserved }
{******************************************}
unit TeeData;
{$I TeeDefs.inc}
{ This unit contains a VIRTUAL TDATASET component.
The TSeri... |
unit Ex12Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, MTUtils, ComCtrls, ExtCtrls, StrUtils, Contnrs,
Generics.Collections;
type
TMyThread = class(TThread)
private
procedure LogEvent(EventText: string);
protected
... |
//**************************************************************************//
// Данный исходный код является составной частью системы МВТУ-4 //
// Программисты: Тимофеев К.А., Ходаковский В.В. //
//**************************************************************************/... |
{$INCLUDE ..\cDefines.inc}
unit cLinkedLists;
{ }
{ Data structures: Linked lists v3.03 }
{ }
{ This unit is copy... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit uUserInfo;
interface
uses
System.Classes, system.SysUtils, xFunction;
type
/// <summary>
/// 用户信息类
/// </summary>
TUser = class
private
FGroupID: Integer;
FID: Integer;
FChangePwd: Boolean;
FDescription: String;
FFullName: String;
FPassword: string;
FDi... |
unit uOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TfmOptions = class(TForm)
laPollingInterval: TLabel;
cmbPollingInterval: TComboBox;
cbRunAtWinStartup: TCheckBox;
btOk: TButton;
btCancel: TButton;
... |
unit MediaProcessing.Convertor.H264.RGB.Impl;
interface
uses Windows,SysUtils,Classes,MediaProcessing.Convertor.H264.RGB,MediaProcessing.Definitions,MediaProcessing.Global,AVC,Avc.avcodec, H264Def,
MediaProcessing.Common.Processor.FPS;
type
TMediaProcessor_ConvertorH264_Rgb_Impl =class (TMediaProcessor_Converto... |
unit Server.Connection;
interface
uses
System.SysUtils,
System.Classes,
FireDAC.Comp.Client, //FDConnection
FireDAC.Phys.FB, //DriverPhys do FireBird
FireDAC.Stan.Def, //StanStorage
SmartPoint;
type
TDriverFB = class(TFDPhysFBDriverLink)
private
construct... |
unit Unit1;
interface
var
G1: Int32;
G2: Int32;
G3: Int32;
implementation
procedure Test1;
var
i: Int32;
begin
G1 := 0;
for i := 0 to 9 do
G1 := G1 + 1;
end;
procedure Test2;
const
c = 100;
begin
G2 := 0;
for var i := 0 to c - 1 do
G2 := G2 + 1;
end;
procedure Test3;
const
c = 10;
b... |
unit fPrintList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, fAutoSz, StdCtrls, ORCtrls, fConsult513Prt, VA508AccessibilityManager;
type
TfrmPrintList = class(TfrmAutoSz)
lbIDParents: TORListBox;
cmdOK: TButton;
cmdCancel: TButton;
lblListNa... |
unit IdSNPP;
interface
uses
Classes,
IdException,
IdGlobal,
IdTCPConnection,
IdMessage,
IdComponent,
IdTCPClient;
{
Simple Network Paging Protocol based on RFC 1861
Original Author: Mark Holmes
I'll put the resource strings in later.
}
{Note that this only supports Level One SNPP}
type
TCo... |
unit uConfig;
interface
uses XMLIntf, XMLDoc, Classes;
type
TAppConfig = class (TObject)
private
fBackupFileCount: Integer;
fBackupPath: String;
fXMLFileName: String;
fShortFileName: String;
fAbsoluteBackupPath: String;
fLoadedDoc: TXMLDocument;
procedure SaveToXmlDoc(pDoc: TXMLDocum... |
unit BigWindowData;
interface
uses Windows, Classes, SysUtils, GMGlobals, ParamsForDiagram, ConfigXml, GMGenerics;
type
TBWNodeData = record
UT1, UT2: LongWord;
end;
PBWNodeData = ^TBWNodeData;
TBigWindow = class
private
FPFD: TParamForDrawList;
FDiagramLenHrs: int;
function ReadAppropriat... |
{*******************************************************}
{ }
{ Delphi FireDAC Framework }
{ FireDAC Data Adapter Layer API }
{ }
{ Copyright(c) 2004-2018 Embar... |
(************************************************************************)
(* *)
(* Optimize- *)
(* *)
(* Randall L. Hyde *)
(* 12/20/95 *)
(* For use with "The Art of Assembly Language Programming." *)
(* Copyright 1995, All Rights Reserved. *)
(* *)
(* This pr... |
unit ProgramVersion;
interface
function GetFileVersion(AFile: string): string;
implementation
uses Windows, SysUtils;
function GetFileVersion(AFile: string): string;
type
PTranslate = ^TTranslate;
TTranslate = record
wLanguage: WORD;
wCodePage: WORD;
end;
var
len: Cardinal;
Zer... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
August '1999
Problem 6 O(N) Dynamic Method
}
program
Soldiers;
const
MaxN = 200;
var
N : Integer;
S : array [1 .. MaxN] of Boolean;
D : array [0 .. MaxN] of Integer;
I, L, LNum : Integer;... |
unit TobyPascal;
interface
uses
Classes, SysUtils, math, Windows;
type
TobyOnloadCB = procedure (isolate: Pointer); cdecl;
TobyOnunloadCB = procedure (isolate: Pointer; exitCode: integer); cdecl;
TobyHostcallCB = function (name, value: PAnsiChar):PAnsiChar; cdecl;
TToby = class
private
started :... |
{ Демонстрация: }
{ (1) операций, нестрогих по второму аргументу }
{ (отложенных вычислений); }
{ (2) энергичных вычислений }
{ --------------------------------------------- }
PROGRAM Primer_1;
Uses CRT;
var x: Real;... |
unit adot.Collections.Rings;
interface
{
TRingClass<T>
}
uses
adot.Types,
adot.Collections.Types,
adot.Collections.Vectors,
System.SysUtils,
System.Generics.Collections,
System.Generics.Defaults;
type
{ Cyclic/circular buffer based on array. Add/delete items to head/tail. }
TRingClass<T> = class(T... |
{
LaKraven Studios Standard Library [LKSL]
Copyright (c) 2014, LaKraven Studios Ltd, All Rights Reserved
Original Source Location: https://github.com/LaKraven/LKSL
License:
- You may use this library as you see fit, including use within commercial applications.
- You may modify this library to suit yo... |
unit testlaguerreunit;
interface
uses Math, Sysutils, Ap, laguerre;
function TestLaguerreCalculate(Silent : Boolean):Boolean;
function testlaguerreunit_test_silent():Boolean;
function testlaguerreunit_test():Boolean;
implementation
function TestLaguerreCalculate(Silent : Boolean):Boolean;
var
Err : D... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, DBCtrls, Buttons, ToolWin, ExtCtrls, Grids, DBGrids, Math,
DB, MemDS, VirtualDataSet;
type
TfmMain = class(TForm)
pnDept: TPanel;
Splitter: TSplitter;
pnEmp: TPanel;
btOpen:... |
unit record_constructor_1;
interface
implementation
type
TRec = record
x: int32;
constructor Init;
destructor Final;
end;
var
G: Int32;
constructor TRec.Init;
begin
G := 1;
end;
constructor TRec.Final;
begin
G := 2;
end;
procedure Test;
var
R: TRec;
begin
Asse... |
unit MediaProcessing.VideoAnalytics.Net.EventServer;
interface
uses
Windows, Messages, SysUtils, Classes, SyncObjs,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPServer,IdContext,IdGlobal,IdIOHandler,IdThread, IdCustomTCPServer, IdStack,
Generics.Collections, Collections.Map, MediaProcessing.VideoAnalytics... |
unit Settings;
interface
uses
Vcl.Graphics, System.Win.Registry, Generics.Defaults;
type
TSavepathRelativeTo = (sprApplication, sprImage);
ISettingsReader = interface
function GetDotMarkerColor(const Deafult: TColor = clRed): TColor;
function GetDotMarkerStrokeWidth(const Default: integer = 2): integ... |
{***********************************<_INFO>************************************}
{ <Проект> Медиа-сервер }
{ }
{ <Область> 16:Медиа-контроль ... |
unit UMutiTrackBar;
interface
uses
System.SysUtils, System.Classes,
Vcl.Controls, Vcl.ComCtrls, WinApi.Messages;
type
TMutiTrackBar = class(TTrackBar)
private
MouseUp: TNotifyEvent;
{ Private declarations }
procedure MouseUpProc(var mes:TWMLBUTTONUP); message WM_LBUTTONUP;
protected
{ Prot... |
unit uIP;
{$i xPL.inc}
interface
uses Classes
, SysUtils
, IdIPAddress
, fgl
;
type // TIPAddress ============================================================
TIPAddress = class(TObject)
fIntName : string; // interface name eth0, l... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
unit ErrForm;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Grids, DB, DBTables;
type
TUpdateErrorForm = class(TForm)
ErrorText: TLabel;
UpdateType: TLabel;
UpdateData: TStringGrid;
SkipButton: TButton;
RetryButton: TButton;
AbortButt... |
(* CheckStyle: MM, 2020-04-18 *)
(* ------ *)
(* Program to check consistency of coding style in pascal codes *)
(* ========================================================================= *)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.