text stringlengths 14 6.51M |
|---|
unit ncsMessageInterfaces;
// Модуль: "w:\common\components\rtl\Garant\cs\ncsMessageInterfaces.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "ncsMessageInterfaces" MUID: (5460A4DB018A)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, CsCommon
... |
unit SubViewer;
interface
const
SUBVIEWER_TIME = '([0-9]{2}:){2}[0-9]{2}.[0-9]{2},([0-9]{2}:){2}[0-9]{2}.[0-9]{2}';
OPENTAG = '\[|\(';
CLOSETAG = '\]|\)';
function RemoveSubViewer(Filename: string): boolean;
function RemoveSubViewerTagsFromLine(sLine:string): string;
implementation
uses
... |
unit ActivityActionsUnit;
interface
uses
SysUtils, BaseActionUnit,
ActivityRequestUnit, ActivityParametersUnit, ActivityUnit, EnumsUnit;
type
TActivityActions = class(TBaseAction)
public
/// <summary>
/// Create User Activity. Send custom message to Activity Stream.
/// </summary>
/// <return... |
unit TTSSemTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSSemRecord = record
PUserName: String[10];
PSemNum: Integer;
End;
TTTSSemBuffer = class(TDataBuf)
protected
function PtrIndex(Index:integer):Pointer;override;
public
Data:... |
unit ScoreboardMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
Data.Bind.GenData, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, Fir... |
unit Benjamim.Payload;
interface
uses
{$IF DEFINED(FPC)}
Classes, fpjson, SysUtils, DateUtils,
{$ELSE}
System.Classes, System.JSON, System.SysUtils, System.DateUtils, System.NetEncoding,
{$ENDIF}
Benjamim.Utils, Benjamim.Payload.Interfaces;
type
TPayload = class(TInterfacedObject, iPayload)
class f... |
unit viewporter_protocol;
{$mode objfpc} {$H+}
{$interfaces corba}
interface
uses
Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol;
type
Pwp_viewporter = Pointer;
Pwp_viewport = Pointer;
const
WP_VIEWPORTER_ERROR_VIEWPORT_EXISTS = 0; // the surface already has a viewport objec... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1997 Paolo Giacomuzzi }
{ Copyright (c) 1998-2003, EldoS Corporatio... |
(* SortPgm: XX, 16.01.2019 *)
(* ------- *)
(* some sorting algorithms with tests *)
(*===============================================*)
PROGRAM SortPgm;
USES
Timer;
CONST
maxArrLen = 20;
TYPE
ArrayType = ARRAY[1..maxArrLe... |
unit uSettings;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, Registry;
type
TfSettings = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Panel1: TPanel;
edFileName: TEdit;
Button1: TButton;
Label1: TLabe... |
{ ***************************************************************************
Copyright (c) 2016-2017 Kike Pérez
Unit : Quick.Base64
Description : Base64 functions
Author : Kike Pérez
Version : 1.1
Created : 08/11/2017
Modified : 14/08/2018
This file is part of QuickLib: https:... |
unit Pessoa;
interface
uses RttiUtils;
type
TOnSalvar = procedure (Sender : TObject) of object;
TPessoa = class
private
FIdade: Integer;
FNome: String;
FSalvar: TOnSalvar;
FEndereco: String;
procedure SetIdade(const Value: Integer);
procedure SetNome(const Value: Stri... |
unit TestCommonsU;
interface
uses
DUnitX.TestFramework;
type
TTestCommons = class(TTestCase)
private
FirstRec: Integer;
LastRec: Integer;
ExpectedFirstRec: Integer;
ExpectedLastRec: Integer;
Page: Integer;
published
procedure TestGetLimitByPagePage0;
procedure TestGetLimitByPageP... |
unit uRunCmd;
interface
uses
System.SysUtils, System.Classes, System.Generics.Collections, System.Types,
System.DateUtils,
Winapi.Windows
//
;
const
CMD_READ_INTERVAL = 1000;
type
TRunCmd = class(TThread)
private
FCmd: string;
FProcess: THandle;
FStdOutBuf: AnsiString;
FStdOutList:... |
unit GX_GxUtils;
{ This unit encapsulates a few utility routines that are
specific to GExperts.
Other units, such as GX_GenericUtils and GX_IdeUtils,
contain routines that do not make use of any GExperts-
specific functionality.
}
interface
{$I GX_CondDefine.inc}
uses
Graphics,
{$IFNDEF... |
unit Constants;
interface
uses Classes, IdGlobal, SysUtils;
type
MsgType = (
MsgTypeInvalid = 0, //Недопустимый тип пакета
MsgTypePing = 1,
MsgTypePong,
MsgTypeConfirm,
MsgTypeHello, //Запрос соединения
MsgTypeError, //Ошибка
MsgTypeBadSession, //Неактивная сессия
MsgTypeAcc... |
unit mdprottypes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, mdTypes;
type
{ funciton structures }
PMD_BEGIN = ^TMD_BEGIN;
TMD_BEGIN = record
dev: TMD_DEVICE_ID;
cmd: word;
len: word;
end;
{ function md_stop_all_rotors }
PMD_STOP_ALL_ROTORS_REQ = ^TMD_STOP_ALL_ROTORS_REQ;
TMD... |
{
This is one of my favorite design patterns. To use it you provide prototype
instances during construction. These will then be used to create clones in the
factory. This provides extensibility where you have no access to the code
(like a user-defined extension or plug-in).
}
unit Prototype;
interface
uses
... |
unit uClasse.Veiculo.Aereo.Helicoptero;
interface
uses
uClasse.Veiculo.Aereo, System.SysUtils, System.DateUtils;
type
THelicoptero = class(TAereo)
private
public
qtd_helices: integer;
possui_turbina: boolean; //tipo_aplicacao: militar/civil/resgate
function RetornaAplicacao... |
{-----------------------------------------------------------------------------
-----------------------回调函数转消息的基类和监控器---------------------------
-----------------------------------------------------------------------------}
unit VMsgMonitor;
interface
uses
Windows, Messages, SysUtils, Classes, Contnrs, TypInfo, Sync... |
unit uSupportLib;
interface
uses
Windows, DBClient, Classes, DB, Provider, SysUtils, DateUtils;
const
CrLf = #13#10;
function AppendMsg(var AMsg: String; const AStr: String): boolean;
function FillZeroesLeft(Str: string; Count: integer; Chr: Char) : string;
function GetComponentFromName(AOwner: TComponent; A... |
{*_* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: TMWDataSet component and TMWTable component
Creation: March 20, 1998
Version: 7.00
EMail: francois.piette@overbyte.be http://www.overbyte.be
Support: Use the mailing li... |
unit SelOrdenIB;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Buttons, Db;
type
TOrdenDlg = class(TForm)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
lbCampos: TListBox;
rgMetodo: TRadioGroup;
Label1: TLabel;
procedure FormCreate(Se... |
{ //************************************************************// }
{ // // }
{ // Código gerado pelo assistente // }
{ // // }
{ // Projeto MVCBr ... |
{
$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 Engine;
// "engine" of all application.
// It works in the main gui thread. Main logic is here, time to time it checks
// if there are commands to do (look into commands in BaseDevice.pas)
//
// Device will create an interrogation thread and produce data, the engine will
// get use this data to show in gui.... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSPRF.pas ... |
unit TcpInitUtils;
interface
function ParseAddress(AddressDesc: string): string;
procedure SaveIniAddress(AddressDesc, Address, AIniSection: string);
procedure SaveIniAccount(ABrokeId, Account: string);
implementation
uses
IniFiles, SysUtils;
function ParseAddress(AddressDesc: string): string;
var
... |
{ Subroutine SST_R_PAS_SMENT_PROG (STR_PROG_H)
*
* Process PROGRAM_STATEMENT syntax. We assume we stay in this program until
* a new PROGRAM statement. STR_PROG_H is the string handle to the
* PROGRAM_STATEMENT syntax.
}
module sst_r_pas_SMENT_PROG;
define sst_r_pas_sment_prog;
%include 'sst_r_pas.ins.pas';
... |
unit uFrmCadastrarCliente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Data.DB,
Vcl.Grids, Vcl.DBGrids, Vcl.ComCtrls, Cliente.controller, Cliente.model,
Cliente.dao;
type
TO... |
{=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=]
Copyright (c) 2013, Jarl K. <Slacky> Holta || http://github.com/WarPie
All rights reserved.
For more info see: Copyright.txt
[=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=}
{*
Returns a matrix containing... |
{Part 7 of regression test for SPECFUND unit (c) 2013 W.Ehrhardt}
unit t_sfd7;
{$i STD.INC}
{$ifdef BIT16}
{$N+}
{$ifndef Windows}
{$O+}
{$endif}
{$endif}
interface
procedure test_agm;
procedure test_bernpoly;
procedure test_lambertw;
procedure test_lambertw1;
procedure test_debye;
procedure test_li_in... |
{*********************************************************************
*
* 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... |
unit uServerMethods;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth,
System.JSON, uClienteCRUD, uCidades;
type
{$METHODINFO ON}
TServerMethods1 = class(TComponent)
private
{ Private declarations }
vloCliente : TClienteCRUD;
vloCidade : TCidades;
... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Collections,
Sugar.RegularExpressions,
RemObjects.Elements.EUnit;
type
RegularExpressionsTest = public class (Test)
private
const ContactNumbers: String = "Voice: (425) 555-1234. Fax: (206) 555-5678.";
const PhoneNumberPattern: String = "\((\d{3})... |
unit KM_Hand;
interface
uses
Windows, System.SysUtils,
KM_Consts, KM_HandAI_Ext, ExtAIInfo;
type
// Game class for Hand. It hides the ExtAI inside of it
TKMHand = class
private
fHandIndex: TKMHandIndex;
fAIExt: THandAI_Ext;
public
constructor Create(aHandIndex: TKMHandIndex); reintroduce;
d... |
(******************************************************************)
(* Structures for DelZip v1.7 *)
(* Copyright (C)1997-2004 E. W. Engler, C. Vleghert, M. Stephany *)
(* *)
(* written by Markus Stephany ... |
{
redis command
}
unit uRedisCommand;
interface
uses
Classes, SysUtils;
type
TRedisCommand = class
private
FCommandList: TStrings;
public
constructor Create(); virtual;
destructor Destroy; override;
function Clear(): TRedisCommand;
function Add(aValue: String): TRedisCommand; overload... |
unit evEditControl;
{* Базовый класс поля редактора }
// Модуль: "w:\common\components\gui\Garant\Everest\qf\evEditControl.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TevEditControl" MUID: (48D2409102B7)
{$Include w:\common\components\gui\Garant\Everest\evDefine.inc}
interface
uses
l3IntfUses
, evContro... |
unit uShapes;
interface
type
IHasArea = interface
function GetArea: Double;
property Area: Double read GetArea;
end;
TRectangle = class(TInterfacedObject, IHasArea)
private
FHeight: Double;
FWidth: Double;
function GetArea: Double;
public
constructo... |
unit BaseExampleUnit;
interface
uses
SysUtils, OutputUnit, IRoute4MeManagerUnit, IConnectionUnit;
type
TBaseExample = class abstract
private
FOutput: IOutput;
protected
Route4MeManager: IRoute4MeManager;
procedure WriteLn(Message: String);
public
destructor Destroy; override;
procedur... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: May 01, 2003
Version: 1.00 ALPHA
Description: A console mode application object for ICS
EMail: francois.piette@overbyte.be http://www.overbyte.be
francois.piette... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit MachineIndustry;
interface
uses
Kernel, Population, WorkCenterBlock, Surfaces, OutputEvaluators;
const
tidGate_LegalServ = 'LegalServ';
tidGate_CompServ = 'CompServ';
tidGate_Metals = 'Metals';
tidGate_Machinery = 'Machinery';
type
TMetaMachineIndustryBlock =
cla... |
unit VehicleControl;
interface
uses
Math, TypeControl, CircularUnitControl, VehicleTypeControl, VehicleUpdateControl;
type
TVehicle = class (TCircularUnit)
private
FPlayerId: Int64;
FDurability: LongInt;
FMaxDurability: LongInt;
FMaxSpeed: Double;
FVisionRange: Double;
FS... |
unit K604908954;
{* [Requestlink:604908954] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K604908954.pas"
// Стереотип: "TestCase"
// Элемент модели: "K604908954" MUID: (55D6EC680274)
// Имя типа: "TK604908954"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
unit NTFileSecurity;
{
TNTFileSecurity component for Delphi 4 (version 1.0)
----------------------------------------------------
Copyright (c) 1999 by David A. Bussey
Version Info
------------
v1.0
- Initial release.
There are still a few things that can be improved. If you have any suggestions
for improvements ... |
unit ScriptRunner;
{
Inno Setup
Copyright (C) 1997-2011 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Script runner
$jrsoftware: issrc/Projects/ScriptRunner.pas,v 1.34 2011/01/11 05:30:39 jr Exp $
}
interface
uses
uPSRuntime, uPSDebugger, uPSUtils;
... |
unit TestFeatureParser;
interface
uses
TestFramework, FeatureParser, FeatureParserIntf, dSpec, dSpecIntf, TestBaseClasses;
type
TestTFeatureParser = class(TParseContext)
strict private
FFeatureParser: IFeatureParser;
public
procedure SetUp; override;
procedure TearDown; override;
published
... |
unit Unit1;
interface
type
TElem = record
id: integer;
libelle: string[50];
coche: boolean;
end;
TListe = array of TElem;
function ajouter(libelle: string): integer;
procedure modifier(id: integer; libelle: string);
procedure supprimer(id: integer);
procedure cocher(id: integer);
... |
unit ucustomtranslation;
{$MODE Delphi}
interface
uses
SysUtils, Classes, Graphics, Controls, StdCtrls, ExtCtrls, Forms, Buttons,
Grids, MPHexEditor, ComCtrls, ToolWin, Dialogs;
type
TdlgEditCustomTranslation = class(TForm)
Button1: TButton;
Button2: TButton;
MPHexEditor1: TMPHexEditor;
ToolBa... |
unit UFormMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
StdCtrls, ExtCtrls, Dialogs, ExtDlgs, IniFiles,
ATPrintPreview,
ATxPrintProc, XPMan;
type
TFormMain = class(TForm)
OpenPictureDialog1: TOpenPictureDialog;
Panel1: TPanel;
btnOpen: TButton;
btnPre... |
unit ThostFtdcTraderApiDataDefine;
interface
const
/////////////////////////////////////////////////////////////////////////
///TFtdcDirectionType是一个买卖方向类型
/////////////////////////////////////////////////////////////////////////
///买
THOST_FTDC_D_Buy = '0';
///卖
THOST_FTDC_D_Sell = '1';
//////////////////////... |
unit UBigNum;
interface
uses
UOpenSSLdef, URawBytes;
type
TBigNum = Class
private
FBN : PBIGNUM;
procedure SetHexaValue(const Value: AnsiString);
function GetHexaValue: AnsiString;
procedure SetValue(const Value: Int64);
function GetValue: Int64;
function GetDecimalValue: AnsiString;
... |
PROGRAM Main (INPUT,OUTPUT);
BEGIN
WRITELN('MAIN');
END. |
unit m3SimpleDB;
{ Библиотека "M3" }
{ Автор: Люлин А.В. © }
{ Модуль: m3SimpleDB - }
{ Начат: 16.03.2009 16:11 }
{ $Id: m3SimpleDB.pas,v 1.3 2013/04/12 16:25:08 lulin Exp $ }
// $Log: m3SimpleDB.pas,v $
// Revision 1.3 2013/04/12 16:25:08 lulin
// - отлаживаем под XE3.
//
// Revision 1.2 2009/03/16... |
unit ddCustomIniStorage;
{* Базовый класс.
Ini-файлом НЕ владеет. Надо убивать его снаружи. }
// Модуль: "w:\common\components\rtl\Garant\dd\ddCustomIniStorage.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TddCustomIniStorage" MUID: (57A07B6903C1)
interface
uses
l3IntfUses
, l3ProtoObject
, ddConfigStorag... |
unit u_main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Gestures, Data.DB, MemDS, DBAccess,
FMX.Layouts, FMX.Memo, FMX.Objects, FMX.StdCtrls, FMX.Edit, LiteAccess,
Data.Bind.EngExt, Fmx.Bind.DBEngExt, Syst... |
program TESTTRAP ( OUTPUT ) ;
type XRECORD = record
RC : INTEGER ;
MESSAGE : CHAR ( 80 ) ;
end ;
var X : XRECORD ;
begin (* HAUPTPROGRAMM *)
WRITELN ( 'test trap 5 with record parameter' ) ;
TRAP ( 5 , X ) ;
WRITELN ( 'after trap' ) ;
end (* HAUPTPROGRAMM *) ... |
var
m:int64;
a,b,g,t:longint;
function gcd(a,b:longint):longint;
begin
if a mod b=0 then
gcd:=b
else gcd:=gcd(b,a mod b);
end;
begin
readln(a,b);
inc(b,a);
if a=0 then g:=b
else g:=gcd(b,a);
a:=a div g;
b:=b div g;
t:=0;m:=1;
while b>m do
begin
inc(t);
m:=m shl 1;
end;
if m<>... |
{ Subroutine SST_DTYPE_CONVERTABLE (DTYPE_IN,DTYPE_RES)
*
* Check whether the data type DTYPE_IN can be unambigously converted to
* the data type DTYPE_RES. It is illegal to build opcodes that imply a
* conversion that can not be done unambigously. It is up to each back end
* how to handle any such conversi... |
unit uUnitTestHeader;
interface
{$Include RfMemoryProfilerOptions.inc}
uses
Classes;
const
AMOUNT_OF_ALLOCATIONS = 2000;
PERFOMANCE_AMOUNT_OF_ALLOCATIONS = AMOUNT_OF_ALLOCATIONS * 100;
BUFFER_TEST_SIZE = 777;
BUFFER_TEST_REALOC_SIZE = 787;
SIZE_OF_INT = SizeOf(Integer);
PARITY_BYTE = 7777777;
GAP_... |
unit frmInIOCPRegister;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, iocp_clients;
type
TFormInIOCPRegister = class(TForm)
btnRegister: TButton;
ledtUserCode: TLabeledEdit;
ledtAddUser: TLabeledEdit;
ledtPassword: TLabele... |
{*****************************************************}
{ }
{ EldoS Themes Support Library }
{ }
{ (C) 2002-2003 EldoS Corporation }
{ http://www.eldos.com/ ... |
// ---------------------------------
// Truncated and converted GRADD.H
// ---------------------------------
unit GRADD;
interface
uses os2def;
{&cdecl+}
{
Prototype declarations for low level driver function call table.
}
type
CID = ULONG;
{ Chain ID }
GID = ULONG;
{ Gradd ID }
... |
unit FFSRPTSTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TFFSRPTSRecord = record
PCNumber: String[20];
PInstallDate: String[10];
PNumberOfRuns: Integer;
PRunNumberNow: Integer;
End;
TFFSRPTSBuffer = class(TDataBuf)
protected
fun... |
program P6f (Input, Output);
{Program to perform a variety of computations for
geometric figures; this version illustrates overall
program control using repeat.}
{uses Crt;}
var
FigureOption,
CalculationOption : Char; {Input Variables}
{**********************************************... |
unit ItfwCompilerWordsPack;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\ItfwCompilerWordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "ItfwCompilerWordsPack" MUID: (559BDDE30092)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts... |
program AskName(input, output);
var
response: string;
begin
writeLn('What is your name? ');
readLn(input, response);
writeLn('hello ', response, '!')
end. |
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// Yawara static site generator
// console unit
// create console application
// @author : Zendrael <zendrael@gmail.com>
// @date : 2013/10/20
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
unit untC... |
program newton(input, output);
const
EPSILON = 1E-6;
var
number, root : real;
begin
repeat
read(number);
if number < 0 then
writeln(number:5:6, ' does not have a real square root.')
else if number = 0
then writeln(0)
else
begin
root := 1;
repeat
root := (number / root + root) / 2;
u... |
unit Crack_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. }
{ Crack Library }
{ Version 1.0 }
interface
uses Windows, ActiveX, Cl... |
unit sdlwindow;
{
$Id: sdlwindow.pas,v 1.9 2006/10/22 18:55:25 savage Exp $
}
{******************************************************************************}
{ }
{ JEDI-SDL : Pascal units for SDL - Simple DirectMedia Layer ... |
{+--------------------------------------------------------------------------+
| Component: TmPasParser
| Created: 11.97
| Author: Martin Waldenburg
| Copyright 1997, all rights reserved.
| Description: A Pascal parser.
| Version: 1.91
| Status: FreeWare
| DISCLAIMER: This is prov... |
unit Solid.Samples.OCP.Streaming.Ok;
interface
uses
System.SysUtils;
type
{ IMeasurable }
IMeasurable = interface
['{D47A7A76-F058-4E36-89F5-F49F10926DAE}']
function GetLength: Integer;
function GetSent: Integer;
end;
{ TStreamingMusic }
TStreamingMusic = class(TInterfa... |
{
TForge Library
Copyright (c) Sergey Kasandrov 1997, 2018
-------------------------------------------------------
# GHash for GCM mode of operation
}
unit tfGHash;
{$I TFL.inc}
interface
uses
tfTypes;
type
PGHash = ^TGHash;
TGHash = record
private type... |
unit untHFiltreImage;
interface
uses
Windows, Forms, ExtCtrls, Controls, StdCtrls, Classes,
untCalcImage;
type
TfrmHFiltreImage = class(TForm)
bvbImages: TBevel;
imgPrevisualisation: TImage;
lblPrevisualisation: TLabel;
lblImage: TLabel;
btnOK: TButton;
btnAnnuler: TButto... |
unit Solid.Samples.SRP.BookRight;
interface
uses
System.SysUtils;
type
{ TBookEntity }
TBookEntity = class
private
FAuthor: string;
FPageCount: Integer;
FTitle: string;
function GetLocation: string;
procedure SetAuthor(const AValue: string);
procedure SetLocation(c... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clRequestEdit;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Messages, Forms, Menus, Classes, Controls, StdCtrls, ExtCtrls, ComCtrls,
Grids, Buttons, SysUtils, TypInfo, Graphics... |
unit UnitFDDatabase;
interface
uses SysUtils, UnitDataInterfaces, Data.DbxSqlite, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait,
FireDAC.Comp.Client, FireDAC.Stan.ExprFuncs... |
Unit VersionSupport;
{* Проверка на правильность номера версии }
{ Автор: Дудко Д.В. }
{ Модуль: VersionSupport}
{ Начат: 01.10.2002 }
{ $Id: VersionSupport.pas,v 1.7 2004/12/23 11:47:02 lulin Exp $ }
// $Log: VersionSupport.pas,v $
// Revision 1.7 2004/12/23 11:47:02 lulin
// - rename unit: User_Cfg -> l3IniFile.
... |
namespace Sugar.Threading;
interface
type
{$IF COOPER}
Semaphore = public class mapped to java.util.concurrent.Semaphore
public
method Leave; mapped to release;
method Leave(aReleaseCount: Integer); mapped to release(aReleaseCount);
method WaitOne; mapped to acquire;
method WaitOne(a... |
unit FFSColorLabel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, FFSTypes;
type
TFFSColorLabel = class(tlabel)
private
FFieldsColorScheme: TFieldsColorScheme;
procedure MsgFFSColorChange(var Msg: TMessage); message Msg_FFSColorChange;
... |
unit TokyoScript.Keywords;
{
TokyoScript (c)2018 Execute SARL
http://www.execute.Fr
}
interface
uses
System.SysUtils;
type
TKeyword = (
kw_None,
kwAnd,
kwArray,
kwAs,
kwBegin,
kwCase,
kwChr,
kwClass,
kwConst,
kwConstructor,
kwDestructor,
... |
unit MLInt;
interface
uses MLObj;
type
MLInteger = ^MLIntegerObj;
MLIntegerObj = object(MLObjectObj)
constructor init(val : integer);
(* destructor done; virtual; *)
function asString : string; virtual;
function isEqualTo(o : MLObject) : boolean; virtual;
function isLess... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
UNIT ReadingWords;
INTERFACE
FUNCTION ReadWord(VAR Word: STRING): STRING; { Читает из INPUT слово в Word, возвращает его }
IMPLEMENTATION
CONST
ValidSymbols = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S... |
unit SharedTimer;
interface
uses
Windows, Classes, TimerUtils, NumUtils, ListUtils;
type
ITickeable =
interface
procedure Tick;
function Enabled : boolean;
function Interval : integer;
end;
type
PClientList = ^TClientList;
TClientList =
class
... |
unit Control.LogradourosCEP;
interface
uses FireDAC.Comp.Client, Common.ENum, Model.LogradourosCEP;
type
TLogradourosCEPControl = class
private
FLogradourosCEP: TLogradouroCEP;
public
constructor Create;
destructor Destroy; override;
function Gravar: Boolean;
function Localizar(aParam: arra... |
unit UnitUserSel;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, cxControls, cxContainer, cxEdit, cxTextEdit,
cxMaskEdit, cxDropDownEdit, cxLookupEdit, cxDBLookupEdit,
cxDBLookupComboBox, ExtCtrls, RzButton, Menus, JvComponentBase,
JvFormPlacemen... |
{ @author: Lara Carrión }
program Sudoku;
USES crt;
TYPE
TIndice = 1..9;
TValorJuego = 0..9;
TValorSolucion = 1..9;
TDim = 1..3;
tIndiceRegion = 1..3;
{-----------------------}
TTableroJuego = array [TIndice,TIndice] of TValorJueg... |
unit kwProcedure;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwProcedure.pas"
// Начат: 04.05.2011 12:24
// Родные Delphi интерфейс... |
unit UtilsUnit;
interface
uses
Windows, Classes, SysUtils, System.Generics.Collections, Generics.Defaults, CommonTypesUnit;
type
TUtils = class
public
/// <summary>
/// Convert DateTime to Unix epoch time
/// </summary>
class function ConvertToUnixTimestamp(Date: TDateTime): int64;
class fu... |
{**************************************************************************************************************************
* Classe/Objeto : TAbrangenciaExpressasControl
* Finalidade : Módulo controller da classe TAbrangenciaExpressas
* Nível : Controller
* Autor : Celso Mutti
* Data : 12/0... |
program prime(input, output);
var
number : integer;
function isPrime(n : integer) : boolean;
var
soFarPrime : boolean;
candidate : integer;
begin
soFarPrime := TRUE;
for candidate := 2 to (n - 1) do
if (n mod candidate = 0) then
soFarPrime := FALSE;
isPrime := soFarPrime
end;
procedure printP... |
{*******************************************************************************
作者: dmzn@163.com 2011-11-30
描述: 商品订单收货明细
*******************************************************************************}
unit UFormProductBillDeal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, ... |
unit tfwMainDictionary;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\tfwMainDictionary.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TtfwMainDictionary" MUID: (55A0005D02CC)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If NOT Defined(NoScripts)}
uses
l3IntfUse... |
{
$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 System.Classes.Helper;
interface
uses System.Classes, System.SysUtils;
Type
IFireEventProc = interface
['{BBC08E72-6518-4BF8-8BEE-0A46FD8B351C}']
procedure SetOnEvent(const Value: TProc<TObject>);
procedure FireEvent(Sender: TObject);
end;
TObjectExt = class(System.TObject)
private
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.