text stringlengths 14 6.51M |
|---|
unit guihelpers_fmx;
interface
uses
FMXTee.Chart, FMXTee.Series, FMX.StdCtrls, FMX.ListView, FMX.ListView.Appearances, FMX.ListView.Types, typex, fmx.objects, fmx.controls, FMX.VirtualKeyboard, FMX.Platform, FMX.Types, classes, fmx.forms,
debug, namevaluepair, FMX.Edit, sysutils,
FMX.ListBox, fmx.layouts, type... |
unit DW.Base64.Helpers;
{*******************************************************}
{ }
{ Kastri Free }
{ }
{ DelphiWorlds Cross-Platform Library }... |
unit m_caixa_test;
interface
uses
TestFramework, m_Caixa, Model, system.SysUtils, v_Exception;
type
TestTCaixa = class(TTestCase)
strict private
FCaixa: TCaixa;
public
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestAll;
procedure TestFind;
proc... |
unit ufrmMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
System.Math.Vectors, FMX.Controls3D, FMX.Objects3D, FMX.Controls.Presentation,
FMX.StdCtrls, FMX.Viewport3D, FMX.Types3D, FMX.Edi... |
unit UFuncoes;
interface
uses classes, sysutils, FireDAC.Comp.Client;
function zerarcodigo(codigo: string; qtde: integer): string;
function isInteger(str: string): integer;
function isFloat(str: string): double;
function sn(sNum: string): string;
function Inc(sTabela, sCampo, sCondicao: string): string;
function MMD... |
{*******************************************************}
{ }
{ Vladimir Gaitanoff Delphi VCL Library }
{ TConverterEditor helper }
{ }
{ Copyright (c) 1... |
program dbscan;
uses crt, math, sysutils, classes, strutils, dateutils;
type
Point = record
x: real;
y: real;
cluster_id: longint;
end;
type
pt_arr = array of Point;
type
int_arr = array of longint;
var arr: pt_arr;
eps: real;
min_pts: longint;
function distance(p1, p2:... |
unit MasterUI;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º MasterUI
// Author£º lksoulman
// Date£º 2017-12-12
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows,
Classes,
... |
unit SpringMulticastModel;
interface
uses
System.Classes,
Spring;
type
TObservableModel = class
strict private
FBasePrice: real;
FDiscount: integer;
FEndPriceChanged: Event<TNotifyEvent>;
strict protected
function GetEndPrice: real;
procedure SetBasePrice(const value: real);
procedu... |
unit UPedidoServiceImpl;
interface
uses
UPedidoServiceIntf, UPizzaTamanhoEnum, UPizzaSaborEnum,
UPedidoRepositoryIntf, UPedidoRetornoDTOImpl, UClienteServiceIntf,TypInfo;
type
TPedidoService = class(TInterfacedObject, IPedidoService)
private
FPedidoRepository: IPedidoRepository;
FClienteService: ICli... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 12/12/2005
Modifié le ... : / /
Description .. : Source TOF de la FICHE : CPJALCPTGENE ()
Mots clefs ... : TOF;CPJALCPTGENE
*****************************************************************}
Unit CPJALCPTGENE_TOF ;
... |
unit SimpleInterpolation;
// Save TD32 information and used Turbo debugger to debug.
// Click F3 and enter the name of your dll.
// After Argus ONE has started attach to ArgusONE.dll.
// From the File menu change to the directory with the source code of the PIE.
// Click F3 and double click on your dll
// Click F3 aga... |
unit UPrinter;
interface
uses
UTerminal,
UShoppingCart;
type
Printer = class
public
procedure PrintReceipt(ShoppingCart: ShoppingCart);
end;
implementation
{ Printer }
procedure Printer.PrintReceipt(ShoppingCart: ShoppingCart);
var
terminal1: terminal;
begin
system.Writel... |
unit EnviaEmail;
interface
uses ConfiguracoesNFEmail, ACBrMail, System.SysUtils, System.Classes;
type TEnviaEmail = class
private
FACBrMail :TACBrMail;
destructor Destroy;override;
public
function EnviaEmail(Remetente, Destinatario : String; Assunto: String = ''; Texto: String = ''; emailCopia :Stri... |
unit MSR;
interface
uses
SysUtils,
Classes,
ExtCtrls,
ADPort,
SerialDev
;
type
EBadCmd = class(Exception);
ETimeout = class(Exception);
TMPDE = procedure(const value: String) of object;
TMPDET = procedure(const track1, track2, track3 : String) of object;
TProcParser = procedure();
TFuncSetu... |
unit ExPropStorage;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, DB, DbCtrls;
type
{ TExPropDataProvider }
TExPropDataProvider = class(TComponent)
protected
function DoReadString(const Section, Ident, DefaultValue: string): string; virtual; abst... |
unit Vodopad.gsl18;
(*
GNU GSL 1.8 Pascal Unit
Author : Chen Liping
Date : 2010-3-5
Email : Mr.chenliping@gmail.com
*)
{$DebugInfo OFF}
{$LocalSymbols OFF}
{$ReferenceInfo OFF}
{$RangeChecks OFF}
{$OverflowChecks OFF}
{$Optimization ON}
interface
uses
Winapi.Windows,
System.Sysutils;
const
gsl_dll = 'l... |
{*******************************************************************************
作者: dmzn@163.com 2008-8-9
描述: 管理主题相关的风格项和风格包数据
备注:
&.主题管理器负责主题包的加载和保存.
&.新建主题: NewTheme -> ThemeItems.Addxxx -> SaveTheme
*******************************************************************************}
unit UMgrTheme;
... |
unit FileUnit;
interface
uses
SysUtils;
type
//1 Loosely based on System.IO.File in the .NET framework
TFile = class
public
class procedure WriteAllText(const path: string; const contents: string); overload;
class procedure WriteAllText(const path: string; const contents: string; const en... |
unit uFuncoes;
interface
uses ShellApi;
type TFuncoes = class(TObject)
public
function ShellExecuteAndWait(Operation, FileName, Parameter, Directory: String; Show: Word; bWait: Boolean): Longint;
end;
implementation
uses
Winapi.Windows, Vcl.Forms;
{ TFuncoes }
function TFuncoes.ShellExecuteAndWait(Opera... |
unit CoalGrade;
interface
uses
Classes;
type
TCoalGrade = class //Класс марки угля
private
FGradeNum : byte; //Номер марки
FGradeName : string; //Наименование марки
FAssignPc : single; //Задание в процентах
FAssignTh : single; //Задание в тн/час
FProdPc : single; ... |
unit Constants;
interface
uses
SysUtils;
const
MIN_YEAR = 1980;
MAX_YEAR = 2099;
var
FIRST_DATE: TDateTime;
LAST_DATE: TDateTime;
implementation
initialization
FIRST_DATE := EncodeDate(MIN_YEAR, 1, 1);
LAST_DATE := EncodeDate(MAX_YEAR, 12, 31);
end.
|
unit trl_uinterfacedownedobject_tests;
{$mode objfpc}{$H+}
interface
uses
TestFramework, uDICTestCase, trl_uinterfacedownedobject, sysutils,
trl_iprops, trl_uprops;
type
ITesting = interface
['{7E0875D6-00A9-4122-9BC9-C828535C7807}']
end;
ITesting2 = interface
['{9F74DDF1-902B-4B00-BBBD-A6702B43D4B5... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
ExtDlgs, ComCtrls;
type
Channel = record
R, G, B: Byte;
end;
type
{ TFormMain }
TFormMain = class(TForm)
ButtonBlend: TButton;
ButtonSave: TButton;
ButtonLoadImage2... |
{***********************************************************}
{ Systec Sistemas Ltda }
{ }
{ Funçõs para numeros }
{ Sergio Luis Censi 01/09/98 }
{****... |
Unit WinInterface;
Interface
uses
sysutils, Strings,CommCtrl,crt,windows;
const
AppName = '3DAnimationProc';
WM_RESUME=WM_USER+1;
WM_PAUSE=WM_USER+2;
WM_CONTINUE=WM_USER+3;
WM_TEXTCOMMAND=WM_USER+4;
TargetWindows='TFmain';
Var
Pause:Boolean=false;
Cont:boolean=true;
... |
unit QDODDERealTime;
interface
uses
Windows, Classes, SysUtils, Activex, ComObj, IniFiles, Math, QuoteMngr_TLB,
QuoteStruct, QuoteConst, QuoteLibrary, IOCPMemory, SyncObjs, QuoteDataMngr,
GilQuoteStruct, Generics.collections, QDOBase, System.Win.ComServ;
const
UPDATE_DDE_BIGORDER_BYORDER = 1008;
type
TQuo... |
unit KeyFairyUI;
////////////////////////////////////////////////////////////////////////////////
//
// Description: KeyFairyUI
// Author: lksoulman
// Date: 2017-11-27
// Comments:
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Winapi.Windows,
Wina... |
unit TrstFndDlg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ZDlg, Grids, DBGrids, ComCtrls, StdCtrls, Buttons, ExtCtrls, DB,
DBTables, AzComboBox, SvtDBGrids, DBCtrls, ImgList;
type
TTouristSearchFunc = function (OrderId, GroupId, ServiceId, PersonId: I... |
unit unfraVendedorAGENDA;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, unfraVendedoresCUIT, DB, SDEngine, Mask, PatternEdit, StdCtrls,
ToolEdit, ArtComboBox, unAgenda, RxToolEdit;
type
TfraVendedorAGENDA = class(TfraVendedoresCUIT, IModuloAgenda)
lbVe... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Description: Show how to use TWSocket with SOCKS protocol to traverse
a firewall.
Creation: November 21, 1998
Version: 1.00
EMail: francois.piette@overbyte.be http://www.overbyte.b... |
unit Horse.Boss.Initializer;
interface
uses ToolsAPI, Horse.Middlewares, System.Generics.Collections, System.Classes;
type
THorseBossInitializer = class
private
FProject: IOTAProject;
FModules: TList<IHorseMiddleware>;
FLocked: Boolean;
function GetDependencies: string;
procedure RunBossInsta... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : D:\Download\Incoming\Esker\Esker\SessionService.wsdl
// Version : 1.0
// (13/12/2006 17:15:05 - 1.33.2.6)
// *************... |
unit UnitGenerateSQL;
interface
uses Classes,Variants;
type
TSqlGenerate = class
private
FTableName:WideString;
FFieldNameList:TstringList;
FFieldValueList:TstringList;
function FGetListFieldInsertSql:string;
function FGetListValueInsertSql:string;
function FGetListFieldValueUpdateSql... |
unit Athon.Forms.Main;
interface
uses
System.SysUtils, System.Types, System.UITypes
,System.IOUtils, System.DateUtils, System.VarUtils
,System.Classes, System.Variants
,FMX.Types, FMX.Objects, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs
,FMX.StdCtrls
,PaxCompiler, PaxRunner, PaxProgram, PaxR... |
unit uStringHashList;
interface
uses
Classes, Contnrs;
type
TFPStringHashTableList = class(TFPStringHashTable)
private
fText:string;
function GetText: string;
procedure SetText(const Value:string);
procedure _IterStr(Item: String; const Key: string; var Continue: Boolean);
protec... |
(* This is file is part of PasLibVlcPlayerDemo program
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This... |
unit GenerateORMMainFormUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, StdCtrls, CheckLst, ExtCtrls,
ReportersUnit, LoggersUnit, MSSystemTableUnit, LoggerInterfaceUnit;
type
TGenerateORMMainForm = class(TForm)
AutoSelectAllTables... |
unit uCadastroTamanho;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uPadrao, Provider, DB, DBClient, StdCtrls, Buttons, Grids,
DBGrids, DBGridCBN, ComCtrls, ExtCtrls, Tamanho, Repositorio;
type
TfrmCadastroTamanho = class(TfrmPadrao)
panBotoes: TPanel... |
unit cbUpdateUIThread;
interface
uses
SysUtils, Classes, Windows, Messages, DB, cbSyncObjs,
{App:}
cbSo, cbSrvClass, cbDesignPattern, cbThread, cbLanguage, cbHrHelper,
{ODAC:}
Ora, MemDS, VirtualTable,
{RemObject SDK:}
CsHorse2Library_Intf;
type
TUpdateUIThread = class(TBaseThread)
private
{ Privat... |
unit mbsi20101Module;
interface
uses
AbstractTag,
DeviceModule,
AnalogBLock,
ModBusDeviceInterface,
mbsiControlInterface,
dmSysInfoInterface;
type
TSysInfoModule = class(TDeviceModule,
ImbsiControl,
IdmSysInfo,
IHMITagInte... |
unit Tests.StringDistanceAlgorithms;
interface
uses
DUnitX.TestFramework,
StringDistance;
type
{$REGION 'TestLevenshteinDistance'}
[TestFixture]
TestLevenshteinDistance = class
strict private
FSUT: IStringDistance;
strict protected
property SUT: IStringDistance read FSUT;
public
[Setup] pro... |
unit ServerMainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, ImgList, Buttons,
FileCtrl, CoolTrayIcon, ActnList, SUISkinEngine;
type
TfrmVDiskMain = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGrou... |
Program MediaPonderada;
Var
n1, n2: Integer;
media: Real;
Begin
write('Digite as duas notas: ');
read(n1, n2);
media := ((n1*6)+(n2*4))/(6+4);
write('A média ponderada das notas é ', media);
End. |
{
День программиста
(Время: 1 сек. Память: 16 Мб Сложность: 13%)
День программиста отмечается в 255-й день года (при этом 1 января считается нулевым днем). Требуется написать программу, которая определит дату (месяц и число григорианского календаря), на которую приходится День программиста в заданном году.
В григориа... |
{ Unité :Source TOF de la FICHE : TRGRAPHCOMMISSION
--------------------------------------------------------------------------------------
Version | Date | Qui | Commentaires
--------------------------------------------------------------------------------------
6.0x.xxx.xxx 03/08/04 JP Création de... |
unit u_sysutils;
interface
uses
Windows;
function CanUpdate(const DelayValue: Cardinal; const Force: Boolean): Boolean;
function StrtoInt(const S: string): integer;
function InttoStr(const Value: integer): string;
function StrToIntDef(const S: string; Default: integer): integer;
... |
unit Trekktabeller.Trekkrutine;
interface
uses Trekktabeller.Tabellnummer, Trekktabeller.Skatteberegning,
Trekktabeller.Periode, Trekktabeller.Tabelltype, System.Math,
Trekktabeller.Utils, Trekktabeller.Fradrag;
function beregnTabelltrekk(aTabellnummer:TTabellnummer; aPeriode:PeriodeData; trekkgrunnlag:integer; ... |
unit Posix.ffmpeg.libavcodec.dxva2;
(*
* DXVA2 HW acceleration
*
* copyright (c) 2009 Laurent Aimar
*
* This file is part of FFmpeg.
*
* FFmpeg is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; ... |
// Project: FTEditor (Fielded Text Editor)
// Licence: Public Domain
// Web Home Page: http://www.xilytix.com/FieldedTextEditor.html
// Initial Developer: Paul Klink (http://paul.klink.id.au)
unit Xilytix.FTEditor.TextViewFrame;
interface
uses
Windows,
Messages,
SysUtils,
Variants,
Classes,
... |
unit Xmpp.Iq.Vcard.Email;
interface
uses
Element,XmppUri;
const TEmailType:array[0..4] of string=('NONE',
'HOME',
'WORK',
'INTERNET',
'X400');
type
TEmail=class(TElement)
const
TagName='EMAIL';
private
function FGetEmailType:string;
procedure FSetEmailType(value:string);
function FGetPref... |
unit HttpClientInstanceClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fphttpclient, openssl, opensslsockets, httpprotocol, InstanceOfClass, ARCLass, contnrs;
type THttpResponseInstance = class (TInstanceOf)
private
FValue: TFPHttpClient;
public
property PValue: TFPHttpClient read FValu... |
unit MoDocNo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TMoDocEntry = class(TForm)
Label1: TLabel;
DocNo: TLabel;
lStatus: TPanel;
btnCancel: TButton;
procedure btnCancelClick(Sender: TObject);
procedure F... |
unit uLibEcheance;
interface
uses
SysUtils,
HEnt1,
Ent1,
SaisUtil, // RDevise
uLibEcriture, // Pour TInfoErriture
ParamSoc, // GetParamSocSecur
Echeance, // Pout EcheArrondi
uTob ;
Type
TMultiEche = Class(TOB)
//////////////////////////////////////////////////////////////... |
unit aiddbLkp;
{ -------------------------------------------------------------------------------------------------
Name : aiddbLkp
Author : Chris G. Royle (20061213)
Description : Base class for enhanced data lookup controls for BOMs. These descend from StdCtrls.TCustomComboBox.
Note :
Tod... |
unit Migrations.BaseTable;
interface
uses Migrations.Intf;
function GetMigrationBaseTableV1 : IDMigrationTable;
function GetMigrationLogTableV1 : IDMigrationTable;
implementation
uses Migrations.Common, Migrations.Column, Migrations.Table;
function GetMigrationBaseTableV1 : IDMigrationTable;
var LTable : IDMigrat... |
// Тестовая прогрмма, показывающая вращение 3D модели от движения джойстика Arduino
uses Graph3D, ArduinoABC;
const
///Номер пина, к которому подключен выход движения джойстика HW-504 по оси X
xPin = 0;
///Номер пина, к которому подключен выход движения джойстика HW-504 по оси Y
yPin = 1;
var
ggg: Group3D;... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... |
unit Prototype.Rec;
interface
type
TNestedRecord = record
ValueI: integer;
ValueS: string;
end;
IInteger = interface ['{722BD9CC-BF41-4CDC-95C1-7EF17A28BF7B}']
function GetValue: integer;
procedure SetValue(const value: integer);
property Value: integer read GetValue write SetValue;
end;... |
unit SlimReaderWriter;
interface
uses
Winapi.Windows,
System.SysUtils;
type
IReadWriteSyncEx = interface ['{21BDDB51-29B4-44A4-B80A-1E5D72FB43DA}']
function TryBeginRead: Boolean;
function TryBeginWrite: Boolean;
end;
TSlimReaderWriter = class(TInterfacedObject, IReadWriteSync, IReadWriteSyncEx)
... |
unit test_24_ConnectionPool;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,
OtlThreadPool,
OtlTaskControl,
OtlEventMonitor;
type
TfrmConnectionPoolDemo = class(TForm)
lbLog: TListBox;
btnSchedule: TButton;
btnScheduleAndWait: TButt... |
unit FibonacciMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Samples.Spin;
type
TFiboFunc = function (element: int64): int64 of object;
TfrmFibonacci = class(TForm)
Label1: TL... |
//////////////////////////////////////////////////////////////////////////////
//
// Unit: xlsrtf
//
//
// Description: Export to RTF
//
//////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2004-2011 NikaSoft. All rights reserved.
// Author: ... |
unit Database.JDbConnectionTests;
interface
uses
TestFramework, Classes, DataBase.interfaces, SysUtils;
type
TestCDbConnection = class(TTestCase)
private
FCDbConnection: IDBConnection;
public
procedure SetUp; override;
procedure TearDown; override;
published
procedure testA... |
unit PXL.Shaders.DX11;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Sof... |
unit StackClass;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ARClass, InstanceOfClass;
type
TARList = array of TActivationRecord;
TStack = class
private
FItems:TARList;
FLevel: integer;
public
property PItems: TARList read FItems;
property PLevel:... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 17/07/2002
Modifié le ... : / /
Description .. : Source TOF de la FICHE : ANNDEDOUBLE ()
Mots clefs ... : TOF;ANNDEDOUBLE
*****************************************************************}
Unit UTOFAnnReformate ;
I... |
unit uGlobalHotKeys;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ComCtrls,
ExtCtrls,
TlHelp32,
mmsystem,
Menus,
Spin;
/// <summary>
/// Register global hotkey b... |
unit mark_editcastingform;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin;
type
TEditCastingForm = class(TForm)
OkBtn: TButton;
CancelBtn: TButton;
Label1: TLabel;
YearEdit: TSpinEdit;
Label2: TLabel;
Dire... |
unit mTypes.bytesarray;
interface
uses
mTypes,
System.Classes, System.SysUtils, Spring.Collections
;
type
TToken = record
private
FPosition: Integer;
FLength: Integer;
function GetIdx: Integer;
public
constructor Create(const APosition: Integer);
procedure Forward(const AStep: Inte... |
unit cbGuiCleanup;
interface
uses
SysUtils, Classes, Windows, Messages, Variants,
cbClass, cxTL, cxListView;
type
{ 清除主畫面顯示的各種指令及訊息 }
TGuiCleanup = class(TSMSCommandThread)
private
{ Private declarations }
FLogList: TStringList;
FLastCheckControlCmd: Cardinal;
FLastCheckFeedbackCmd: Cardi... |
////////////////////////////////////////////////////////////////////////////
// PaxInvoke
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All right... |
unit MFRecharge;
interface
{MFRecharge defines the "Recharge" layer
and the associated parameters and Parameterlist.}
uses ANE_LayerUnit, SysUtils, MFGenParam, OptionsUnit;
type
TRechElevParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
function Units : string; override;
... |
unit test;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TTest = class
private
FentryFile,
FexitFile,
FentryLineNumber,
FexitLinenumber : String;
procedure setEntryFile(fn:string);
procedure setExitFile(fn:string);
procedure setEntryLine(ln:str... |
(* Winmerge Plugin
---------------
Unpack and pack gz compressed files ( *.gz)
© Dr. J. Rathlev, D-24222 Schwentinental (kontakt(a)rathlev-home.de)
The contents of this file may be used under the terms of the
Mozilla Public License ("MPL") or
GNU Lesser General Public License Version 2 or la... |
unit CPort.Protocol;
interface
uses
System.SysUtils, System.Classes, CPort, CPort.Types, Vcl.ActnList,
Generics.Legacy, Dialogs;
type
TCustomProtocolItem = class(TCollectionItem)
private
FBuffer: TComDataBuffer;
FOnDiscard: TComDataEvent;
FOnPacket: TComDataEvent;
FMaxBufferSize: Cardinal;
... |
unit LevenshteinTest;
interface
uses
DUnitX.TestFramework, DUnitX.Assert.Ex;
type
[TestFixture]
TDamerauLevenshteinTest = class(TObject)
private
function Distance(const Str1, Str2: string): Integer;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
procedur... |
unit ServerCore;
interface
uses
Windows, EntityList, Entity, TypesConsts, SentenceList, GuessObject, SentenceWithGuesses, TimedLock, PosTagger,
Hypernym, SkyIdList, SkyLists, ApiRequest, ApiGeneratedSplit, SplitGuessAlgorithm;
type
TServerCore = class(TObject)
private
type
TLockType = ... |
unit MFGenHeadBound;
interface
{MFGenHeadBound defines the "Point GHB Unit[i]", "Line GHB Unit[i]"
and "Area GHB Unit[i]" layers
and associated parameters and Parameterlists.}
uses ANE_LayerUnit, SysUtils, MFGenParam;
type
TGHBHeadParam = class(TCustomSteadyParameter)
class Function ANE_ParamName : string ;... |
{ Copyright (c) 2007-2012 Jeroen Wiert Pluimers for BeSharp.net and better office benelux.
Full BSD License is available at http://besharp.codeplex.com/license and http://bo.codeplex.com/license }
unit EnumTypeInfoUnit;
interface
uses
TypInfo;
function GetEnumNameAndOrdValue(const TypeInfo: PTypeInfo; c... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by a... |
unit DW.Camera.Android;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
unit DW.Androidapi.JNI.AndroidX.Camera.Lifecycle;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-P... |
// ************************************************************************ //
// Les types déclaré dans ce fichier ont été générés à partir de données lues dans le fichier
// WSDL décrit ci-dessous :
// WSDL : C:\V9\branches\evol\Liens VP\WebServices\gestion Client\WSDL\WSDL.wsdl
// Encodage : utf-8
// Version : ... |
unit mPDMPReviewOptions;
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
TfrPDMPReviewOptions = class(TFrame)
sbPDMP: TScrollBox;
gbPDMP: TGroupBox;
procedure F... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software distr... |
unit Fuelsrvr_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. }
{ Fuelsrvr Library }
{ Version 1.0 }
interface
uses Windows, Activ... |
program WindowStackExample; {EXWSTACK.PAS}
uses OpCrt, OpFrame, OpWindow;
var
Win : WindowPtr;
WinOpts : LongInt;
I, J : Integer;
S : String;
begin
{Make three framed, resizable StackWindows}
WinOpts := wBordered+wClear+wSaveContents+wResizeable;
New(Win, InitCustom(30, 3, 50, 13, DefaultColorSet, WinOpt... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: Feb 15, 2003
Description: A simple HTTPS SSL Web Client Demo client.
Make use of OpenSSL (http://www.openssl.org).
Make use of freeware TSslHttpCli and TSslWSocket comp... |
{
Настройки WImport
v0.0.2 (15/07/07)
}
unit WIOptions;
interface
uses
CustomOptions, SCategory, XLSchema,
Windows;
type
// настройки для WImport
TWIOptions = class(TCustomOptions)
public
constructor Create(const ARoot, AKey: string); override;
end;
TImportCategory = class(TWindowCategory)
... |
unit LogUtils;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, LCLProc;
type
TLogMode = (lmNone, lmTrace, lmDebug, lmInfo, lmWarning, lmError);
function LogModeToStr(pMode : TLogMode) : String;
function StrToLogMode(pMode : String) : TLogMode;
procedure SetLogFile(pFileName : String);
fun... |
unit AppSettings;
interface
uses
IniFiles;
type
{$Region ' TDBConnectionSettings'}
TDBConnectionSettings = record
ServerName: string;
UserName: string;
Password: string;
Database: string;
end;
{$EndRegion}
TAppSettings = class(TObject)
private
FDBConnectionSettings: T... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 23/04/2007
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BTCPTPIECE_S1 ()
Mots clefs ... : TOF;BTCPTPIECE_S1
*****************************************************************}
Unit BTCPTPIECE_S1_TOF ... |
unit SLUnsaturated;
interface
uses ANE_LayerUnit, SLCustomLayers;
type
TRegionParam = class(T_ANE_LayerParam)
class Function ANE_ParamName : string ; override;
constructor Create(AParameterList: T_ANE_ParameterList;
Index: Integer = -1); override;
function Value: string; override;
end;
TUnsa... |
unit DGlut;
interface
uses
OpenGL;
type
TGLfloat3v =
array[0..2] of GLfloat;
TInteger3v =
array[0..2] of Integer;
const
BoxPoints :
Array[0..5, 0..2] of GLfloat =
( (-1, 0, 0),
( 0, 1, 0),
( 1, 0, 0),
( 0, -1, 0),
( 0, 0, 1),
... |
unit Unit_SalaryManager;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, ExtCtrls, Buttons, StdCtrls, ComCtrls;
type
Tfrm_salarymanager = class(TForm)
sg_salary: TStringGrid;
StatusBar1: TStatusBar;
Panel1: TPanel;
sbtn_fron... |
unit ObservationFunctions;
interface
uses SysUtils, Dialogs, Contnrs, AnePIE, ANECB;
procedure InitializeObservations (const refPtX : ANE_DOUBLE_PTR ;
const refPtY : ANE_DOUBLE_PTR ;
numParams : ANE_INT16 ;
const parameters : ANE_PTR_PTR ;
funHandle : ANE_PTR ;
reply ... |
unit Sector;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º Sector
// Author£º lksoulman
// Date£º 2018-1-9
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows,
Classes,
SysUti... |
unit untDecoratorPattern;
{
Exemplo de implementação do padrão Decorator
A idéia é que um cartão pode ser ouro, prata ou bronze.
O cartão pode ter os seguintes adicionais: Super, Dupper, Mega e Master inúmeras vezes
Decorator pattern implementation example
The idea is that a card can be gold, silver or bron... |
unit AclUi;
interface
uses Windows, Messages;
type
PSI_OBJECT_INFO = ^SI_OBJECT_INFO;
_SI_OBJECT_INFO = record
dwFlags: DWORD;
hInstance: HINST; // resources (e.g. strings) reside here
pszServerName: LPWSTR; // must be present
pszObjectName: LPWSTR; // must be present
pszPageTitle... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.