text stringlengths 14 6.51M |
|---|
unit frm_InputHelper;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs;
type
TfrmInputHelper = class(TForm)
procedure FormCreate(Sender: TObject);
procedure FormPaint(Sender: TObject);
private
{ Private declarations }
FEnableEx, FSizeChange, FAct... |
unit Entity;
{$mode delphi}
interface
uses
Types, SysUtils, Graphics, ExtCtrls, Contnrs;
type
TOrientation = (up, down, left, right);
TRealPoint = record
X, Y: Real;
end;
TEntity = class
protected
PaintBox: TPaintBox;
EntList: TFPObjectList;
procedure DrawLine(x1, y1, x2, y... |
unit Data.User.Preferences;
interface
uses
System.SysUtils,
System.Classes;
type
IPreferences = interface
['{46F1A60D-634F-4F0F-AB8B-6A13FBE15A14}']
function GetFavourable(const AKeyword: String): Boolean;
function GetUnfavourable(const AKeyword: String): Boolean;
property Favourable[const AKey... |
unit MeshSmoothSBGAMESDraft;
// This is the first type of mesh smooth made for this program. It works with
// manifold meshes that are regular (or as regular as possible) and all its edges
// should be in the same size. In short, it is a terrible way to smooth meshes
// and it is here just for comparison purposes... |
{$I CetusOptions.inc}
unit ctsMemoryPools;
interface
uses
ctsTypesDef,
ctsBaseInterfaces,
ctsBaseClasses;
type
//& 轻型内存池,空闲内存没有大小限制。
TctsMiniMemoryPool = class(TctsNamedClass, IctsMemoryPool)
private
FBlockSize: LongWord;
FBlockStack: Pointer;
FNodeQuantity: LongWord;
FNodeSize: LongWord... |
{:
GLSL Shader Component Demo<p>
A demo that shows how to use the TGLSLShader component.
Version history:
30/03/07 - DaStr - Cleaned up "uses" section
20/03/07 - DaStr - Initial version
}
unit umainform;
interface
uses
// VCL
SysUtils, Classes, Controls, Forms, ExtCtrls, StdCtrls,
// GLScene
... |
unit Q_Sectors;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Q_Utils, misc_utils, Level, MultiSelection, Buttons;
type
TFindSectors = class(TForm)
Label1: TLabel;
CBID: TComboBox;
EBID: TEdit;
LBName: TLabel;
CBName: TComboBox;
EBNam... |
unit ufrmDialogMerchandiseGroup;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterDialog, System.Actions,
Vcl.ActnList, ufraFooterDialog3Button, Vcl.ExtCtrls, uModBarang, uInterface,
Vcl.StdCtrls, ... |
unit MyCat.BackEnd.Mysql.CrossSocket.Handler;
interface
uses
System.Generics.Collections, MyCat.Net.CrossSocket.Base, System.SysUtils,
MyCat.BackEnd.Mysql.CrossSocket.Handler.Generics.HeartBeatConnection,
MyCat.BackEnd, MyCat.BackEnd.Mysql.CrossSocket.Handler.ResponseHandler;
type
/// **
// * heartbeat che... |
{: Basic terrain rendering demo.<p>
This demo showcases the TerrainRenderer, some of the SkyDome features
and bits of 3D sound 'cause I got carried over ;)<br>
The terrain HeightData is provided by a TGLBitmapHDS (HDS stands for
"Height Data Source"), and displayed by a TGLTerrainRenderer.<p>
The base ... |
unit LrProfiles;
interface
{$WARN SYMBOL_PLATFORM OFF}
uses
SysUtils, Classes, LrPersistComponent;
type
TLrProfiles = class;
TLrProfileIdent = string;
//
TLrProfile = class(TCollectionItem)
private
FIdent: TLrProfileIdent;
FName: string;
FProfiles: TLrProfiles;
protected
function G... |
unit SendToVendorView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,
dxExEdtr, dxEdLib, Buttons, dxCntner, dxEditor, StdCtrls, ExtCtrl... |
Unit SetSymPathForm;
Interface
Uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.ComCtrls,
Vcl.Menus;
Type
TSetSymPathFrm = Class (TForm)
MainPanel: TPanel;
StornoButton: TButton;... |
unit uClassicDivider;
{$I ..\Include\IntXLib.inc}
interface
uses
uDividerBase,
uDigitHelper,
uDigitOpHelper,
uXBits,
uEnums,
uConstants,
uUtils,
uIntXLibTypes;
type
/// <summary>
/// Divider using "classic" algorithm.
/// </summary>
TClassicDivider = class sealed(TDivid... |
unit AST.Delphi.SysOperators;
interface
uses AST.Delphi.Classes, AST.Delphi.Contexts;
type
TSysOperator = class(TIDOperator)
protected
constructor CreateAsIntOp; reintroduce;
end;
TSysTypeCast = class(TSysOperator)
public
constructor CreateInternal(ResultType: TIDType); reintroduc... |
unit uPropertyInjectionMultiple;
interface
type
TReciepe = class
private
fText: string;
public
property Text: string read fText write fText;
end;
IFoodPreparer = interface
procedure PrepareFood(aReciepe: TReciepe);
end;
TBaker = class(TInterfacedObject, IFoodPreparer)
procedure Prepare... |
unit KuttaClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ParseMath;
type
TKutta4 = class
x,y,xn : Real;
Parse : TParseMath;
function f(_x:Real; _y:Real) : Real;
function execute() : String;
public
constructor create;
destructor Destroy; override;
end;
implementa... |
unit o_lpUser;
interface
uses
SysUtils, Classes, Contnrs;
type
Tlp_User = class
private
fKey: Integer;
fHint: string;
fMachine: string;
fId: Integer;
fUser: string;
fIncId: Integer;
fLastUpdate: String;
fSession: string;
public
constructor Create;
destructor Destroy; ... |
unit Unit4;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,vcl.themes,
vcl.extctrls, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.Buttons,
Datasnap.DBClient;
Type
T... |
unit TimerFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,ActnList, ExtCtrls,UTimer;
type
TFrmTimer = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Edit1: TEdit;
EditInterval: TEdit;
Label1: TLabel;
procedur... |
{..............................................................................}
{ Summary Clear Inside - Delete objects within an area defined by user. }
{ Copyright (c) 2003 by Altium Limited }
{............................................................................. |
//////////////////////////////////////////////////////////////////////////
// This file is a part of NotLimited.Framework.Common NuGet package.
// You are strongly discouraged from fiddling with it.
// If you do, all hell will break loose and living will envy the dead.
//////////////////////////////////////////////////... |
unit uI2XImg;
interface
uses
Windows,
Classes,
MapStream,
uStrUtil,
Graphics,
SysUtils,
OmniXML,
uDWImage,
uI2XConstants,
uFileDir,
uHashTable,
uI2XPlugin;
//GR32, GR32_Image,
const
UNIT_NAME = 'uI2XImg';
type
TI2XImg = class(TI2XPlugin)
private
Image : T... |
unit ibSHMessages;
interface
resourcestring
SUnregisterServer = 'Unregister server alias "%s"?';
SUnregisterDatabase = 'Unregister database alias "%s"?';
SDropDatabase = 'Drop database "%s"?';
SDeleteUser = 'Delete user "%s"?';
SDriverIsNotInstalled = 'Driver is not installed';
SServerTestConn... |
{ Modified from
http://free-pascal-general.1045716.n5.nabble.com/lNet-getting-the-local-IP-td3200339.html }
program GetPrimaryIpAddress;
{$mode objfpc}
uses
baseunix,
unixtype,
sockets,
SysUtils;
procedure Get(out AddrOut: string);
const
CN_GDNS_ADDR = '127.0.0.1';
CN_GDNS_PORT = 53;
var
s... |
unit StockMinuteDataAccess;
interface
uses
define_dealItem,
BaseDataSet,
QuickList_int,
define_price,
define_stock_quotes;
type
{ 行情分钟线数据访问 }
TRT_StockMinuteData = record
DealItem : PRT_DealItem;
IsDataChangedStatus: Byte;
WeightMode : Byte;
MinuteDealData : TALInte... |
unit uPermissoesModel;
interface
uses uUsuarioModel;
type
TPermissoesModel = class
private
FAcessoEmprestimo: Boolean;
FCodigo: Integer;
FAcessoUsuario: Boolean;
FAcessoLivro: Boolean;
FAcessoEditora: Boolean;
FAcessoPermissoes: Boolean;
FAcessoAutor: Boolean... |
unit uSisPessoaProcuraFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
uParentAllFrm, ExtCtrls, Db, DBTables, StdCtrls, Buttons,
Grids,uParentDialogFrm,
dxDBGrid, dxCntner, dxTL, dxDBCtrl, ADODB, siComp, siLangRT;
type
TSisPessoaProcuraFrm = class(TParentDialog... |
unit calculate.test;
interface
uses
calculate,
DUnitX.TestFramework;
type
[TestFixture]
TCalculateTest = class(TObject)
private
calc: TCalculate;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
// Test with TestCase Attribute to supply parameters.
[Test]
[... |
//This unit controls loading the packet_db.txt into memory, and setting up
//procedures for executing packets.
unit Packets;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
Character,
Classes,
Contnrs,
PacketTypes;
(*-------------------------------------------------------------------------... |
unit CCJS_CheckPickPharmacy;
(****************************************************************************
* © PgkSoft 24.03.2015
* Механизм выбора (пожбора) аптеки для курьерской доставки
* Обработка результатов анализа состояния остатков на аптеке, в
* том числе срокового товара.
* Окончательный выбор (подбор а... |
unit search;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmSearch = class(TForm)
Label1: TLabel;
Label2: TLabel;
edtAnomaly: TEdit;
edtSystem: TEdit;
... |
//------------------------------------------------------------------------------
//Map UNIT
//------------------------------------------------------------------------------
// What it does -
// Our Map class, holds everything to do with our ma... |
unit NewFrontiers.Validation;
interface
uses
Classes;
type
IValidator = interface(IInterface)
/// <summary>
/// Basisinterface für alle Validator
/// </summary>
function validate(aString: string): boolean;
end;
/// <summary>
/// Basisklasse für alle Validator
/// </summary>
TVal... |
namespace ComplexNumbers;
interface
type
Complex = public class
private
property Size: Double read Real*Imaginary;
protected
public
constructor; empty;
constructor (aReal, aImaginary: Double);
property Real: Double;
property Imaginary: Double;
method ToString: String; override;
... |
unit adamsbdfG;
{ Lsoda differential equation solver Delphied. H M Sauro Dec 1996
Original Pascal translation by Joao Pedro Monij-Barreto and Ronny Shuster.
Original FORTRAN (version march30, 1987) to C translation by
From tam@dragonfly.wri.com Wed Apr 24 01:35:52 1991
Return-Path: <tam>
Date: Wed, 24 Apr ... |
unit ExtSeek2;
{-
********************************************************************************
******* XLSReadWriteII V3.00 *******
******* *******
******* Copyright(C) 1999,2006 Lars Arvidsson, Axolot Data... |
unit uNalogReestr;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,uNalogReestrDM, cxStyles, cxCustomData, cxGraphics, cxFilter,
cxData, cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses,
cxControls, cxGridCustomView, cxGridCustomTableView, cxGridTab... |
unit Shredder;
// Description: File/Disk Free Space Shredder (overwriter)
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphic... |
unit LanguageLoaderUnit;
interface
uses
Classes,
LanguageUnit;
type
{ TLanguageLoader }
TLanguageLoader = class
protected
FStream: TStream;
FLanguage: TLanguage;
property Stream: TStream read FStream;
public
property Language: TLanguage read FLanguage;
procedure Load; virtual; abstr... |
unit Command.Button2;
interface
uses
System.Classes, System.SysUtils,
Vcl.StdCtrls, Vcl.Pattern.Command;
type
TButon2Command = class (TCommand)
private
FMemo: TMemo;
FEdit: TEdit;
protected
procedure Guard; override;
public
procedure Execute; override;
published
property Memo: TMemo... |
unit NewFrontiers.Threading;
interface
uses SysUtils, Classes, System.Generics.Collections;
type
TThreadMessageType = (rtOk, rtInfo, rtWarning, rtError);
/// <summary>
/// Eine Nachricht, die von einem Thread (einer asynchronen Funktionen)
/// erzeugt wurde.
/// </summary>
TThreadM... |
unit NtResourceString;
interface
implementation
uses
System.SyncObjs,
NtResourceEx;
var
cs: TCriticalSection;
function TranslateResourceString(resStringRec: PResStringRec): String;
var
oldLoadResStringFunc: function (ResStringRec: PResStringRec): string;
begin
cs.Acquire;
try
Result := _T(resString... |
unit KeyboardDialog_U;
// Description: "Secure Keyboard Entry" Dialog
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, C... |
{ ***************************************************************************
Copyright (c) 2016-2022 Kike Pérez / Jens Fudickar
Unit : Quick.Logger.Provider.StringList
Description : Log StringList Provider
Author : Jens Fudickar
Version : 1.23
Created : 12/28/2023
Modified : 12/2... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: FileMD2<p>
MD2 file loader<p>
<b>Historique : </b><font size=-1><ul>
<li>31/03/07 - DaStr - Added $I GLScene.inc
<li>28/03/07 - DaStr - Added explicit pointer dereferencing
(thanks Burkhard Carstens) (B... |
unit adot.Collections.Vectors;
interface
{
TArr<T> Ligtweight managed analog of TList<T> / wrapper for TArray<T>
TSliceClass<T> Slice of array
TSlice<T> Managed slice of array
TVectorClass<T> Extended analog of TList<T>
TVector<T> Managed analog of TList<T> with overloaded operators
... |
(* NPC stats and setup *)
unit entities;
{$mode objfpc}{$H+}
{$ModeSwitch advancedrecords}
{$RANGECHECKS OFF}
interface
uses
Graphics, SysUtils, map, globalutils, ui, items,
(* Import item-style entities *)
barrel,
(* Import the NPC's *)
cave_rat, hyena, cave_bear, green_fungus;
type
(* Store informati... |
unit frmLearningGroupList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, dbfunc, uKernel;
type
TfLearningGroupList = class(TForm)
GroupBox1: TGroupBox;
Lab... |
unit QuranImgView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, RXSpin, ExtCtrls, Htmlview, AmlView, XmlObjModel, QuranStruct,
CompDoc, QuranView, RXCtrls, islctrls, moneyctrls;
type
TQuranImgData = class(TAmlData)
protected
FSura : Cardinal;
FS... |
{: GLCarbonContext<p>
Carbon specific Context.<p>
<b>History : </b><font size=-1><ul>
<li>10/06/09 - DanB - Added to main GLScene CVS repository (from GLScene-Lazarus).
<li>14/11/08 - Creation
</ul></font>
}
unit GLCarbonContext;
{$i ../GLScene.inc}
interface
uses
MacOSAll,
... |
unit uLayer;
interface
uses uPoint, uLine, uMaths, uArrayListOfPoint, uArrayListOfLine, uUtils;
const MAX_POINTS = 300;
const MAX_LINES = 300;
{
For serialization
}
type layerRecord = record
name: String[255];
points: PointRecordList;
lines: LineRecordList;
currentPoint, currentLine: integer;
... |
{ This unit contains class for Active Directory Schema Manipulation.
Author: Ismagilov Ilshat (student group 4410)
Email: ilshat.ismagilov2014@gmail.com
Organisation: KAI (kai.ru)
Version: 2.0
}
unit ADSchemaUnit;
interface
uses Windows, Classes, SysUtils, ADSchemaTypes, ADSchemaHelpUnit, LDAPClientUnit;
... |
//////////////////////////////////////////////////////////////
// //
// //
// 加密/解密单元 //
// 清清 2007.10.14 //
// ... |
unit frmOutGoFabricRules;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBClient, ExtCtrls, Grids, DBGrids, Buttons, frmBase,
StdCtrls, Mask, DBCtrls, ComCtrls
;
type
TOutGoFabricRulesForm = class(TBaseForm)
Panel1: TPanel;
CDSRules: TClientD... |
unit uExplorerDateStackProviders;
interface
uses
System.Classes,
System.SysUtils,
System.StrUtils,
Vcl.Graphics,
Data.DB,
Dmitry.Utils.System,
Dmitry.Utils.ShellIcons,
Dmitry.PathProviders,
Dmitry.PathProviders.MyComputer,
uConstants,
uMemory,
uTranslate,
uExplorerPathPr... |
unit AccessForTns;
interface
uses
ADODB, SysUtils, Common, ENUtil, bsDBGrids, bsSkinCtrls;
type
TTNS = class(TObject)
public
TID, TNAME, TCP, HOST, PORT, SID: string;
constructor Create; overload;
end;
TTNSARR = array of TTNS;
TnsManage = class(TObject)
public
ADOQuery... |
unit Informe_ViewModel_Implementation;
interface
uses
Classes,
Informe_Model, Informe_ViewModel;
type
TInforme_ViewModel = class
private
fDesdeFecha,
fHastaFecha: TDateTime;
fOnCambioPropiedades: TNotifyEvent;
fPropiedadesCambiadas: boolean;
fCambioPropiedadesDisabled: integer;
fNombr... |
unit Un_R_file_Alex;
interface
const M_WAIT : array [1..2] of string[30] = ('Зачекайте!', 'Ожидайте!');
const M_CONST_MESSAGE_WARNING : array [1..2] of string[10] = ('Увага!', 'Внимание!');
const M_CONST_VIHOD : array [1..2] of string[48] =... |
unit SysExtraFunc;
interface
type
TEXEVersionData = record
CompanyName,
FileDescription,
FileVersion,
InternalName,
LegalCopyright,
LegalTrademarks,
OriginalFileName,
ProductName,
ProductVersion,
Comments,
PrivateBuild,
SpecialBuild: string;
end;
function GetEXEVersi... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
{-------------------------------------------------------------------------------
Unit Name: gridimportfn
Author: Aaron Hochwimmer (hochwimmera@pbworld.com)
(derived from "karapiti" demo by Phil Scadden (p.scadden@gns.cri.nz)
Purpose: parsing data grids into an array of z(x,y) points.
Information on sur... |
{ ========================================================================
Unit: HexEdits
VCL: THexEdit
Version: 1.0
Copyright (C) 1996, Immo Wache
========================================================================}
unit HexEdits;
interface
uses WinTypes, WinProcs, Classes, StdCtrls, Ex... |
unit DemoCustomFileSystemMain;
interface
uses
Windows, Classes, ShlObj, Types,
// API
apiPlugin, apiFileManager, apiMenu, apiCore, apiActions, apiPlaylists, apiObjects,
// Wrappers
AIMPCustomPlugin, apiWrappers;
type
{ TMenuItemHandler }
TMenuItemHandler = class(TInterfacedObject, IAIMPActionEvent)
... |
Retiré de Elphy le 24 juin 2010
unit StmCube1;
interface
uses windows,DirectXGraphics,
D3DX81mo,
util1,Dgraphic,dibG,listG,
stmDef,stmObj,stmD3Dobj,stmPG;
type
Tcube=class (Tobject3D)
Fvalid:boolean;
Lx,Ly,Lz:single;
color0:integer;
dev:IDIRECT3DDEVICE8;
VB:IDIRECT3DVERTEXBUF... |
unit WaryLua;
{$M+}
interface
uses
VerySimple.Lua, VerySimple.Lua.Lib, System.SysUtils, Winapi.Windows,
ApplicationLua, FormLua, ConsoleLua;
type
// MyLua example class
TWaryLua = class(TVerySimpleLua)
private
pApplicationLua: TApplicationLua;
pFormLua: TFormLua;
pConSole: TConsoleLua;
prot... |
{*
FtermSSH : An SSH implementation in Delphi for FTerm2 by kxn@cic.tsinghua.edu.cn
Cryptograpical code from OpenSSL Project
*}
unit sshkex;
interface
uses Classes, sshbn, sshdh, sshutil, sshsha, sshcipher, sshmac, sshrsa;
type
TSSHKex = class
constructor Create(Owner: TObject); virtual... |
unit CCJSO_ClientNotice_PayDetails;
{
© PgkSoft 25.08.2016
Механизм формирования и отправки клиенту реквизитов платежа
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UCCenterJournalNetZkz, ActnList, ExtCtrls, StdCtrls, ComCtrls,
ToolWin, DB, ADODB, uAct... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Collections,
Sugar.TestFramework;
type
HashSetTest = public class (Testcase)
private
Data: HashSet<String>;
public
method Setup; override;
method &Add;
method Clear;
method Contains;
method &Remove;
method... |
unit Forms.SelectState;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, AdvCombo, AdvGlowButton, Modules.Resources,
AdvStyleIF, AdvAppStyler, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.P... |
{------------=ð> Writes a BIG string on the screen <ð=-----------}
Procedure BigWrite(x, y : Word; s : String; Color: Byte);
Var a,b,c : Word;
Begin
Bar(x,y,x+length(s)*16,y+16,0);
a:=0;
Repeat
a:=a+1;
For i:=0 to 7 Do
Begin
For j:=0 to 7 Do
... |
program Project1;
uses Math;
var x, sum, next: real;
continue, precision, k: integer;
begin
repeat
writeln('Enter the value of x: ');
readln(x);
writeln('Enter the precision of calculations: ');
readln(precision);
k:=1;
sum:=0;
repeat
next:= Power((-1)*x, k)/(Power(2, k)*k);
... |
unit mrLookUpQuery;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
DB, DBTables, PowerADOQuery, ADODb, uSqlFunctions, uSystemTypes,
uStringFunctions;
type
TComboField = record
FieldName: String;
FieldValue: Variant;
end;
TComboFields = array of TComboFi... |
unit TestUTemplateFcxController;
{
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, DB, DBXJSON, UC... |
unit UDebugLog;
(*====================================================================
Functions for sending debug messages to external debug receiver
======================================================================*)
interface
procedure Log(const FormatStr: String; const Args: array of const);
impl... |
unit PersenDanNilai;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls,
System.DateUtils;
type
TPersenDanNilai = class(TPanel)
private
FEPersen,
FENilai: TEdi... |
unit TestMREWSynch;
{ This unit contains the test cases for the multi read aexclusive write synhronizer,
as alwasy this is work in progress, any problems you can demostrate or features you wish to see
are welcome, above all else I welcome test cases that will help me debug your problems. }
interface
uses
Test... |
(*
Category: SWAG Title: FILE HANDLING ROUTINES
Original name: 0095.PAS
Description: Create plain ASCII data from binary file
Author: DIRK SCHWARZMANN
Date: 11-29-96 08:17
*)
PROGRAM BinToInclude; (* Version 1.0, 12.10.96 *)
(*
Author: Dirk "Rob!" Schwarzmann, (w) September 1996, Germany
E-Mail: r... |
unit OTFEFreeOTFE_DriverHashAPI;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, // Required for DWORD
FreeOTFEDriverConsts,
DriverAPI... |
unit UDWindowStyle;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, UCrpe32;
type
TCrpeWindowStyleDlg = class(TForm)
pnlWindowStyle: TPanel;
lblWindowTitle: TLabel;
cbSystemMenu: TCheckBox;
cbMinButton: TCheckBox;
cbMaxButton: TCh... |
unit E_Threads;
//------------------------------------------------------------------------------
// Модуль реализует классы потоков
//------------------------------------------------------------------------------
//
// Поток непрерывной работы - TThreadInfinite
// - вызывает заданную процедуру непрерывно
// Поток зап... |
(*
Category: SWAG Title: SORTING ROUTINES
Original name: 0011.PAS
Description: IMROVSRT.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:57
*)
{
MARK OUELLET
> I code these things this way:
>
> for I := 1 to MAX-1 do
> for J := I+1 to MAX do
> if A[I] < A[J] then
> begin
> ( swap code )
> end
this can ... |
unit NtQuotation;
// Note! This need to be in UTF8
// http://cldr.unicode.org/development/development-process/design-proposals/delimiter-quotation-mark-proposal
interface
uses
Generics.Collections;
type
TQuotationKind =
(
qkAscii, // "..."
qkEnglish, // “...”
qkSwedish, // ”...”
qkGer... |
unit DataModule;
interface
uses
SysUtils, Classes, DB, ADODB, IniFiles;
type
TDM = class(TDataModule)
ADOconn: TADOConnection;
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
procedure ADOconnBeforeConnect(Sender: TObject);
private
FQ... |
unit OperationEndUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, StdCtrls, cxButtons, FIBQuery, pFIBQuery,
pFIBStoredProc, FIBDatabase, pFIBDatabase,IBase,ZMessages, pFIBErrorHandler,ZProc,
PackageLoad, cxControls, cxContainer, cx... |
unit UBookList;
interface
var
booksLen: Integer = 0;
type
// Язык издания книги
TLang = (RU, EN, CH, BY, JP, SP);
// Запись о книге
TBook = packed record
code: Integer;
authorSurname: String[30];
bookTitle: String[20];
publishYear: Integer;
publishLang: TLang;
end;
TBooks = array of... |
unit FD.Compiler.Environment;
interface
uses
System.SysUtils, System.Classes, System.Generics.Collections,
FD.Compiler.Exceptions;
type
(* TCompilerEnvironment represents a single compilation environment process, and
contains things like "Environment Defines", "Search Paths", etc...
*)
TCompilerEn... |
unit URegraCRUDTipoMovimentacao;
interface
uses
URegraCRUD
,URepositorioDB
,URepositorioTipoMovimentacao
,UEntidade
,UTipoMovimentacao
;
type
TRegraCrudTipoMovimentacao = class (TRegraCRUD)
protected
procedure ValidaInsercao (const coENTIDADE: TENTIDADE); override;
public
constructor Cr... |
unit Buffer;
interface
uses
System.AnsiStrings, System.SysUtils;
const
BUF_MINSIZE = 64;
BUF_REALLOCSIZE = 64;
type
TBuffer = object
protected
FAutoExtention: Boolean;
FData: PByte;
FSize: Integer;
FOffset: Integer;
public
property Data: PByte read FData;
property Position: Integ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
Label0: TLabel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label11: TLabel;
Label21: TLabel;
... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2020, Michael R. . All rights reserved.
// ####
// ####... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{-------------------------------------------------------------------------------
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/.
--------------------------------------... |
namespace com.example.android.snake;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (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.apache.org/l... |
unit VolumeGreyIntData;
interface
uses Windows, Graphics, Abstract3DVolumeData, AbstractDataSet, IntDataSet,
dglOpenGL, Math;
type
T3DVolumeGreyIntData = class (TAbstract3DVolumeData)
private
// Gets
function GetData(_x, _y, _z: integer):integer;
function GetDataUns... |
unit UAuxClaveAut;
interface
function isANumber(const aNumString: String): Boolean;
function testClaveAutoriza(const aKey: String): Boolean;
function getClaveAutErrorMsg: String;
implementation
uses
SysUtils,
rxStrUtils;
var
theErrorMsg: String;
function isANumber(const aNumString: String)... |
unit LiteEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, uColorTheme, uParser;
{
Used to specify behavior for Lite Edit
}
type VT = (VT_NONE, VT_NOT_EMPTY_TEXT, VT_FLOAT, VT_INT);
{
Lite Edit
}
type TLiteEdit = class(TEdit, IUnknown, IThemeS... |
unit JO9_Options;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableView,
cxGrid... |
{*
* hnb2olol - utility that converts hnb files to olol files
* Copyright (C) 2011 Kostas Michalopoulos
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is grante... |
unit AirplaneFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Imaging.pngimage, ImageFrm;
type
TAirplaneForm = class(TImageForm)
ComboBox1: TComboBox;
Label2: TLab... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.