text stringlengths 14 6.51M |
|---|
unit uUtils;
interface
type
TCharSet = set of Char;
function ValidateObj(Obj: TObject): Pointer;
function IsPathRelative(APath: string): boolean;
function AddPathDelim(APath: string): string;
function ObjectToVariant(const AObject: TObject): Variant;
function WordPosition(const N: Integer; const S: str... |
unit glr_render2d;
{$i defines.inc}
interface
uses
glr_render, glr_scene, glr_math, glr_utils;
type
{ TglrSprite }
TglrSprite = class (TglrNode)
protected
fRot, fWidth, fHeight: Single;
fPP: TglrVec2f;
fTextureRegion: PglrTextureRegion;
procedure SetRot(const aRot: Single); virtual;
p... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clMenuButton;
interface
{$I ..\common\clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Windows, Messages, SysUtils, Classes, Controls, StdCtrls, Menus, Graphics;
{$ELSE}
Winapi.Windows, Winapi.Messages, S... |
unit Redactions_Form;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "View"
// Автор: Крылов М.А.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/View/Document/Forms/Redactions_Form.pas"
// Начат: 2003/06/20 06:51:14
//... |
unit FmTreeSearch;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, VirtualTrees;
type
TFmVirtualTreeSearch = class(TForm)
edtQuery: TLabeledEdit;
lbNodes: TListBox;
lblF... |
unit vcmToolbarMenuRes;
// Модуль: "w:\common\components\gui\Garant\VCM\implementation\vcmToolbarMenuRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "vcmToolbarMenuRes" MUID: (4B9777000394)
{$Include w:\common\components\gui\Garant\VCM\vcmDefine.inc}
interface
{$If NOT Defined(NoVCM)}
uses
l3IntfUses
, l3... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit calc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, AppEvnts, Unit2, Unit3, Unit4, Unit1;
type
TForm1 = class(TForm)
Label1: TLabel;
LabelUserName: TLabel;
ApplicationEvents1: TApplicationEvents;
procedure FormCreate(Sender: TO... |
unit m_dbgrid;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DBGrids;
type
{ TMariaeDBGrid }
TMariaeDBGrid = class(TDBGrid)
private
FChanged: Boolean;
procedure SetChanged(AValue: Boolean);
protected
public
constructor Create(MO... |
unit pgResultSet;
// Модуль: "w:\common\components\rtl\Garant\PG\pgResultSet.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TpgResultSet" MUID: (560B961401E4)
{$Include w:\common\components\rtl\Garant\PG\pgDefine.inc}
interface
{$If Defined(UsePostgres)}
uses
l3IntfUses
, l3ProtoObject
, daInterfaces
, Li... |
unit bprSync;
interface
{$ifndef FPC}
uses
Windows;
{$else}
{$mode delphi}{$h+}
{$endif}
type
TBugReportCriticalSection = class(TObject)
public
constructor Create; virtual; abstract;
procedure Lock; virtual; abstract;
procedure Unlock; virtual; abstract;
end;
TBugReportCriticalSectionClass = c... |
unit Keras.PreProcessing;
interface
uses System.SysUtils, System.Generics.Collections,
PythonEngine, Keras,Models,Python.Utils,
Keras.Layers;
type
TSequenceUtil = class(TBase)
public
caller : TPythonObject;
constructor Create;
function PadSequences(sequences : TNDarra... |
{ 2020/05/11 5.01 Move tests from unit flcTests into seperate units. }
{$INCLUDE flcTCPTest.inc}
{$IFDEF TCPCLIENT_TEST_TLS}
{$DEFINE TCPCLIENT_TEST_TLS_WEB}
{$ENDIF}
unit flcTCPTest_ClientTLS;
interface
{ }
{ Test ... |
unit UPedidoServiceImpl;
interface
uses
UPedidoServiceIntf, UPizzaTamanhoEnum, UPizzaSaborEnum,
UPedidoRepositoryIntf, UPedidoRetornoDTOImpl, UClienteServiceIntf;
type
TPedidoService = class(TInterfacedObject, IPedidoService)
private
FPedidoRepository: IPedidoRepository;
FClienteService: IClienteServ... |
unit ufrmGo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Winapi.ActiveX;
type
TDropFilesEvent = procedure(Sender: TObject; const FileNames: array of String) of object;
TWndProcEvent = procedure(Sender: TObject; var... |
unit UserParameterProviderUnit;
interface
uses SysUtils, UserParametersUnit;
type
IUserParameterProvider = interface
['{7B95CC9E-20C4-446E-BCC8-544D45AAA155}']
function GetParameters(Email: String): TUserParameters;
end;
TUserParameterProvider = class(TInterfacedObject, IUserParameterProvider)
publi... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ *********************************************************** }
unit tfNumerics;
{$I TFL.inc}
{$IFDEF TFL_LIMB32}
... |
unit SelectLenderForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Buttons, Grids, AdvGrid, FFSAdvStringGrid, TCWODT, RXCtrls,
sBitBtn; //uFreeLocalizer
type
TfrmSelectLender = class(TForm)
grdLender: TFFSAdvStringGrid;
... |
unit kwClearTemplateStorage;
{* Очищает данные для 'Текстового шаблона' }
// Модуль: "w:\archi\source\projects\Archi\Archi_Insider_Test_Support\kwClearTemplateStorage.pas"
// Стереотип: "ScriptKeyword"
// Элемент модели: "ClearTemplateStorage" MUID: (53B647A9029B)
// Имя типа: "TkwClearTemplateStorage"
{$Include w:\... |
unit uLicencaController;
interface
uses
System.SysUtils, uDMOrcamento, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms,
uFiltroOrcamento, Data.DBXJSON, Data.DBXJSONReflect, uUsuario, uParcelas, uOrcamentoVO,
uFormaPagtoVO, uObsevacaoController, uConverter, System.Generics.Collections,
uOrcamentoEmailVO, uGeneri... |
unit infosistemas.business.address;
interface
uses
System.Classes, System.SysUtils, Rest.Client, System.Json;
type
TAddressUtils = class(TObject)
private
const
sUrl: string = 'https://viacep.com.br/ws/'; //do not localize!
sCepParam: string = '%s/json'; //do not localize!
var
FCep, FLogrado... |
unit Eagle.ERP.{ModuleName}.Model.Repository.Impl.{ModelName}Repository;
interface
uses
System.SysUtils,
Spring,
Spring.Container,
Spring.Container.Common,
Eagle.ERP.Common.DB.Connection,
Eagle.ERP.{ModuleName}.Model.Repository.{ModelName}Repository,
Eagle.ERP.{ModuleName}.Model.Entity.{M... |
unit MyLib;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Process;
procedure fun_StrToCommandLine (var cmd: string); // Процедура для передачи команды Командной строке Linux в качестве строки
implementation
{Процедура для передачи команды Командной строке Linux в качестве строки}
procedure fun_StrToCom... |
unit nsBaseTagNode;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "f1DocumentTagsImplementation"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/f1DocumentTagsImplementation/nsBaseTagNode.pas"
// Н... |
program ejercicioPractico1;
const
Df = 2400; // alumnos
type
str40 = String[40];
alumno = record
apellido : str40;
dni : Integer;
cantCursadasAprobadas : Integer;
cantFinalesAprobados : Integer;
notaPromedio : Real;
end;
procedure leerAlumno(var a:alumno);
begin
with a do
begin
write('Ingrese APELL... |
unit UStore;
interface
uses Classes, FileScanner, UGitIgnore;
type
TFileInfoSaver = class(TObject)
private
FBasePath : string;
FScanner : TFileScanner;
FIgnoreList : TGitIgnore;
FList : TStrings;
FTzBias : Integer;
procedure FoundHandler(Sender:TObject; const F... |
unit SearchVendorsUnit;
interface
uses SysUtils, Classes, BaseExampleUnit, EnumsUnit;
type
TSearchVendors = class(TBaseExample)
public
procedure Execute(Size: TVendorSizeType; IsIntegrated: Boolean;
Feature, Country, Search: String; Page, PerPage: Integer);
end;
implementation
uses NullableBasic... |
unit pirates_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
sound_engine,oki6295,misc_functions;
function iniciar_pirates:boolean;
implementation
const
//Pirates
pirates_rom:array[0..1] of tipo_roms=(
(n:'r_44... |
unit fmWorkstations;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
ADC.Types;
type
TForm_Workstations = class(TForm)
Label_Hint: TLabel;
Label_Choice: TLabel;
GroupBox_Workstation... |
unit MetaInstances;
interface
uses
ClassStorageInt, Classes, Languages
{$IFNDEF CLIENT}
, CacheAgent;
{$ELSE}
;
{$ENDIF}
type
// MetaIntances are objects to be collected in the ClassStorage. They act as
// classes of other objects. Important features:
// Id : string
// ... |
unit vcmBaseOperationsCollection;
{* Коллекция операций. }
{ Библиотека "vcm" }
{ Автор: Люлин А.В. © }
{ Модуль: vcmBaseOperationsCollection - }
{ Начат: 19.11.2003 13:15 }
{ $Id: vcmBaseOperationsCollection.pas,v 1.27 2011/07/29 15:08:37 lulin Exp $ }
// $Log: vcmBaseOperationsCollection.pas,v $
// Revis... |
unit TransferFields;
interface
Uses SchObject, SysUtils;
Type
TSchGenericField = class( TSchObject )
private
__String : String;
__Integer : Integer;
__TDateTime : TDateTime;
__Boolean : Boolean;
... |
Program a5;
{ This program compares sorting methods.
Your job is to fill in code for the Radix Sort procedure below}
uses QueueADT;
const MAX = 10000;
type
KeyType = integer;
ArrayIndex = 1..MAX;
SortingArray = array[ArrayIndex] of KeyType;
(************************************ HEAP SORT ****... |
{ Subroutine SST_R_PAS_SMENT_ROUT (STR_ALL_H)
*
* Process the ROUTINE_HEADING syntax and put the appropriate information into
* the symbol table. STR_ALL_H is the string handle to the whole
* ROUTINE_HEADING syntax.
}
module sst_r_pas_SMENT_ROUT;
define sst_r_pas_sment_rout;
%include 'sst_r_pas.ins.pas';
proc... |
unit GameUnit;
// And explanation of scoring that I can understand
// https://www.thoughtco.com/bowling-scoring-420895
interface
type
IBowlingGame = Interface
['{6F4E6568-9CEC-4703-A544-1C7ADA4D38F9}']
procedure StartGame;
function AddPlayer(const Name: String; DisplayInSingleLine: Boolean): I... |
unit ProgTypes;
interface
const
ProfileDir = 'Profiles\Engineer\';
ProfileFile = 'eng1280.dat';
type
{Scadus function prototypes}
TScadusProc = procedure;
{library's function prototypes}
TLibExeFnc = function(Idx: integer): byte; stdcall;
TLibCntFnc = function: integer; stdcall;
TLibNameFnc = fun... |
{ Subroutine SST_W_C_POS_PUSH (STYPE)
*
* Push the state for the current statement on the stack, and set up the
* output writing state for a previous position. STYPE is the type of statement
* that will be written at the new position. It is used to decide where to
* re-position to. Supported statement type... |
{====================================================}
{ }
{ EldoS Visual Components }
{ }
{ Copyright (c) 1998-2003, EldoS Corporation }
{ ... |
program ch9(input, output, data8, out8);
{
Chapter 8 Assignment
Alberto Villalobos
March 28, 2014
Description: Read lines from a file, in which
each line contains first a code letter, followed
by four numbers. The codes are S, C and A, meaning
Sum of Squares, Sum of Cubes and Average of Squares.
The values do... |
unit fcEvaluator;
interface
uses Classes, SysUtils, fcCommon;
type
TOperator = (opMultiply, opDivide, opAdd, opSubtract);
TOperators = set of TOperator;
TfcEvaluator = class
protected
class function GetOperands(s: string; Operators: TOperators;
var LOperand, ROperand: string; var FoundOp: TOperato... |
{ ***************************************************************************
Copyright (c) 2016-2020 Kike Pérez
Unit : Quick.Mapper.Intf
Description : Quick Mapper Interface
Author : Kike Pérez
Version : 1.8
Created : 07/02/2020
Modified : 14/02/2020
This file is part of Quick... |
unit StatusBarButtonWords;
// Модуль: "w:\common\components\rtl\Garant\ScriptEngine\StatusBarButtonWords.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "StatusBarButtonWords" MUID: (54DB6FD1016A)
{$Include w:\common\components\rtl\Garant\ScriptEngine\seDefine.inc}
interface
{$If Defined(Nemesis) AND NOT... |
Program roman (output);
Var i : integer;
Procedure romanout(i: integer);
(* prints roman representation of i *)
Var
pos: integer;
scale: array [1..7] Of
Record
amount: integer;
sign : char
End;
Begin
(*romanout*)
scale[1]. amount := 1;
scale[1]. sign := 'I';
scale... |
unit parser;
{
################################################################################
Author: Ulrich Hornung
Date: 16.6.2008
Modified: 13.02.2010
This Unit is only for parsing HTML-Code in single tags. Thus html is a kind of
XML it can also be used for parsing XML-Code. WARNING: Some spezial HTML... |
unit AdoOrdenDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Forms, Dialogs, Controls, StdCtrls,
Buttons, ImgList, htmlHelp, Db;
type
TAdoOrdenDialogo = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
HelpBtn: TButton;
SrcList: TListBox;
DstList: TListBox;
SrcLabel:... |
unit SpriteLoaders;
interface
uses
Classes, Windows, SysUtils,
SpriteImages, ImageLoaders;
procedure LoadFrameImage( out anImage : TFrameImage; Stream : TStream );
procedure LoadFrameImageFromFile( out anImage : TFrameImage; const Filename : string );
procedure LoadFrameImageFromResName( out anImage ... |
PROGRAM d2b;
FUNCTION answer(filename:string) : integer;
TYPE
guide_line = array[1..3] of char;
FUNCTION score(guide_l:guide_line) : integer;
CONST
YOU_ROCK = 'X';
YOU_PAPER = 'Y';
YOU_SCISSORS = 'Z';
YOU_LOSE = 'X';
YOU_DRAW = 'Y';
YOU_WIN = 'Z';
OP... |
unit MSCacher;
interface
uses
Classes, SysUtils, Windows, SyncObjs, CacheAgent, Collection;
const
SpoolTimeOut = 10 * 1000; // Ten seconds is enought
SpoolPriority = tpLowest;
type
TMSCacher = class; // The Model Cacher
TMSCacher =
class
public
constructor Create;... |
unit Installer2BuildToolFrm;
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.FileCtrl, System.IOUtils,
{$IFDEF FPC}
FPCGenericStructlist,
{$ENDIF FPC}
CoreCla... |
unit l3Clipboard;
{* Поток для работы с буфером обмена. }
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3Clipboard - }
{ Начат: 16.02.2000 11:56 }
{ $Id: l3Clipboard.pas,v 1.6 2010/03/18 14:15:46 lulin Exp $ }
// $Log: l3Clipboard.pas,v $
// Revis... |
unit DW.Firebase.InstanceId;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library ... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clSingleDC;
interface
{$I clVer.inc}
{$IFDEF DELPHI7}
{$WARN UNSAFE_CODE OFF}
{$WARN UNSAFE_TYPE OFF}
{$ENDIF}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows,
{$ELSE}
System.Classes, Winapi.Wi... |
unit gMap;
//=============================================================================
// gUnitAI.pas
//=============================================================================
//
// Handles map generation, point conversions and general world computation
//
//==================================================... |
{ Version 1.0 - Author jasc2v8 at yahoo dot com
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by an... |
unit deList;
{* Данные списка. }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Search\deList.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TdeList" MUID: (47F33E9E03C8)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
{$If NOT Defined(Admin)}
uses
l3IntfUses
, l3ProtoObject
... |
unit App;
{ Based on Simple_Texture2D.c from
Book: OpenGL(R) ES 2.0 Programming Guide
Authors: Aaftab Munshi, Dan Ginsburg, Dave Shreiner
ISBN-10: 0321502795
ISBN-13: 9780321502797
Publisher: Addison-Wesley Professional
URLs: http://safari.informit.com/9780321563835
http://www.... |
{$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 glrSound;
interface
uses
Windows, Bass;
type
{Класс для проигрывания музыки}
TpdSoundSystem = class
private
FEnabled: Boolean;
FMusic: HSTREAM;
FSoundVolume: Single;
FMusicVolume: Single;
procedure SetEnabled(const aEnabled: Boolean);
procedure SetMusicVolume(const Value: Single)... |
unit libavformat;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
Uses
ffmpeg_types, libavutil, libavcodec;
{$I ffmpeg.inc}
{$REGION 'formats.h'}
(* *
* A list of supported formats for one end of a filter link. This is used
* during the format negotiation process to try to pick the best format to
* use to ... |
unit RiverRide;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.MPlayer,PngImage, Jpeg,
Vcl.StdCtrls, Xml.xmldom, Xml.XMLIntf, Xml.XMLDoc;
type
TFormJogo = class(TForm)
painelEsq: TPane... |
unit SearchAndReplacePrimTest;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "TestFormsTest"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/gui/Garant/Daily/SearchAndReplacePrimTest.pas"
// Начат: 28.06.2010 15:45
// Род... |
unit Control.RoteirosExpressas;
interface
uses FireDAC.Comp.Client, Common.ENum, Model.RoteirosExpressas, Control.Sistema, System.Classes, System.SysUtils;
type
TRoteirosExpressasControl = class
private
FRoteiros : TRoteirosExpressas;
procedure StartProcess();
procedure UpdateProcess(dCount: Double);... |
unit Cliente_u;
interface
uses
System.Classes, Vcl.CheckLst, System.SysUtils, Vcl.StdCtrls, System.SyncObjs, Vcl.Forms;
type
Cliente = class(TThread)
private
{ Private declarations }
FilaClientes: TCheckListBox;
QuantidadeCadeiras: Integer;
CadeiraCabeleireiro: TCheckBox;
Seca... |
{ Subroutine SST_SYMBOL_NEW (NAME_H, CHARCASE, SYMBOL_P, STAT)
*
* Add a new symbol to the current scope. It is an error if the symbol
* already exists in that name space, although it may exists in more global
* name spaces. NAME_H is the string handle for the symbol name returned
* from one of the SYO_GET_... |
unit GateInfo;
interface
uses
Classes, SysUtils;
type
TGateInfo =
class
public
constructor Create;
destructor Destroy; override;
private
fLoaded : boolean;
fValues : TStringList;
public
function GetIntValue(ppName : s... |
{$MODE OBJFPC}
{$R-,Q-,S-,I-}
{$OPTIMIZATION LEVEL3}
{$INLINE ON}
program _PROBLEM_Testing;
uses SysUtils, Math, JudgerV2;
const
TimeLimit = 30.0; //Seconds
ProblemTitle = 'LINES'; //Title bar
Prefix = 'LINES'; //file name without extension
ExeName = Prefix + '.EXE';
TestCases: Ansistring = '1234567890abcdefg... |
unit MsgBoxUtils;
// Copyright (c) 1996 Jorge Romero Gomez, Merchise.
interface
uses
Windows;
const
idOK = 1;
idCancel = 2;
idAbort = 3;
idRetry = 4;
idIgnore = 5;
idYes = 6;
idNo = 7;
const
ttYesNo = MB_YESNO + MB_ICONQUESTION;
ttAbort =... |
unit EquipmentCommandForma;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, SynEditHighlighter, OkCancel_frame,
Mask, DBCtrlsEh, StdCtrls, DBCtrls, DB,
FIBDatabase, pFIBDatabase, FIBDataSet, pFIBDataSet, DBLookupEh, Menus, PrjConst,
DBGridEh, Vcl.ExtCtrls;... |
unit CommonHeader;
interface
uses fmx.Graphics, fmxJabberClient, sysutils, system.IOUtils, FMX.Dialogs;
var
GJabberClient : TfmxJabberClient;
function GetImageFilename(AName : string) : string;
implementation
{-------------------------------------------------------------------------------
Procedure: GetIma... |
unit logger;
{
$Id: logger.pas,v 1.2 2006/11/26 16:58:04 savage Exp $
}
{******************************************************************************}
{ }
{ Error Logging Unit }
{ ... |
{
$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 StdTaxes;
interface
uses
Taxes, BasicTaxes;
procedure RegisterTaxes;
procedure RegisterTaxesToAccounts;
implementation
uses
Kernel, ClassStorage, Accounts, BasicAccounts, SysUtils, Collection;
procedure RegisterTaxesToAccounts;
var
count : integer;
i : integer;
MA ... |
(**************************************************)
(* *)
(* 本单元用于爬取网易音乐 *)
(* *)
(* Copyright (c) 2019 *)
(* 南烛 *)
(* ... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
unit StdReporters;
interface
uses
News;
type
TCrimeHi =
class( TMetaReporter )
protected
function StoryStrength( aNewspaper : TNewspaper ) : integer; override;
end;
TCrimeLo =
class( TMetaReporter )
protected
function StoryStrength( aNewspaper : ... |
{ Date Created: 5/22/00 11:17:32 AM }
unit InfoGROUPNAMESTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoGROUPNAMESRecord = record
PIndex: Integer;
PName: String[10];
End;
TInfoGROUPNAMESBuffer = class(TDataBuf)
protected
function PtrI... |
unit uFuzzyMatching;
// Fuzzy matching algorithm.
// LICENSE: CC0, Creative Commons Zero, (public domain)
// Returns if all characters of a given pattern are found in a string, and calculates a matching score
// Applies case insensitive matching, although case can influcence the score
// Based on the C++ version by ... |
{ *********************************************************** }
{ * TForge Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2016 * }
{ * ------------------------------------------------------- * }
{ * NB: the unit should normally be 'used' ... |
unit WallpaperChooserStatementParsingTest;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FpcUnit, TestRegistry,
ParserBaseTestCase,
ChooserStatementBaseTestCase,
WpcStatements,
WpcScriptParser;
type
{ TWallpaperChooserStatementParsingTest }
TWallpaperChooserStatementParsingTest = class(TAbst... |
unit bsFrozenNode;
{------------------------------------------------------------------------------}
{ Библиотека : Бизнес слой проекта "Немезис"; }
{ Автор : Морозов М.А. }
{ Начат : 12.12.2005 16.48; ... |
UNIT uDmService;
INTERFACE
USES
System.SysUtils,
Classes,
System.IOUtils,
SysTypes,
UDWDatamodule,
System.JSON,
System.DateUtils,
UDWJSONObject,
Dialogs,
ServerUtils,
UDWConsts,
FireDAC.Dapt,
UDWConstsData,
FireDAC.Phys.FBDef,
FireDAC.UI.Intf,
FireDAC.VCLUI.Wait,
FireDAC.Stan.Intf,
... |
unit UParam;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, Controls, ColorBox, ExtCtrls, StdCtrls, ComCtrls,
typinfo;
type
TClassList = array of TPersistentClass;
{ TParam }
TParam = class(TPersistent)
private
FName: string;
AttachedParams: array of TParam;
procedure Chan... |
unit kwPopTreeNodeGetNext;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopTreeNodeGetNext.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML... |
unit furqLoader;
interface
uses
Classes,
SysUtils
;
function FURQLoadQS1(aStream: TStream): string;
function FURQLoadQS2(aStream: TStream): string;
function FURQLoadQST(aStream: TStream): string;
type
EFURQLoadError = class(Exception);
implementation
uses
//JclMath,
furqDecoders;
type
TQS2Header = packed ... |
unit cabal_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m68000,main_engine,controls_engine,gfx_engine,seibu_sound,rom_engine,
pal_engine,sound_engine;
function iniciar_cabal:boolean;
implementation
const
cabal_rom:array[0..3] of tipo_roms=(
(n:'13.7h';l:$10000;p:0;crc:$00abbe0c),(n:'... |
unit AddOrderToRouteParameterProviderUnit;
interface
uses AddOrderToRouteRequestUnit, AddressUnit, RouteParametersUnit;
type
IAddOrderToRouteParameterProvider = interface
['{794E1351-AC94-40F7-8D02-DC4D7FFDFC59}']
function GetParameters: TRouteParameters;
function GetAddresses: TOrderedAddressArray;
... |
unit dcLUEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, AdvEdit, advlued, dbctrls, datacontroller, db, FFSTypes;
type
TdcLUEdit = class(TAdvLUEdit)
private
fdcLink : TdcLink;
function GetDataBufIndex: integer;
function... |
unit frm_pos_size_ini;
interface
uses
IniFiles, Forms;
//Visibility geht leider in OnCreate nicht...... :-(
procedure SaveFormSizePos(ini: TIniFile; Section: String; Form: TForm;
Visibility: Boolean = False); overload;
procedure SaveFormSizePos(inifile: string; Form: TForm;
Visibility: Boolean = Fal... |
PROGRAM Approx;
USES
Random, IO;
{FUNCTION ApproximatePI1(n: LONGINT): REAL;
VAR
x, y: REAL;
i: LONGINT;
pointsInCircle: LONGINT;
BEGIN
pointsInCircle := 0;
//Randomize;
FOR i := 1 TO n DO BEGIN
x := Random;
y := Random;
IF (x*x + y*y) <= 1.0 THEN
poin... |
unit uDateTimeScriptEngine;
interface
uses
uBaseScriptEngine
, CodeTemplateAPI
, ToolsAPI
;
type
TDateTimeScriptEngine = class(TBaseScriptEngine)
private
const
cDateFormatStr = 'dateformatstr';
cTimeFormatStr = 'timeformatstr';
procedure RemoveFor... |
{$IfNDef l3NotifierBase_imp}
// Модуль: "w:\common\components\rtl\Garant\L3\l3NotifierBase.imp.pas"
// Стереотип: "Impurity"
// Элемент модели: "l3NotifierBase" MUID: (47F07AE10156)
// Имя типа: "_l3NotifierBase_"
{$Define l3NotifierBase_imp}
_l3NotifierBase_ = class(_l3NotifierBase_Parent_, Il3ChangeNotifier)
pr... |
unit Unt_FuncaoLog;
interface
type
/// <summary>
/// Classe responsável pela geração de LOG
/// </summary>
TGeraLog = class
private
/// <summary>
/// Indica o arquivo em que o LOG será gerado, no caso, no mesmo diretório do executável
/// </summary>
const
C_ARQUIVO = '.\arquivo_log.txt';
... |
unit UACadastroCliente;
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.Mask, Vcl.DBCtrls, Data.DB, Datasnap.DBClient, IdBaseComponent, IdComponent;
type
TUCadastroC... |
unit np.ut;
interface
uses
SysUtils;
// {$IFDEF }
// type
// PUTF8Char = _PAnsiChr;
// UTF8Char = AnsiChar;
// {$endif}
{$IFNDEF NEXTGEN}
type
UTF8Char = AnsiChar;
PUTF8Char = PAnsiChar;
{$ENDIF}
const
CP_USASCII = 20127;
CP_UTF8 = 65001;
type
TUnixTime = type in... |
unit csUploadDocStream;
// Модуль: "w:\common\components\rtl\Garant\cs\csUploadDocStream.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcsUploadDocStream" MUID: (57D2706902F8)
{$Include w:\common\components\rtl\Garant\cs\CsDefine.inc}
interface
{$If NOT Defined(Nemesis)}
uses
l3IntfUses
, csPersonificatedM... |
unit Resources;
interface
uses gm_engine;
type
TFontEnum = (ttFont1, ttFont2);
TResEnum = (ttBack, ttFire, ttIce, ttSellCell, ttNSellCell, ttItemSlot, ttDoll, ttGold, ttIL,
ttBackbar, ttLifebar, ttManabar, ttClose);
var
Font: array [TFontEnum] of TFont;
Resource: array [TResEnum] of TTextur... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Helper routines for the MidWare sample client/server demo.
Use Adaptive Huffman Coding (LZH) for data compression.
The LZH routines are from the SWAG and adapted by ... |
unit superbasketball_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m6809,nz80,main_engine,controls_engine,sn_76496,vlm_5030,gfx_engine,
dac,rom_engine,pal_engine,konami_decrypt,sound_engine,qsnapshot;
function iniciar_sbasketb:boolean;
implementation
const
sbasketb_rom:array[0..2] of tipo_rom... |
unit SoundCache;
interface
const
cMaxSoundCacheSize = 50;
type
TSoundSource = (ssDiskFile, ssResource);
type
TCachedSoundInfo =
record
Name : string;
Ticks : integer;
end;
type
TSoundCache =
class
private
fSoundCount : integer;
... |
unit AdoConec;
interface
uses
Windows, Messages, classes, Forms, Dialogs, ADODB, DB, IniFiles, SysUtils, dmasientos;
const
ctdatosconec = 'Provider=SQLOLEDB.1;Persist Security Info=True;';
ctCatalogo = 'Initial Catalog=';
ctDataSource = ';Data Source=';
// ctUser='sa';
ctdatosconecAzu = 'Provider=MSDASQL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.