text stringlengths 14 6.51M |
|---|
unit ServerSocket;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, SocketComp, StdCtrls;
type
TServerForm = class(TForm)
Trace: TEdit;
procedure ServerSocketClientRead(Sender: TObject;Socket: TCustomWinSocket);
procedure ServerSocketAccept(... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clMailMessage;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,{$IFDEF DEMO} Forms,{$ENDIF}
{$ELSE}
System... |
unit Main;
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.Controls.Presentation, FMX.ScrollBox,
FMX.Memo,
Quick.IOC,
Dependencies;
type
TForm1 = class(TForm)
meInfo: TMemo;... |
unit kwKeyValuesPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\kwKeyValuesPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "kwKeyValuesPack" MUID: (567ACC1F028D)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
uses
l3IntfUse... |
program main_modular;
uses
crt, parser, konversi, tipe_data, proses_user_program, proses_data, proses_buku;
(*Unit yang dibutuhkan dalam eksekusi program utama ini*)
var
array_buku : tabBuku; //array data buku
array_user : tabUser; //array data user
array_pinjam : tabPinjam; //arr... |
unit MailBrowser_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ MailBrowser Library }
{ Version 1.0 }
interface
uses Windows,... |
unit GroupListKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы GroupList }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Admin\Forms\GroupListKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "GroupListKeywordsPack" MUID: (4AA8E4CD0348_Pack)
{$Includ... |
unit UserSetupDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, TCWODT, CaptionList;
type
TUserSetupDialog = class(TComponent)
private
FCaptionList: TCaptionList;
procedure SetCaptionList(const Value: TCaptionList);
{ Private declarations }... |
unit MdiChilds.DocList;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, GsDocument, Contnrs, Generics.Collections,
MDIChilds.CustomDialog, Vcl.StdCtrls, Vcl.ExtCtrls, JvComponentBase,
JvDragDrop, MdiChilds.Pr... |
unit PolOperationsGUI;
interface
uses
Windows, Messages, SysUtils, StrUtils, Variants, Classes,
Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls,
PolUnit;
const
OPERATIONS_SYMBOLS: array[0..3] of char = ('+', 'Ц', 'Х', ':');
type
TMainForm = class(TForm)
lblTitle: TLabel;
pnlI... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
program Tester(input, output);
var I: Integer;
begin {tester}
Writeln; Writeln;
Write('Please enter an integer value for I: ');
Read(I);
I := I + 1;
Writeln('The current value of I is ', I:0);
Writeln; Writeln;
end. {tester}
|
unit vcmBaseOperationsCollectionItem;
{* Элемент коллекции операций. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmBaseOperationsCollectionItem - }
{ Начат: 11.03.2003 12:22 }
{ $Id: vcmBaseOperationsCollectionItem.pas,v 1.188 2013/07/18 12:28:34 morozov Exp $ }
// $Log: vcmBaseOperationsColl... |
unit fb_2_rb_plugin;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, ActiveX, Classes, ComObj, FB2_to_RB_TLB, StdVcl;
type
TFB2_2_RB_FBE_export = class(TTypedComObject, IFBEExportPlugin)
protected
function Export(hWnd: Integer; const filename: WideString;
const document: IDispatch): HResult; std... |
unit tfwClassLike;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwClassLike.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TtfwClassLike" MUID: (55CCAE000335)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
uses
l3IntfUses
, tfwRegiste... |
unit K620665614_Hk0900071;
{* [RequestLink:620665614] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K620665614_Hk0900071.pas"
// Стереотип: "TestCase"
// Элемент модели: "K620665614_Hk0900071" MUID: (56FA6D77032E)
// Имя типа: "TK620665614_Hk0900071"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.i... |
//****************************************************************//
// This is cut-and-pasted version of JclSysUtils.pas library from //
// JEDI Code Library (JCL). Copyright (c) see contributors //
// //
// For use with History++ plugin ... |
unit xn.grid.Sort.test;
{ 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 cSampleData,
TestFramework, Gene... |
unit MdiChilds.FmNotesProcessor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MDIChilds.CustomDialog, Vcl.StdCtrls, Vcl.ExtCtrls, MdiChilds.ProgressForm, Parsers.Excel.Notes,
GsDocument, ActionHandler;
type... |
{ *******************************************************************************
Copyright (c) 2004-2010 by Edyard Tolmachev
IMadering project
http://imadering.com
ICQ: 118648
E-mail: imadering@mail.ru
******************************************************************************* }
unit LoginUni... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit xCtrls;
interface
uses
SysUtils, Classes, Controls, Forms, Messages, Graphics, Windows, Contnrs;
var
Delims: set of char = [' '];
type
TxLabelExClickEvent = procedure (Sender: TObject; Index: Integer) of object;
TxOnGetHintTextEvent = procedure (Sender: TObject; Index: Integer;
var ATe... |
unit csInterfaces;
interface
uses
Classes, ActiveX, ddProgressObj, ddAppConfigTypes, csRequestTypes, DT_Types;
type
IcsRequest = interface(IInterface)
['{1FC5B642-EAEA-423C-9404-08DE415C3E15}']
procedure LoadFrom(aStream: TStream; aIsPipe: Boolean);
function pm_GetData: TddAppConfigNode; stdcall;
function p... |
{***** THIS IS NOT THE handout program for Assignment #8 *****}
{***** this is just a portion of the handout program *****}
{***** that you should bring to class Monday, March 15 *****}
program simulator (input,output) ;
{ the following constants give symbolic names for the opcodes }
const
lda = 9... |
unit WinSockRDOConnectionsServer;
interface
uses
Windows,
Classes,
SyncObjs,
SmartThreads,
SocketComp,
RDOInterfaces;
type
TWinSockRDOConnectionsServer =
class( TInterfacedObject, IRDOServerConnection, IRDOConnectionsServer )
public
constructor Create( Prt : in... |
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
unit entradaDao;
interface
uses
Abastecimento, DB, DM, IBQuery, IBDataBase, Classes, SysUtils, DateUtils, entrada;
type
T_EntradaDao = class(TObject)
private
F_Qr: TIBQuery;
F_Lista: TList;
public
constructor Create(db: TIBDataBase);
... |
unit DataContainers.TFile;
interface
uses
System.SysUtils, System.Classes,
Framework.Interfaces;
type
TFile = class(TInterfacedObject, IFIle)
strict private
FFile: TStringList;
function GetCount: Integer;
public
constructor Create;
destructor Destroy; override;
procedure... |
unit kwPopEditorSelectCells;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorSelectCells.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from... |
unit arOneTaskDeliverer;
// Модуль: "w:\archi\source\projects\Archi\Processing\arOneTaskDeliverer.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TarOneTaskDeliverer" MUID: (546AFE0D01CB)
{$Include w:\archi\source\projects\Archi\arDefine.inc}
interface
{$If Defined(AppClientSide)}
uses
l3IntfUses
, l3ProtoOb... |
unit UTime;
interface
type
TIME_STAMP = Int64;
var
GetMyTime:function:TDateTime;
function MyTimeStamp:TIME_STAMP;
function UTCTimeStamp:TIME_STAMP;
procedure SetMyTimeType(MTT:Integer);
function GetLocTime:TDateTime;
function GetUTCTime:TDateTime;
function GetMSKTime:TDateTime;
function GetNullTime:TDateTime;
... |
program ch15(input, output, data11);
{
Chapter 15 Assignment
Alberto Villalobos
May 1, 2014
Description: Given a mileage chart matrix, detect
if there are symmetry or diagonal errors, in other
words, make sure that the distance from A to B is
the same as B to A. And that the distance from A
to A is always 0.
... |
unit suna8_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,main_engine,controls_engine,timer_engine,ym_3812,ay_8910,
rom_engine,misc_functions,pal_engine,sound_engine,dac,gfx_engine;
function iniciar_suna_hw:boolean;
implementation
const
//Hard Head
hardhead_rom:array... |
unit GX_CopyComponentNames;
interface
uses GX_Experts, ActnList;
type
TCopyComponentNamesExpert = class(TGX_Expert)
protected
procedure UpdateAction(Action: TCustomAction); override;
public
constructor Create; override;
function GetActionCaption: string; override;
class function Ge... |
Program Interpolation;
var
x ,Result ,Max ,Min : Real;
i,j,n : integer;
T : Array [-1..100,0..100] of Real;
procedure Lagrange;
function L(m:Byte):Real;
var
p:Real;
Begin
p:=1;
for j:=0 to n do
if(j <> m) then
p:=p * (x - T[-1,j]) / (T[-1,m] - T[-1,j]);
L:=p;
end;
... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserv... |
unit TransparentBitmaps;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows, CommCtrl, SysUtils, Classes,
Graphics, Dibs;
const
clrDefault = CLR_DEFAULT;
clrNone = CLR_NONE;
const
dsTransparent = ILD_TRANSPARENT;
dsNormal = ILD_NORMAL;
dsMask ... |
unit uProjetos;
interface
uses
System.Generics.Collections, System.SysUtils;
type
TProjeto = class
private
FValor: Currency;
FId: Integer;
FNome: String;
procedure SetValor(const Value: Currency);
public
property Id: Integer read FId write FId;
property Nome: String read FNome write FN... |
unit AddressNoteUnit;
interface
uses
REST.Json.Types, System.Generics.Collections, Generics.Defaults,
JSONNullableAttributeUnit, NullableBasicTypesUnit, GenericParametersUnit,
EnumsUnit;
type
/// <summary>
/// Address Note
/// </summary>
/// <remarks>
/// https://github.com/route4me/json-schemas/bl... |
unit Test.ModelsDTO;
interface
uses
Spring;
type
TAddressRecord = record
Street: string;
NumHouse: integer;
end;
TNewAddressRecord = record
Street: string;
Num_House: integer;
end;
TAddressDTO = class
private
FStreet: string;
FNumHouse: integer;
procedure SetNumHouse(const ... |
unit TestRouteSamplesUnit;
interface
uses
TestFramework, Classes, SysUtils, DateUtils,
BaseTestOnlineExamplesUnit;
type
TTestRouteSamples = class(TTestOnlineExamples)
private
published
procedure AddRoute;
procedure AddOrderToRoute;
procedure GetListByText;
procedure RemoveRou... |
unit IngAlertWindow;
interface
uses
Windows, SysUtils, Classes, Controls, Graphics, Forms, Types, ExtCtrls;
type
TPopupLocation = (plLeft, plRight);
TAlertDirection = (adNone, adUp, adDown);
TBackgroundStyle = (bgsAuto, bgsSolid, bgsVerticalGradient, bgsHorizontalGradient);
TVerticalAlignment = (taAlignT... |
unit Controller.Observer.Item;
interface
uses
Controller.Observer.Interfaces, System.Generics.Collections;
type
TControllerObserverItem = class(TInterfacedObject, iSubjectItem)
private
FList : TList<iObserverItem>;
public
constructor Create;
destructor Destroy; override;
class fun... |
unit InventionData;
interface
const
tidMSXML = 'msxml';
type
TInventionData =
class
public
constructor Create(url : string);
private
fRoot : OleVariant;
private
function GetAttr(name : string) : string;
function GetDesc : string;
... |
unit RemoveOptimizationResponseUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit;
type
TRemoveOptimizationResponse = class(TGenericParameters)
private
[JSONName('status')]
FStatus: boolean;
[JSONName('removed')]
FRemoved: Boolean;
public
property Status: boolean read FStatus ... |
{
File: HIToolbox/HIView.h
Contains: HIView routines
Version: HIToolbox-219.4.81~2
Copyright: © 2001-2005 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult the following page on
the World Wide Web:
http... |
unit CompressZlib;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Declarations for zlib functions & structures
$jrsoftware: issrc/Projects/CompressZlib.pas,v 1.5 2010/09/07 03:09:36 jr Exp $
}
interface
uses
Window... |
program Demo2;
{$APPTYPE CONSOLE}
var
i: Integer;
begin
for i := 0 to 10 do
WriteLn('Hello ', i);
end. |
unit uFiltroSolicitacao;
interface
uses uFiltroCliente, System.SysUtils;
type
TFiltroSolicitacao = class
private
FIdTipo: string;
FIdAnalista: string;
FIdModulo: string;
FIdProduto: string;
FIdCliente: string;
FIdUsuarioAbertura: string;
FDataFinal: string;
FDataInicial: string;
... |
unit NotesDialog;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TNotesOptions = (nopReadOnly, nopReadWrite, nopWriteAll, nopTemplate);
TNotesDialog = class(TComponent)
private
FNoteOption: TNotesOptions;
FNotes: string;
FNewNote: string... |
unit mr_StrUtils;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
//
// Notes:
//
// Ported from the UtStr unit.
//
// Old functions: Use instead:
//
// - UpCaseStr: UpperCase or AnsiUpperCase ( SysUtils )
// - LoCaseStr: LowerCase or AnsiLowerCase ( SysUtils )
// - Clean... |
unit GX_FavUtil;
{$I GX_CondDefine.inc}
interface
uses
Classes;
type
TFolderType = (ftNormal, ftSource, ftBitmap, ftGlyph, ftDocs);
TExecType = (etLoadInIDE, etShell, etCustom, etProject);
TGXFile = class; // forward
TGXFolder = class; // forward
TGXFavItem = class
private
FOwn... |
unit uNFeComandos;
interface
uses
Classes, SysUtils;
procedure EnviaNFe(AServidor, ACnpj: string; ANFe: TStream; var ARecibo,
ANroProtocolo, AChaveAcesso: string; AContingencia, AConvTXT2XML: Boolean;
var ACodigoErro: integer; var AMensagemErro: string);
function EnviarNFe(AServidor, ACnpj: string; ANFe: TStr... |
unit MyStrUtils;
interface
uses sgTypes;
{$ifndef FPC} // Delphi land
function ExtractDelimited(index: integer; value: string; delim: TSysCharSet): string;
{$endif}
function CountDelimiter(value: String; delim: Char): LongInt;
function CountDelimiterWithRanges(value: String; delim: Char): LongInt;
fun... |
unit EasyUpdateMailForm;
interface
uses
Windows
, Buttons
, Classes
, Controls
, ExtCtrls
, Forms
, StdCtrls
//
, LocaleMessages
;
type
TEasyUpdateMailForm = class(TForm)
f_MainPanel: TPanel;
f_InformationMemo: TMemo;
f_MailFromLabel: TLabel;
f_MailFromEdit: TEdit;
f_MailToLabel: TLabel;
... |
unit linear_eq;
interface
uses classes,variants,VariantWrapper,littleFuncs;
type
TSLEQStatus = (slOneSolution,slNoSolution,slManySolutions);
IEquationNode=interface //отобразить красиво свое значение, чтоб не заморачивать
['{5E7FBCDD-61C6-4860-8AFC-F8B2F47B439E}']
//интерфейс решения лин. уравнений
function Show... |
unit module;
interface
uses
Forms, Dialogs, SysUtils, Classes, DB, ADODB, IniFiles;
type
TDm = class(TDataModule)
sqlCity: TADOQuery;
ADOConnection1: TADOConnection;
procedure DataModuleCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
... |
unit Control.CadastroGeral;
interface
uses System.SysUtils, FireDAC.Comp.Client, Forms, Windows, Common.ENum, Control.Sistema, Model.CadastroGeral;
type
TCadastrosControl = class
private
FCadastro : TCadastroGeral;
public
constructor Create();
destructor Destroy(); override;
property Cadastro: ... |
unit MFichas.Model.Pagamento.Formas.Dinheiro;
interface
uses
MFichas.Model.Pagamento.Interfaces,
MFichas.Model.Pagamento.Formas.Dinheiro.Estornar,
MFichas.Model.Pagamento.Formas.Dinheiro.Processar;
type
TModelPagamentoFormasDinheiro = class(TInterfacedObject, iModelPagamentoMetodos)
private
[weak]
... |
unit uKeyValue;
interface
type
IKeyValue = interface(IInterface)
['{D737DB46-298F-4A8E-9311-1E861E31FF91}']
function GetKey: Variant; stdcall;
function GetValue: Variant; stdcall;
procedure SetKey(const Value: Variant); stdcall;
procedure SetValue(const Value: Variant); stdcall;
property Key: ... |
{******************************************************************************}
{ CnPack For Delphi/C++Builder }
{ 中国人自己的开放源码第三方开发包 }
{ (C)Copyright 2001-2008 CnPack 开发组 }
{ ... |
unit m3Endings;
interface
uses
m3EndingReplaceList;
procedure InitEndings(const aBasePath: AnsiString);
implementation
Uses
l3Memory, l3FileUtils,
m0LngLib,
ZipForge, SysUtils, Classes;
const
gBasePath: AnsiString = '';
const
cZipName = 'scdata.zip';
cERFileName = 'endings.txt';
function m3LoadEndings... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.Lists
Description : Generic Lists functions
Author : Kike Pérez
Version : 1.2
Created : 04/11/2018
Modified : 12/03/2020
This file is part of QuickLib: ... |
unit UManipulacaoINI;
interface
uses
FireDAc.Comp.Client, System.SysUtils, System.IniFiles;
type
vtTipoRetono = (vtpDB , vtpHOST);
type
TManipulacaoINI = class(TObject)
private
FServidor : String;
FUsuario : String;
FSenha : String;
FPorta : Integer;
... |
program exFunction;
var
a,b, ret : integer;
c : string;
function max(num1, num2: integer): integer;
var
(* local variable declaration *)
result: integer;
begin
if (num1 > num2) then
result := num1
else
result := num2;
max := result;
end;
begin
c := max(a,b)
end.
|
unit uSettlementARAP;
interface
uses
uModel, uAR, uSupplier, System.SysUtils, System.Generics.Collections;
type
TSettlementARAPItemAR = class;
TSettlementARAPItemAP = class;
TSettlementARAP = class(TAPPobject)
private
FKeterangan: string;
FNoBukti: string;
FSettlementARAPItemAPs: TObjectList<T... |
unit RemoveUserRequestUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit;
type
TRemoveUserRequest = class(TGenericParameters)
private
[JSONName('member_id')]
FMemberId: integer;
public
constructor Create(MemberId: integer); reintroduce;
end;
implementation
constructor TRemoveUserRe... |
unit ColdStorage;
interface
uses
Warehouses, Kernel, Surfaces, WorkCenterBlock, BackupInterfaces, CacheAgent;
type
TMetaColdStorage =
class(TMetaWarehouse)
public
constructor Create(anId : string;
aCapacities : array of TFluidValue;
... |
unit NtUtils.Tokens;
interface
uses
Winapi.WinNt, Ntapi.ntdef, Ntapi.ntseapi, NtUtils.Exceptions,
NtUtils.Security.Sid, NtUtils.Security.Acl;
{ ------------------------------ Creation ---------------------------------- }
// Open a token of a process
function NtxOpenProcessToken(out hToken: THandle; hProcess: TH... |
unit evCellsWidthCorrecter;
{* Инструмент для выравнивания границ ячеек. }
// Модуль: "w:\common\components\gui\Garant\Everest\evCellsWidthCorrecter.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevCellsWidthCorrecter" MUID: (4F2B767D015E)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
inter... |
unit MsSqlDBManager;
interface
uses
Classes, iniFiles, DB, Variants, HashMap, DCL_intf, ADODB, StrUtils,
SysUtils, DBManager, DBTables, QueryReader, Data.SqlExpr;
const
MSSQL_SQL_CREATE = 'if db_id(''%s'') is null begin create database %s end;';
MSSQL_SQL_DROP = 'drop database %s;';
MSSQL_SQL_BACKUP = 'bac... |
unit WinSockRDOServerClientConnection;
interface
uses
SmartThreads,
Classes,
ComObj,
Windows,
RDOInterfaces,
SocketComp,
SyncObjs;
type
TWinSockRDOServerClientConnection =
class( TInterfacedObject, IRDOConnection, IRDOServerClientConnection )
public
constru... |
unit db_add_account_test;
interface
uses
DUnitX.TestFramework,
encrypter,
add_account,
delphi.mocks,
db_add_account;
type
ISutType = interface
['{6B289352-E5CA-4F63-845F-523EC2A99E86}']
function Sut: IAddAccount;
function EncrypterStub: TMock<IEncrypter>;
end;
TSutType = class(TInterfac... |
{
\file DGLE_Types.pas
\author Korotkov Andrey aka DRON
\version 2:0.3.1
\date 17.11.2014 (c)Korotkov Andrey
\brief Engine types definition header.
This header is a part of DGLE_SDK.
}
unit DGLE_Types;
interface
{$I include.inc}
{$IFNDEF DGLE_TYPES}
{$DEFINE DGLE_TYPES}
{$ENDI... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: Angus Robertson, Magenta Systems Ltd
Description: One Time Password support functions, see RFC2289/1938 (aka S/KEY)
Creation: 12 November 2007
Updated: 06 August 2008
Version: 1.06
EMail: francois.... |
PROGRAM d1a;
USES sysutils;
FUNCTION answer(filename:string) : longint;
VAR
f: text;
l: string;
elf_total_calories: longint = 0;
BEGIN
answer := 0;
assign(f, filename);
reset(f);
REPEAT
readln(f, l);
IF l <> '' THEN elf_total_c... |
unit nsUtils;
{------------------------------------------------------------------------------}
{ Библиотека : Бизнес слой проекта "Немезис"; }
{ Автор : Морозов М.А; }
{ Начат : 29.09.2005 12.42; ... |
unit group;
interface
uses crt,lgarray,IOunit;
const
MAXGRPLEN = 30;
MAXGRP = 40;
type
grouprectype = record
index:integer;
name:string[MAXGRPLEN]
end;
grouptype = record
size:integer;
data:array[1..MAXGRP] of grouprectype
end;
Procedure saveg... |
unit NodeLayouteForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OkCancel_frame, DB, FIBDataSet, pFIBDataSet, DBGridEh, StdCtrls,
DBCtrls, Mask, DBCtrlsEh, DBLookupEh, CnErrorProvider, FIBQuery,
PrjConst, System.UITypes;
type
TNodeLayoutItem = reco... |
program Registros;
type
str20 = string[20];
alumnoDestacado = record
nombre : str20;
promedio : real;
end;
alumno = record
codigo : integer;
nombre : str20;
promedio : real;
destacado : alumnoDestacado;
end;
procedure comprobarMaximo(var alu :... |
unit uAtualizacaobancoDeDados;
interface
uses System.Classes,
Vcl.Controls,
Vcl.ExtCtrls,
Vcl.Dialogs,
ZAbstractConnection,
ZConnection,
ZAbstractRODataset,
ZAbstractDataset,
ZDataset,
System.SysUtils;
type TAtualizabancoDeDados = class
private
public
ConexaoDB:TZ... |
unit nsDictionTree;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Diction"
// Автор: Тучнин Д.А.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Diction/nsDictionTree.pas"
// Начат: 2004/02/20 08:36:17
// Родные Delph... |
program memoria;
type
docente = record
dni :integer;
nombre :string;
apellido :string;
email :string;
end;
escuela = record
nombre :string;
cantidadAlumnos :integer;
end;
proyecto = record
codigo :integer;
titulo :string;
do... |
unit nsUserDataObject;
{* Объект данных для нод дерева пользователей }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Admin\nsUserDataObject.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsUserDataObject" MUID: (49F56C06023C)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$I... |
unit l3StringEx;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3StringEx - }
{ Начат: 16.02.2000 16:50 }
{ $Id: l3StringEx.pas,v 1.61 2016/04/20 10:24:48 lulin Exp $ }
// $Log: l3StringEx.pas,v $
// Revision 1.61 2016/04/20 10:24:48 lulin
// - ... |
inherited dmLctoBancarios: TdmLctoBancarios
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO STWCPGTLANB'
' (BANCO, AGENCIA, CONTA, DT_LANCAMENTO, TIPO_DOCUMENTO, DOCUMEN' +
'TO, VL_DOCUMENTO, DC, DESCRICAO, HISTORICO, CENTRO_CUSTO, CONTA_... |
unit lstr;
{ This is the unit for the longstr datatype. All procedures and functions
are of the form lstrXXX. The longstr datatype is a string that can be between
0 and 65520 characters. Memory is allocated as needed as string grows
}
interface
type
lstrarraytype = array[0..65519] of char;
lstrptrt... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit DuplicateRouteUnit;
interface
uses SysUtils, BaseExampleUnit, NullableBasicTypesUnit;
type
TDuplicateRoute = class(TBaseExample)
public
function Execute(RouteId: String): NullableString;
end;
implementation
uses RouteParametersQueryUnit;
function TDuplicateRoute.Execute(RouteId: String): Nulla... |
{
Demo unit of TLS request by means of WinAPI SChannel
(c) Fr0sT-Brutal
License MIT
}
unit SChannelSocketRequest;
interface
uses
Forms, Winapi.Windows, System.SysUtils, WinSock, Classes, StrUtils,
SChannel.JwaWinError, SChannel.JwaSspi, SChannel.Utils, SChannel.SyncHandshake;
type
TReqResult = (resConn... |
unit UFrameUDPLine;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Comctrls, Contnrs, StdCtrls, IniFiles, NMUDP, UTreeItem, UPRT_UDP, UPRT_Liner;
type
TFrameUDPLine = class(TFrame)
GroupBox2: TGroupBox;
Memo: TMemo;
gbStat: TGroupBox;
LabelStatSec: TLab... |
unit mos6526_old;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}dialogs,sysutils,cpu_misc,main_engine;
type
mos6526_chip=class
constructor create(clock:dword);
destructor free;
public
tod_clock:word;
pa,pb,pra,prb:byte;
joystick1,joystick2:byte;
procedure reset;
functi... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2017 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit Frame.Watches;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
System.Messaging,
FMX.Types,
FMX.Graphics,
FMX.Controls,
FMX.Forms,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Controls.Presentation;
type
TFrameWatches = class(TFrame)
LabelInstruct... |
namespace Sugar.Legacy;
{$HIDE W0} //supress case-mismatch errors
interface
uses Sugar;
// all methods in this module are one-based, as they are for Delphi compatibility.
method &Copy(aString: String; aStart, aLength: Int32): String;
method Pos(aSubString: String; aString: String): Int32;
implementa... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.WMI
Description : Common functions
Author : Kike Pérez
Version : 1.1
Created : 04/04/2019
Modified : 22/04/2020
This file is part of QuickLib: https://g... |
Unit FCache;
interface
{ ---------------------- File Cache -------------------------- }
{ implements a simple file cache and mimic C getc and ungetc
functions. }
const
BufMemSize = 4096;
EOF = ^Z;
type
Cache = record
active : boolean;
BildOffset : LongInt;
Buffer : array[0..BufMemSize-1] of ... |
unit NewBaseSearch_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, vg_scene, vg_objects, vg_controls, vg_listbox, vg_layouts,
OvcBase, afwControlPrim, afwBaseControl, afwControl, nevControl,
evCustomEditorWindowPrim, evEditorWindow, evCustomEditorWindow... |
UNIT ModLCGRandom;
INTERFACE
FUNCTION RandInt() : INTEGER;
FUNCTION RandBetween(l, u : INTEGER) : INTEGER;
FUNCTION RandBetweenDiv(l, u : INTEGER) : INTEGER;
PROCEDURE InitLCG(randSeed : INTEGER);
IMPLEMENTATION
CONST
a = 48721;
c = 1;
m = 32768; (*2 ^ 16*)
VAR
x: LONGINT;
FUNCTION RandInt : INTEGE... |
program CSVtoSQL;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, sqlite3conn, sqldb, db;
type
{ TCSVtoSQL }
TCSVtoSQL = class(TCustomApplication)
protected
procedure DoRun; override;
public
constructor Create(TheOwner: TComp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.