text stringlengths 14 6.51M |
|---|
unit ufrmMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, diocp.task, diocp.tcp.blockClient,
uStreamCoderSocket, uRawTcpClientCoderImpl, Grids, DBGrids,
uIRemoteServer, uRemoteServerDIOCPImpl, DB, DBClient;
type
// 异步执行任务对象
TASyncTaskObjec... |
unit caMathEval;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Classes,
SysUtils,
Math,
// ca units
caClasses,
caTypes,
caVector,
caUtils;
const
cComma = ',';
cDoubleComma = ',,';
type
EcaMathEvalException = class(Exception);
TcaOperandVariableEvent = procedure(Sender: TOb... |
unit UTipoDetalhamento;
interface
uses
Contnrs,
uRegistro, uNumeroCampo;
type
TTipoDetalhamento = class(TRegistro)
private
fID : Integer;
fCodigo : String;
fDescricao : String;
fNumeroCampo : TNumeroCampo;
procedure Set... |
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit update;
{$mode ObjFPC}{$H+}
interface
uses
Classes, StrUtils, SysUtils, Windows,
http;
function GetLatestVersion: string;
function GetVersionInfo(const FileName, Query: string): string;
function CheckUpdate: Boolean;
procedure ShowUpdate;
function QueryUpdate: Boolean;
implementation
function GetLatestVe... |
unit MendPrn;
interface
uses SysUtils, Windows, (*Buffer,*) MemMap, Classes;
type
////////////////////////////////////////////////
EFileOpen = class(Exception);
///////////////////////////////////////////////
TPMCFG = packed record
PinStatus: DWORD;
end;
TBuffer = class(TMemorySt... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
unit Getter.TrimBasics.FAT;
interface
uses
SysUtils, Windows,
Partition, Getter.TrimBasics, Getter.VolumeBitmap;
type
TFATTrimBasicsGetter = class(TTrimBasicsGetter)
public
function IsPartitionMyResponsibility: Boolean; override;
function GetTrimBasicsToInitialize: TTrimBasicsToInitialize; override;
... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1997,98 Inprise Corporation }
{ ... |
unit BaseTests;
interface
uses SysUtils, Classes, Generics.Collections;
type
ETestError = class(EAbort)
end;
TLoggingObj = class(TObject)
strict private
FOnBeforeDestroy: TThreadProcedure;
public
constructor Create(const OnBeforeDestroy: TThreadProcedure);
destructor Destroy; ... |
{*********************************************************************
*
* 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/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit func_ccreg_set64;
interface
implementation
type
TEnum64 = (_a00,_a01,_a02,_a03,_a04,_a05,_a06,_a07,_a08,_a09,_a10,_a11,_a12,_a13,_a14,_a15,_a16,_a17,_a18,_a19,_a20,_a21,_a22,_a23,_a24,_a25,_a26,_a27,_a28,_a29,_a30,_a31,
_a32,_a33,_a34,_a35,_a36,_a37,_a38,_a39,_a40,_a41,_a42,_a43,_a44,_a45,_a46,_a... |
{**********************************************************************}
{* Иллюстрация к книге "OpenGL в проектах Delphi" *}
{* Краснов М.В. softgl@chat.ru *}
{**********************************************************************}
unit frmMain;
interface
u... |
unit FC.StockData.StockDataSourceRegistry;
interface
uses Classes,SysUtils, FC.Definitions, FC.StockData.StockDataSource;
type
TStockLoadedDataSourceRegistry = class
private
FDataSources: TList;
function GetDataSource(index: integer): TStockDataSource_B;
public
function DataSourceCount: integer;
... |
{*********************************************}
{ TeeBI Software Library }
{ TStringArray and helper type }
{ Copyright (c) 2015-2017 by Steema Software }
{ All Rights Reserved }
{*********************************************}
unit BI.Arrays.Strings;
interfa... |
PROGRAM CLEANUSR;
USES
FileOps;
CONST
errorlogfile = 'IDERR.LOG';
TYPE
UserIDString = String[10];
UserIDNodePtr = ^UserIDNode;
UserIDNode = RECORD
UserIDNum : UserIDString;
Next : UserIDNodePtr;
END;
SecArray = ARRAY[0..99] OF UserIDNodePtr;
VAR
UserID : UserIDString;
Instr :... |
unit FastDemo;
interface
//线程安全版本
uses
Windows, SysUtils;
const
CONST_BYTE_SIZE = 4;
CONST_PAGE_SINGLE = 1024;
COSNT_PAGE_SINGLE_SIZE = CONST_PAGE_SINGLE * CONST_BYTE_SIZE;
type
TFastQueue = class
private
FCS: TRTLCriticalSection;
//
FMem: Pointer;
FTmpMem: Pointer;
//
FPushIndex... |
{
@abstract(Interfaces and support VCL classes for GMLib.)
@author(Xavier Martinez (cadetill) <cadetill@gmail.com>)
@created(Novembre 18, 2015)
@lastmod(Novembre 18, 2015)
The GMClasses.VCL unit provides access to VCL interfaces and VCL base classes used into GMLib.
}
unit GMClasses.VCL;
{$I ..\..\gmlib.inc... |
unit Component.ProgressSection;
interface
uses
Classes,
Component.ButtonGroup;
type
TProgressToApply = record
ProgressValue: Integer;
ProgressCaption: String;
SpeedCaption: String;
end;
TProgressSection = class
private
ThreadToSynchronize: TThread;
ProgressToApply: TProgressToApply;
... |
unit Ntapi.ntdbg;
{$MINENUMSIZE 4}
interface
uses
Winapi.WinNt, Ntapi.ntdef;
const
DEBUG_READ_EVENT = $0001;
DEBUG_PROCESS_ASSIGN = $0002;
DEBUG_SET_INFORMATION = $0004;
DEBUG_QUERY_INFORMATION = $0008;
DEBUG_ALL_ACCESS = STANDARD_RIGHTS_ALL or $000F;
DebugObjAccessMapping: array [0..3] of TFlagName ... |
unit Gs232;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Forms,
Dialogs, Vcl.ExtCtrls,
ShlObj, // for debug
Math,
Cport, CPortX;
Type
TAzimuthAngle = (az360, az450);
TCenterPosition = (cpNorth, cpSouth);
TBoundPosition = (bpNone, bpCWBound, bpCCWBound);
type
TReachPresetEvent ... |
unit f07_laporhilang;
interface
uses
buku_handler,
kehilangan_handler,
peminjaman_handler,
utilitas;
{ DEKLARASI FUNGSI DAN PROSEDUR }
procedure lapor(var data_kehilangan: tabel_kehilangan; data_peminjaman : tabel_peminjaman; var data_buku: tabel_buku; username: String);
{ IMPLEMENTASI FUNGSI DAN PRO... |
unit ucadTransStd;
interface
uses
SysUtils,
classes,
ufmTranslator,
StdCtrls,
uLogs,
menus;
type
TFormTranslator = class ( TcadCompTranslator )
function Translate(const aObj: TObject; var Translated:boolean):boolean; override;
class function Supports(const aObj: TObject): Boolean; overr... |
unit UCL.TUTooltip;
interface
uses
UCL.Classes, UCL.Utils,
System.Classes,
Winapi.Windows, Winapi.Messages,
VCL.Controls, VCL.Graphics;
type
TUCustomTooltip = class(THintWindow)
const
DEF_HEIGHT = 26;
private
var BorderColor: TColor;
var BackColor: TColor;
... |
unit PushConsumerMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, CORBA, CosEvent, PushConsumer_Impl;
type
TForm1 = class(TForm)
Memo1: TMemo;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
PushConsumer_Skeleton ... |
unit UniqueParameterValuesQuery;
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, F... |
/// <summary>
/// TRawBytesHelper based on PascalCoin Core by Alfred Molina
/// </summary>
unit PascalCoin.Helpers;
interface
uses PascalCoin.Utils.Interfaces;
type
TRawBytesHelper = record helper for TRawBytes
function ToString: String; // Returns a String type
function ToPrintable: String;
// Return... |
{$F-,A+,O+,G+,R-,S+,I+,Q-,V-,B-,X+,T-,P-,D-,L-,N-,E+}
unit DateTime;
interface
uses Global;
function dtAge(Date : String) : Word; { Years old }
function dtDateFullString(S : String) : String; { Verbal date string }
function dtDatePackedString(L : LongInt) : String; { D... |
{Unidad con frame para almacenar y configurar las propiedades de un editor
SynEdit. Las propiedades que se manejan son con respecto al coloreado.
El frame definido, está pensado para usarse en una ventana de configuración.
También incluye una lista para almacenamiento de los archivos recientes
... |
{*********************************************************************
*
* 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/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit PersonBuilder;
interface
uses
PersonBodyProperty;
type
TPersonBuilder = class
private
FPersonBodyProperty: TPersonBodyProperty;
public
constructor Create;
destructor Destroy; override;
procedure BuildHead; virtual; abstract;
procedure BuildBody; virtual; abstract;
procedure Build... |
unit Auxiliary;
interface
uses
Graphics, MetroVisCom;
function ColorNameToColor(AString: String): TColor;
// pre: True
// ret: The color named AString, if AString represents a color contained in the
// standard colors or the extended colors
// clDefaultColor, otherwise
... |
{**
* @Author: Du xinming
* @Contact: QQ<36511179>; Email<lndxm1979@163.com>
* @Version: 0.0
* @Date: 2018.10.29
* @Brief:
*}
unit org.tcpip.tcp.client;
interface
uses
Winapi.Windows,
Winapi.Winsock2,
System.SysUtils,
System.Classes,
System.Math,
org.algorithms,
org.algorithms.queue,
org.utiliti... |
program t_kecc7;
{Monte Carlo known answer test for Keccak f[1600], WE Nov.2012}
{Test vectors from MonteCarlo_xx.txt, j=99, xx=0,224,256,384,512}
{$i std.inc}
{$ifdef APPCONS}
{$apptype console}
{$endif}
uses
{$ifdef WINCRT} WinCRT, {$endif}
BTypes, Mem_Util, keccak_n;
const
seed: ar... |
unit SIP_Event;
interface
uses Classes, SyncObjs;
type
TSIPEventScript=class(TCollectionItem)
private
FRingGroup: Integer;
FCount: Integer;
FScriptID: Integer;
procedure SetCount(const Value: Integer);
procedure SetRingGroup(const Value: Integer);
procedure SetScriptID(const Value: Intege... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit StringMetaTestForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo, FMX.Edit, FMX.Controls.Presentation, FMX.ScrollBox;
type
TForm1 = class(TForm)
Memo1:... |
unit Web.HTTP;
interface
uses
SysUtils, Classes, IdComponent, IdExceptionCore, IdHttp, IdURI,
IdStack, Web;
type
THTTPWeb = class(TWeb)
private
InnerConnector: TIdHttp;
InnerEncodedURI: String;
procedure SetEncodedURIByPath(const PathToGet: String);
function GetFromEncodedURIToStringList: TSt... |
// TPageProducerHandler
// By: Shane Hausle
// Usage:
// As cgi:
// pass the PageProducer Template as an argument to the url
// like so 'http://monkey1:90/cgi-bin/PageProducerCGI.exe/index.html.en'
// Where /index.html.en would be the template based on the relative path.
// NOTE: Images must ... |
unit MainFormUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, StdCtrls, Menus, MMSystem, Buttons, CardsUnit, System.UITYpes;
type
TMainForm = class(TForm)
MainMenu: TMainMenu;
N1: TMenuItem;
N2: TMenuItem;
StartMI: TMenuItem;
ExitMI:... |
unit Migration;
interface
uses
System.SysUtils, System.Variants, System.Classes, Vcl.StdCtrls, Winapi.Windows, Vcl.Forms,
MyUtils;
type
TVersion = (vrFb21 = 0, vrFb25 = 1, vrFb30 = 2, vrFb40 = 3);
TMigrationConnection = class
public
User: string;
Password: string;
Version: TVersion;
Databa... |
unit Billiards.GameType;
interface
type
TBilliardGameType = class
private
fNotifyLast: integer;
fMaxTurns: integer;
fID: integer;
public
constructor Create; overload;
constructor Create(ADate: TDate); overload;
function ToString: string; override;
property ID: integer read fID writ... |
{**********************************************************}
{ }
{ TTinyDBIniFile Class }
{ Last Modified Date: 2003-03-23 }
{ }
{*************... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit FC.StockChart.UnitTask.MBB.AdjustWidth;
interface
{$I Compiler.inc}
uses
SysUtils,Classes, BaseUtils, Serialization, StockChart.Definitions.Units,StockChart.Definitions,
FC.Definitions, FC.Singletons,
FC.StockChart.UnitTask.Base;
implementation
uses
FC.StockChart.UnitTask.MBB.AdjustWidthDialog;
type
... |
unit EmailAddressMaintenance;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, Db, Wwdatsrc, DBTables, Wwtable, Grids, Wwdbigrd,
Wwdbgrid;
type
TEmailAddressesForm = class(TForm)
EmailAddressGrid: TwwDBGrid;
EmailAddressTable: TwwTable;
E... |
unit ANU_CFB;
(*************************************************************************
DESCRIPTION : Anubis (tweaked) CFB128 functions
Because of buffering en/decrypting is associative
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE : ---
... |
unit HYService;
interface
uses
GSPInterface;
type
THYService = class
private
FProjModel: IGSPModel;
function GetProjModel: IGSPModel;
public
property ProjModel: IGSPModel read GetProjModel;
procedure Save;
end;
implementation
uses
HYUtils;
const
CHYModelFile = 'HY.GSP';
... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// 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 granted to anyone to use this software for any purpose... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit classTimeRecord;
interface
uses SysUtils, DateUtils;
type
TRecord = class
private
RecordID : Integer;
RecordClient : String;
RecordUser : String;
RecordTimeDate : TDateTime;
RecordTimeFrom : TDateTime;
RecordTimeTo : TDateTime;
RecordTimeHours: Dou... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLTriangulation<p>
Classes and methods for 2D triangulation of scatter points.<p>
<b>History : </b><font size=-1><ul>
<li>17/05/15 - PW - Created, based on code from Paul Bourke (http://paulbourke.net/)
and conversion fro... |
unit AddMissingAliasesUnit;
interface
uses BDE, DBTables, Classes, SysUtils, Forms, Dialogs;
Procedure AddMissingAliases(Session : TSession;
Application : TApplication);
implementation
{===================================================}
Function CreateBDEAlias( Session : TSession;
... |
unit GUI_PokePasApp;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, LCLType, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls, Menus, DT_Pokedex, DT_Especie, DT_TipoElemental, Utilidades;
CONST
MAX_NUMERO_ESPECIES= 1000;
type
{ TPokePas }
TPokePas = class(TForm)
Buscar: TBut... |
(* StackADT4: SWa, 2020-04-15 *)
(* ---------- *)
(* Stack abstract data type - version 4. *)
(* ========================================================================= *)
... |
{
"RTC Image Playback (FMX)"
- Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com)
@exclude
}
unit rtcFImgPlayback;
interface
{$include rtcDefs.inc}
uses
Classes,
System.Types,
{$IFDEF IDE_XE5up}
FMX.Graphics,
{$ENDIF}
FMX.Types,
rtcTypes,
rtcXImgPlayba... |
unit MediaProcessing.Convertor.HHH264.H264.Impl;
interface
uses SysUtils,Windows,Classes, Graphics, MediaProcessing.Definitions,MediaProcessing.Global,HHCommon,MediaProcessing.Convertor.HHH264.H264;
type
TMediaProcessor_Convertor_Hh_H264_H624_Impl=class (TMediaProcessor_Convertor_Hh_H264_H624,IMediaProcessorImpl)... |
unit uSolicitacaoModel;
interface
uses
uEnumerado, FireDAC.Comp.Client;
type
TSolicitacaoModel = class
private
FAcao: TAcao;
FIdLivro: string;
FIdUsuario: string;
FData: string;
FHora: string;
FOrigem: string;
FDestino: string;
procedure SetAcao(const Value: TAcao);
proc... |
unit TreeIntf;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ComCtrls, DesignIntf, DesignEditors, DesignMenus, TypInfo, Contnrs,
IniFiles, Menus, ImgList;
type
{ TSprig }
{ sprig \Sprig\, n.
[AS. sprec; akin to Icel. sprek a stick. Cf. Spray a branch.]
... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{ Module of routines for handling child windows.
}
module gui_child;
define gui_win_childpos_first;
define gui_win_childpos_last;
define gui_win_childpos_next;
define gui_win_childpos_prev;
define gui_win_childpos_wentry;
%include 'gui2.ins.pas';
{
*********************************************************************... |
unit ArchIntervalBuilder;
interface
uses Windows, GMSqlQuery, Classes, Generics.Collections, DB;
type
ArchReqInterval = record
UTime1, UTime2: LongWord;
end;
TArchIntervalBuilder = class
private
FQuery: TGMSqlQuery;
FOwnQuery: bool;
protected
// такой изврат нам нужен, чтобы отвязаться от ... |
unit IdAuthenticationManager;
interface
Uses
Classes, SysUtils, IdAuthentication, IdURI, IdGlobal, IdBaseComponent;
Type
TIdAuthenticationItem = class(TCollectionItem)
protected
FURI: TIdURI;
FParams: TStringList;
procedure SetParams(const Value: TStringList);
procedure SetURI(const Value: TIdU... |
PROGRAM Snowflak;
{$n+}
{$R+}
{
USAGE: Snowflak <DataFile> <Sides> <Level>
where <DataFile> is the file containing the turn angles of the generator
<Sides> is the number of sides on the a regular polygon initiatior
<Level> is the depth of the recursion
}
Uses GraphPrm, TurtleGr;
CONST
MaxGeneratorFacets =... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit RestoreCmd;
interface
procedure Restore(storeName, fileName : String;
promptOnUsingNewest : Boolean; // indicates we want to ask the user to verify the name of the newest backup to use.
databaseName : String;
userId, password : String;
hostN... |
unit SpriteReact;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, StdCtrls, ExtCtrls, Dialogs;
type
TReactThreadManager = class (TThread)
private
Reactable: boolean;
Idle: boolean;
Launched : boolean;
... |
unit Demo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
DlgCountdown;
type
TForm2 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
private
procedure L... |
unit DbfDataSet;
interface
uses
SysUtils, Classes, Db, DsgnIntf;
const
EndHeaderChar: Char = #13;
EndFileChar: Char = #$1A;
type
TFilenameProperty = class(TStringProperty)
public
procedure Edit; override;
function GetAttributes: TPropertyAttributes; override;
end;
EDBFError = ... |
unit GlobalUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Imaging.jpeg, Vcl.StdCtrls,
Vcl.ComCtrls, ShellApi, Vcl.Forms, FileCtrl;
type
TString = class
Value: string;
end;
const
ACAPO = #13#10;
function GetLocalComputerName: s... |
{
Copyright (C) 2012-2013 Matthias Bolte <matthias@tinkerforge.com>
Redistribution and use in source and binary forms of this file,
with or without modification, are permitted. See the Creative
Commons Zero (CC0 1.0) License for more details.
}
unit LEConverter;
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
inter... |
unit ufmMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufmBase, Vcl.StdCtrls, Vcl.ExtCtrls,
uDrawingArea, uEventModel, uDrawingEvent, JvWndProcHook, JvComponentBase,
JvMouseGesture, uGraphic... |
unit Unit2;
interface
procedure mMain(a: Real);
implementation
uses Vcl.Dialogs, System.Math;
procedure mMain(a: Real);
var
b, c: Real;
begin
if (a < 1) then
begin
b := Power(a, 2);
c := Sqrt(b);
if (c = a) then
begin
ShowMessage('a >= 0... |
{ *******************************************************************************
Copyright 2016-2019 Daniele Spinetti
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.apa... |
(* Method Better Combination *)
procedure Combination(Left, Right: Real; var Root: Real; var Time: Integer);
begin
Time := 0; // Time: loop counting
if F(Left)*F(Right) = 0 then
begin
if F(Left) = 0 then (* optimize method *)
Root := Left
else
Root := ... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit AES_CFB8;
(*************************************************************************
DESCRIPTION : AES CFB8 functions
REQUIREMENTS : TP5-7, D1-D7/D9-D10/D12, FPC, VP
EXTERNAL DATA : ---
MEMORY USAGE : ---
DISPLAY MODE : ---
REFERENCES : [3] http://csrc.nist.gov/... |
{$A8} {$R-}
{*************************************************************}
{ }
{ Embarcadero Delphi Visual Component Library }
{ InterBase Express core components }
{ ... |
unit PaymentData;
interface
uses
System.SysUtils, System.Classes, Data.DB, Data.Win.ADODB, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf, FireDAC.Comp.DataSet,
FireDAC.Comp.Client;
type
TdmPayment = class(TDataModule)
... |
unit PPermits_Subform;
{$H+}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, Wwtable, wwdblook, Buttons, ToolWin, ComCtrls,
Mask, ExtCtrls, StdCtrls;
type
TPermitsEntryDialogForm = class(TForm)
MainToolBar: TToolBar;
SaveButton: TSpeedButton;
... |
unit mml_types;
{-------------------------------------------------------------------------------
ソフト:テキスト音楽「サクラ」
作 者:クジラ飛行机 https://sakuramml.com
説 明:MMLのトラック情報、ソング情報を管理するクラス
履 歴:
2002/06/03 15:13 雛型作成
-------------------------------------------------------------------------------}
interface
uses
Sy... |
unit Rx.Observable.Filter;
interface
uses Rx, Rx.Subjects;
type
TFilter<T> = class(TPublishSubject<T>)
strict private
FRoutine: Rx.TFilter<T>;
FRoutineStatic: Rx.TFilterStatic<T>;
public
constructor Create(Source: IObservable<T>; const Routine: Rx.TFilter<T>);
constructor CreateSta... |
unit TestCapitalisation;
{ AFS June 2005
Test the caps processe }
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestCapitalisation, released June 2005.
The Initial Developer of the Original Code is Anthony S... |
unit fxLists;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, fBase508Form, VA508AccessibilityManager;
type
TfrmDbgList = class(TfrmBase508Form)
memData: TMemo;
procedure FormKeyUp(Sender: TObject; var Key: Word;
Shift: TShiftState);
private
... |
{ BP compatible printer unit with extensions
Copyright (C) 1998-2005 Free Software Foundation, Inc.
Author: Frank Heckenbach <frank@pascal.gnu.de>
This file is part of GNU Pascal.
GNU Pascal is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as pub... |
unit Renderer;
interface
{Процедура инциализации рендера }
procedure InitRenderer();
{Процедура рисования игрока }
{Параметры: x, y - позиция, offset_x, offset_y - смещение на экране }
{ player_id - номер игрока, player_name - имя игрока }
procedure RenderPlayer... |
Program clase5parte2;
Uses
sysutils;
Type
tweet = record
codigoUsuario: integer;
nombreUsuario: string;
mensaje: string;
esRetweet: boolean;
end;
listaTweets = ^nodoLista;
nodoLista = record
dato: tweet;
sig: listaTweets;
end;
{Completar agregando aqu� las estructuras de datos necesarias en el ejer... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2001 Borland Software Corporation }
{ ... |
unit TestDadosDoTempo;
interface
uses
TestFramework, InterfaceDadosTempo, InterfaceObservadorTempo,
System.Generics.Collections, DadosDoTempo, System.SysUtils;
type
TestTDadosDoTempo = class(TTestCase)
strict private
FDadosDoTempo: TDadosDoTempo;
public
procedure SetUp; override;
procedure Tear... |
unit UnitFormExpander;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TFormExpander = class(TForm)
Panel1: TPanel;
Button1: TButton;
Label1: ... |
{******************************************}
{ TeeChart Tools Editor }
{ Copyright (c) 2000-2004 by David Berneda }
{******************************************}
unit TeeEditTools;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes,
{$IF... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit DropFileSource3;
// -----------------------------------------------------------------------------
//
// *** NOT FOR RELEASE ***
//
// *** INTERNAL USE ONLY ***
//
// -----------------------------------------------------------------------------
// Project: Drag and Drop Compo... |
{ *********************************************************************** }
{ }
{ Delphi / Kylix Cross-Platform Runtime Library }
{ }
{ Copyright (c) ... |
unit nested_procs;
interface
var
G1: Int32;
G2: Int32;
procedure Test; export;
implementation
procedure Test;
function GetValue: Int32;
begin
Result := 11;
end;
procedure SetValue(V: Int32);
begin
G2 := V;
end;
begin
G1 := GetValue();
SetValue(12);
end;
initialization
Test();
fi... |
unit u_J16SlopeCalibrateMeasureImp;
interface
uses
Classes, SysUtils, u_ExamineImp, u_J08TaskIntf, u_J08Task, u_J16CommonDef;
type
TSlopeCalibrateMeasure = Class(TCustomExamineItem)
Private
Procedure InternalCheck(const Value: Boolean; const ExceptionInfo: String);
Protected
Procedure Init; Override;
... |
unit ncaDocEdit;
interface
uses sysutils, classes, cxEdit, cxButtonEdit;
type
TncDocEdit = class ( TcxButtonEdit )
private
FTipoDoc : Byte;
FIDDoc : String;
FOnAlterou : TNotifyEvent;
procedure SetIDDoc(const Value: String);
public
constructor Create(AOwner: TComponent); override;
pr... |
unit PanelImpl1;
interface
uses
Windows, ActiveX, Classes, Controls, Graphics, Menus, Forms, StdCtrls,
ComServ, StdVCL, AXCtrls, DelCtrls_TLB, ExtCtrls;
type
TPanelX = class(TActiveXControl, IPanelX)
private
{ Private declarations }
FDelphiControl: TPanel;
FEvents: IPanelXEvents;
procedure Ca... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.