text stringlengths 14 6.51M |
|---|
unit ptypes;
{$ifdef FPC}
{$mode delphi}
{$endif}
{$DEFINE CLONE_BENCH}
interface
uses Classes, SysUtils;
type
TLoxObject = class(TObject)
function Clone: TLoxObject; virtual; abstract;
end;
{ TO DO TLoxTrue, TLoxFalse global objects }
{ TLoxBool }
TLoxBool = class(TLoxObject)
private
FValue... |
unit FF_TextEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TntStdCtrls, ComCtrls, TntComCtrls, VirtualTrees, Errors,
ExtCtrls, XPMan, Menus, ToolWin, SynEdit, SynMemo, SynEditHighlighter,
FFHighlighter, {SynHighlighterGeneral,} ImgList, Act... |
unit uAppData;
interface
const
CSIDL_DESKTOP = $0000; { <desktop> }
CSIDL_INTERNET = $0001; { Internet Explorer (icon on desktop) }
CSIDL_PROGRAMS = $0002; { Start Menu\Programs }
CSIDL_CONTROLS = $0003; { My Computer... |
unit unitParser;
interface
uses Windows, Classes, SysUtils, unitStreamTextReader, unitCExpression;
const
ttUnknown = 0;
ttIdentifier = 1;
ttNumber = 2;
ttChar = 3;
ttString = 4;
ttOpAdd = 10;
ttOpSub = 11;
ttOpMul = 12;
ttOpDiv = 13;
type
TCharset = set of char;
TParser = cl... |
(**
This module contains a Delphi IDE wizard that displays a tree view of the
Delphi IDEs published interface.
@Date 11 Mar 2017
@Version 2.0
@Author David Hoyle
**)
Unit DGHIDEExplorer;
Interface
Uses
Windows,
Dialogs,
Classes,
ToolsAPI,
Menus;
{$INCLUDE CompilerDefinitions.inc}
{$R 'IDE... |
unit NetMessagesStr;
interface
function LogonNetMsgStr(code: longint): string;
function NetMsgStr(code: longint): string;
implementation
uses
SysUtils;
function LogonNetMsgStr(code: longint): string;
begin
Case code of
$0000: result := 'AUTH_LOGON_CHALLENGE';
$0001: result := 'AUTH_LOGO... |
unit Attachment;
interface
uses
ObjectsMappers, System.Classes;
type
/// <summary>A mutable type to represent a single attachment</summary>
[MapperJSONNaming(JSONNameLowerCase)]
TAttachment = class(TObject)
strict private
FName: String;
FContent: TMemoryStream;
/// free FContent and set a new... |
unit RedFoxWinControl;
interface
uses
Windows, Types,
Messages, Classes, Controls, WinApi.Oleacc,
RedFoxImageBuffer, RedFoxContainer, RedFoxAccessible;
type
TRedFoxWinControl = class(TWinControl, IRedFoxVisibleControl)
private
fBackBuffer: TRedFoxImageBuffer;
fHitTest: boolean;
fOnMouseEnter: T... |
unit Services.AtmIndex;
interface
uses
System.Generics.Collections, Entities.AtmIndex, MainDM, System.SysUtils, Services.Base, JsonDataObjects,
FireDAC.Stan.Option, FireDAC.Comp.Client, FireDAC.Stan.Param, MVCFramework.FireDAC.Utils, MVCFramework.DataSet.Utils,
MVCFramework.Serializer.Commons, MVCFramework.Logg... |
unit TSysSrvAux;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{
Identifies FormLists with concrete collectible objects.
}
unit UserScript;
var
formLists: TStringList;
legalTypes: TStringList;
collectionPreamble: string;
collectionTemplate: string;
collectionPostscript: string;
function Initialize: integer;
begin
legalTypes := TStringList.Create;
legalTypes.Add('... |
unit eeVstAudioOutputController;
interface
{$INCLUDE Defines.inc}
uses
{$IFDEF OverSampleEnabled}eeOverSamplingFilters,{$ENDIF}
DAEffect, VamLib.MoreTypes;
type
TVstAudioOutputController = class
private
fBlockSize: integer;
fOverSampleFactor: integer;
fOutputChannelCount: integer;... |
unit TspQueryTeste;
interface
uses TestFramework, uspQuery, FireDAC.Stan.Factory;
type
TspQueryTestes = class(TTestCase)
private
FspQuery: TspQuery;
protected
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestGeraSQL;
end;
implementation
{ TspQueryTestes }
... |
unit UConexao;
interface
uses
Generics.Collections, Classes,
System.SysUtils,
Aurelius.Commands.Listeners,
Aurelius.Drivers.Interfaces,
Aurelius.Engine.AbstractManager,
Aurelius.Engine.ObjectManager,
Aurelius.Engine.DatabaseManager,
Aurelius.Drivers.SQLite,
Aurelius.Sql.SQLite;
type
TGerenciadorC... |
unit CadPedVinc;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
{*************************************************************************}
{ TColumnComboBox component }
{ for Delphi & C++Builder }
{ }
{ Copyright © 20... |
unit unitResourceAccelerator;
interface
uses Windows, Classes, SysUtils, Contnrs, unitResourceDetails, Menus;
type
TAccelerator = packed record
flags : word;
code : word;
id : word;
padding : word;
end;
PAccelerator = ^TAccelerator;
TAcceleratorResourceDetails = class (TResourceDetails)
priv... |
{==============================================================================|
| Project : Delphree - Synapse | 001.004.000 |
|==============================================================================|
| Content: MIME message object ... |
unit RESTRequest4D.Request.Params.Intf;
interface
uses REST.Types;
type
/// <summary>
/// Interface to represent the parameters that a request can have.
/// </summary>
IRequestParams = interface
['{CB53222E-B9FD-4DF1-BDF6-4E0EA6E462A5}']
/// <summary>
/// Removes all added parameters.
///... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-5, FILE=DEV033, CLA... |
unit Unit_VCL;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, mmsystem, ShellAPI,
Vcl.StdCtrls, IniFiles;
function InputCombo(const ACaption, APrompt: String; const AList: TStrings): String;
imple... |
unit Pkg.Delegates;
interface
uses
sysUtils, generics.collections, typInfo,
{$IF CompilerVersion >= 21.0}rtti,{$ENDIF}classes;
procedure syncStart(ASyncObject: TObject);
procedure syncEnd(ASyncObject: TObject);
type
// Represents the lifetime of a handler
THandlerLifetime = (hlPermanent, h... |
unit FileManager.Providers.Controllers.FileManager;
interface
uses
System.SysUtils, System.Classes, FileManager.Providers.Controllers.Base, System.Math, System.IOUtils,
FileManager.Providers.Aguarde.Impl, REST.Types,FileManager. Providers.Response.Default, FileManager.Providers.Response.Intf,
FireDAC.Stan.Intf,... |
unit LUX.Lattice.T3;
interface //#################################################################### ■
uses System.SysUtils;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TArray3D = class;
TArray3D<_TItem_> = class;
TBricArray3D<_TItem_> = clas... |
{*******************************
Copyrights By Zetron System
Last Modified 10/07/2008
*******************************}
unit frmUniDBNavigatorEx;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGridCustomTableView, cxGrid, INIFiles,
// Auto ... |
unit DataSetHelperUnit;
interface
uses
DB, SqlExpr;
type
TDataSetRecord = record
//1 If nil, then empty DataSet in for ... in loop
DataSet: TDataSet;
end;
TDataSetEnumerator = class
strict private
FDataSet: TDataSet;
FFirstItem: Boolean;
FEmpty: Boolean;
public
... |
unit PlginEmailvars;
interface
uses
system.classes, System.Win.Registry, system.SysUtils, makestudio_TLB,
IdSMTPServer, IdExplicitTLSClientServerBase,
IdSMTPBase, IdSMTP, IdMessage, IdIOHandlerStack, IdSSL, IdSSLOpenSSL;
var
MakeStudio: IJApplication;
FCanceled: Boolean = False;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.3-1, FILE=CONF155, CLAS... |
UNIT Digit;
INTERFACE
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
IMPLEMENTATION
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
{��������� ������� ������ �� �����, ���� �� - �����, ���������� ���
���������� � �������� ���� INTEGER. ���� ��������� ������ �� �����
���������� -1}
VAR
Ch: CH... |
unit VamLib.MultiEvent;
interface
// NOTE: This unit is deprecated. It should be replaced by VamLib.MultiCastEvents.pas
uses
System.Classes,
Vcl.Controls,
VamLib.Collections.Lists;
// TODO: It's currently possible to add the same event watcher to a MultiEvent
// multiple times. The MultiEvent class sh... |
unit bullets;
{$INCLUDE defines.inc}
interface
uses Enums, Entities;
Type
PBullet = ^TBullet;
TBullet = record
X, Y, xVel, yVel : Double;
Pow : Double;
Team : sInt
end;
Var
Bullet : Array of PBullet;
BulletNum, BulletLen : sInt;
Procedure FireBullet(... |
program StA(input, output);
const
MAX = 5;
type
tIndex = 1..MAX;
tFeld = array [tIndex] of integer;
var
Feld:tFeld;
i :tIndex;
function Standardabweichung (inFeld:tFeld): real;
var
Summe :integer;
i: tIndex;
Mittelwert:integer;
Zahler: integer;
ergebnis :real;
begin
Summe := 0;
for i:=1 to MAX d... |
unit model.Cliente;
interface
uses
SysUtils, DateUtils;
Type
TCliente = Class
private
FChave: Integer;
FCodigo: Integer;
FNome: String;
published
property Nome: String read FNome write FNome;
property Codigo: Integer read FCodigo write FCodigo;
///<summary>Cadastra um c... |
unit buildings;
{$INCLUDE defines.inc}
interface
uses Enums, Entities;
Type
TBuildingStats = record
MaxHP : Double;
BuildTime : Double;
Collect : Boolean;
Produce : Boolean;
Cost : Array[TResourceType] of Double
end;
Const
BuildingStats : Array[TBuildingTyp... |
unit eePluginDataDir;
{
Unit to encapsulate finding the plugin data directory.
TODO:MED something about this isn't right. It feels messy.
}
interface
const
kMidiMapsDirName = 'Midi Maps';
kSkinsDirName = 'Skins';
type
// NOTE: All directory path string should be returned without a... |
unit dMyCompareMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, WindUtl;
type
TdlgMyCompareMain = class(TForm)
pnlBottom: TPanel;
pnlLeft: TPanel;
Splitter1: TSplitter;
pnlRight: TPanel;
edLeft: TMemo;
... |
unit eeMovingAverage;
interface
uses
eeDelayBuffers, VamLib.MoreTypes;
type
TMovingAverageFilter = class
private
fAverageTime: integer;
fLevel1: double;
procedure SetAverageTime(const Value: integer);
protected
DelayBuffer:TFixedSizeBuffer1024Mono;
z1:single;
OneOverDe... |
unit Screen;
interface
type
TScreen = class
procedure Up;
procedure Down;
end;
implementation
{ TScreen }
procedure TScreen.Down;
begin
Writeln('Tela Desce');
end;
procedure TScreen.Up;
begin
Writeln('Tela Sobe');
end;
end.
|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.1-8, FILE=LEV1F17... |
unit uFrmAbout;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls,
StdCtrls, ImgList, uSharedGlobals, uFrmMain, Vcl.Imaging.pngimage, Winapi.Shellapi;
type
TFileHashThread = class(TThread)
private
FFileName: string;
FFileHash: string;
proc... |
unit DAO.Connection;
interface
uses System.SysUtils, System.Classes, 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.ConsoleUI.Wait,
Data.DB, FireDAC.Comp.Client,
// -- SQLITE --
F... |
unit VamLib.DebugString;
{ Copyright (c) 1995-2011 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 }
{ better than OutputDebugString which:
1. has a bug in Windows 95 that prevents OutputDebugStri... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.5-2, FILE=CONF080, CLASS=... |
unit Blocks;
{ MiniCoin Wallet and Miner Copyright (c) 2019 by Preben Bjorn Biermann Madsen
Based on Kreditz Coin Copyright (c) 2018 Pjor, Kreditz Team
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
This unit is a... |
unit Cl_crypt32;
{
*************************************************************************
*名稱: Cl_crypt32.pas
*
*說明: Cl_crypt32.pas為一支編解碼模組,乃修改『Martin Djern犘』先生所修改
* 的《crypt32.pas 32 bits encode/decode module》而成(修改的理由請詳
* 見下述)。
*
*函數原型: function cl_encrypt(s:string):string;
* function cl_decrypt(s... |
unit AggSliderControl;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.2-3, FILE=CONF135, CLAS... |
// Provides basic feature of
// viewing and editing database
{ TODO : Adjust grid appearance (zebra, highlight modified row) }
unit DBGridBaseFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, MySQLAccessor, Vc... |
unit eeGuiStandard_MenuController;
interface
{$TYPEINFO ON}
uses
Classes, SysUtils, Generics.Collections, Controls, eeEnumHelper, eeGlobals,
eeGuiStandard_MenuBuilder;
type
EMenuControllerException = Exception;
TShowMenu = (Always, ContextClickOnly);
TMenuControlReference = record
Control : TControl... |
unit config;
interface
uses xmldom, XMLDoc, XMLIntf;
type
{ Forward Decls }
IXMLConfig = interface;
IXMLButton = interface;
IXMLButtonList = interface;
IXMLBackGround = interface;
IXMLAllPages = interface;
IXMLFont = interface;
IXMLPage = interface;
IXMLPageList = interface;
I... |
unit XmlStrategy;
interface
uses
Document, XmlParser, XmlInterpreter, XmlInterpreterVisitors;
type
TXmlStrategy = class(TDocumentStrategy)
private
FParser: TXmlParser;
FInterpreter: TXmlInterpreter;
FVisitor: TXmlPrettyPrinter;
protected
public
constructor Create(ADocument: T... |
program media_ponderada;
var
tabela_notas : array[1..3,1..2] of real;
i, j : integer;
prod, sum_prod, sum_peso, media : real;
begin
sum_prod := 0;
sum_peso := 0;
writeln('Programa media ponderada');
for i := 1 to 3 do
begin
for j := 1 to 2 do
begin
if (j = 1) then
write('Informe a nota: ... |
Program pla2;
{$MODE OBJFPC}
Uses SysUtils;
{* Record used to store the words and their frequencies*}
Type
WordFreq = Record
word: string;
freq: integer;
End;
Var
inputFile: text;
i: integer;
j: integer;
isWord: boolean;
wordFound: ... |
unit ULookUpDataSource;
interface
uses FireDAC.Comp.Client, Data.DB, UDictionary, system.SysUtils,
Generics.Collections;
Type
TLookUpDataSource = Class
private
class var FDataSource: TDictionary<string, TDataSource>;
class function GetDSCJJG: TDataSource; static;
class function GetDSDEV: TDataSourc... |
unit shadow;
{
Routines for for Detecting One-Dimensional Shadows in Images.
Copyright (C) 2002, 2007 Kevan Hashemi, hashemi@brandeis.edu, Brandeis University
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 Foun... |
unit WSShopCommon;
interface
uses Classes, System.SysUtils, System.Generics.Collections, WSOCPRoduct, WSProductCommon, WSCommon;
type
TWSProducts = TDictionary<integer, IWSProduct>;
TWSShop = class(TWSCommon)
private
FShopName: string;
FShopMainURL: string;
FProducts: TWSProducts;
func... |
unit Test.FarScape.Color;
interface
uses
FarScape.Color,
WatchTower;
type
TFarScapeColorTest = class(TWatchTowerTest)
private
public
procedure Setup; override;
procedure TearDown; override;
[Test]
procedure StrToColorConversion;
[Test]
procedure ColorToStrConversion;
[Test]
... |
unit TMSGParser;
interface
uses
TMSGStruct,
ClassConnection;
const
msg_CLIENT_HEADER_LEN = 6;
msg_SERVER_HEADER_LEN = 4;
msg_PARSE_ERROR = 2;
msg_PARSE_WARNING = 1;
msg_PARSE_OK = 0;
ParseResultStr: array[0..2] of string = (
'OK',
'WARNING',
'ERROR'
);
function msgP... |
unit TextSearch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, TntStdCtrls, FF_TextEditor, TableText;
type
TFindForm = class(TForm)
eCurOnly: TCheckBox;
eHidden: TCheckBox;
eInstances: TCheckBox;
eWholeWords: TCheckBox;
eMatchCa... |
unit CsvOpUtils;
interface
uses
Classes, MySQLAccessor;
type TCsvOpUtils = class
public
function EscapeFilePath(Path: string): string;
// Set the columns of the table in the string list
procedure SetColumns(Accessor: TMySQLAccessor;
TableName: string; Columns: TStringList);
end;
implementation
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.6-4, FILE=DEV100, CLA... |
program example(input,output);
var x,y:integer;
function gcd(a,b:integer):integer;
begin
if b=0 then gcd:=a
else gcd:=gcd(b,a mod b)
end;
begin
read(x,y);
write(gcd(x,y))
end.
|
unit NetMessagesStr;
interface
function LogonNetMsgStr(code: longint): string;
function NetMsgStr(code: longint): string;
implementation
uses
SysUtils;
function LogonNetMsgStr(code: longint): string;
begin
Case code of
$00: result := 'AUTH_LOGON_CHALLENGE';
$01: result := 'AUTH_LOGON_PROOF';
$02: r... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.9.5-4, FILE=ERR87P, ... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://10.46.177.139:8181/traffic/ws/trafficForecast?wsdl
// >Import : http://10.46.177.139:8181/traffic/ws/trafficForecas... |
unit SpTBXCustomizer;
{==============================================================================
Version 2.5.3
The contents of this file are subject to the SpTBXLib License; you may
not use or distribute this file except in compliance with the
SpTBXLib License.
A copy of the SpTBXLib License may be found... |
unit SpTBXExtEditors;
{==============================================================================
Version 2.5.3
The contents of this file are subject to the SpTBXLib License; you may
not use or distribute this file except in compliance with the
SpTBXLib License.
A copy of the SpTBXLib License may be found... |
unit dtmShare;
interface
uses
SysUtils, Classes, ADODB, dtmGlobal, DB;
type
TUpdateTable = (utReceivingRecord, utPurchaseOrder, utPurchaseInvoice,
utPurchasePayment, utPurchaseReturn, utSalesOrder, utSalesInvoice,
utDeliveryOrder, utSalesPayment, utSalesReturn, utOtherTransaction,
utPurcha... |
program TwoSorts;
{Erick Nave
DSAI 11-23-93}
{TwoSorts uses a queue ADT and a quicksort procedure supplied to me to
build a queue and sort it using radix sort and rebuild the old queue
to use with quick sort. The times for each sort is written to the
screen and the queue sorted by radix sort is sent to an o... |
program Hanoi_rekursive;
uses crt;
type t_tower = (gold,silver,cupper);
t_info = record source,target,help:t_tower; n:integer; end;
var x,x1:t_info;
procedure tower_io(t:t_tower);
begin
case t of
gold: write('GOLD'); silver: write('SILVER'); cupper: write('CUPPER');
end end;
procedure infobau(var x:t_info; i... |
Unit ESoft.Launcher.Parameter;
{----------------------------------------------------------}
{Developed by Muhammad Ajmal p}
{ajumalp@gmail.com}
{----------------------------------------------------------}
Interface
Uses
System.Classes,
Vcl.Dialogs,
IniFiles,
Generics.Collections,
System.SysUt... |
unit ufCliente;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
ufBase, Vcl.Grids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Entidade.Cliente,
SimpleInterface, SimpleDAO, SimpleAttributes, SimpleQueryFiredac,... |
unit uConexaoDB;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids,
Vcl.ExtCtrls, Data.DB, Datasnap.DBClient, Data.Win.ADODB, System.IniFiles,
LIB, Winapi.OleDB;
... |
unit UStringStack;
interface
Uses
SysUtils, UStack;
const
N=100;
type
TElem = pointer;
TMas=array[0..N-1] of TElem;
TStrStack = class(TStack)
protected
function ElemToStr(el : Pointer) : string; override;
public
class function CheckElem(el : pointer) : boolean; override;
class ... |
unit TestRubberDuck;
interface
uses
TestFramework, System.SysUtils, SwimUtils, QuackUtils, QuackSqueak, FlyUtils, FlyNoFly,
DuckUtils, RubberDuck, SwimFloat;
type
// Test methods for class TRubberDuck
TestTRubberDuck = class(TTestCase)
strict private
FRubberDuck: TRubberDuck;
published
procedur... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.4-7, FILE=ERR48T, C... |
Unit ESoft.Launcher.UI.AppGroupEditor;
{ ---------------------------------------------------------- }
{ Developed by Muhammad Ajmal p }
{ ajumalp@gmail.com }
{ ---------------------------------------------------------- }
Interface
Uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System... |
////////////////////////////////////////////////
// Unit : IP2Location.pas //
// Version : 8.2.0 //
// Date : April 2023 //
// Translator: IP2Location //
// Email : support@ip2location.com //
// License :... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.2-4, FILE=CONF097, CLASS=... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.3-6, FILE=CONF111, CLAS... |
PROGRAM ExtendedPatternMatching;
(*
* IN s:
* IN p:
* OUT pos: Position des gefundene Pattern in String s. Bei Missmatch = 0
*)
PROCEDURE BruteForce(s, p: String; VAR pos: BYTE);
CONST
any = '?';
ignore = '_';
VAR
sLen, pLen: BYTE;
i, j: INTEGER;
(* we need to know how much we incremented our i d... |
{
TB2Merge.pas
Utility unit for Toolbar2000 and derived components like TBX or SpTBX to
merge two sets of toolbar items together. See the included file INFO.txt
for information on how to use it.
Version 1.1b
https://github.com/vssd/TB2Merge
Copyright (C) 2005, 2006 Volker Siebert <flocke@vssd.de>
All... |
unit FMX.Devgear.Extentions;
interface
uses
System.Classes, FMX.Graphics, FMX.Forms;
type
TBitmapHelper = class helper for TBitmap
public
procedure LoadFromURL(AURL, AFileName: string; Sender: TObject = nil); overload;
end;
implementation
uses
System.SysUtils, System.Types, System.iOUtils, IdHttp, An... |
PROGRAM ReverseFirstLine(INPUT, OUTPUT);
PROCEDURE Reverse(VAR F1, F2: TEXT);
VAR
Ch: CHAR;
BEGIN
IF NOT EOLN(F1)
THEN
BEGIN
READ(F1, Ch);
Reverse(F1, F2);
WRITE(F2, Ch)
END
END;
BEGIN
Reverse(INPUT, OUTPUT);
WRITELN(OUTPUT)
END.
|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.4.1-3, FILE=CONF202, CL... |
unit Mocks.AudioPlugin;
interface
uses
AudioPlugin.PlugMain,
VamLib.MoreTypes,
VamLib.FlexValue,
AudioPlugin.Globals,
AudioPlugin.RunTimeInfo;
type
TMockAudioPlugin = class(TAudioPlug)
private
public
AudioProcessHistory : TFlexList;
constructor Create(const GlobalsPtr : Pointer); override;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.4-3, FILE=DEV207, C... |
unit mSysPed;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
(*-----------------------------------------------------------------------------
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/MPL-1.1... |
unit AudioToolbox.SampleData;
interface
uses
Types,
VamLib.MoreTypes;
type
TChannelConfig = (ccNotAssigned, ccMono, ccStereo);
// TODO:MED - this definition should be moved to VamLib.MoreTypes.
PSingleDynArray = ^TSingleDynArray;
TSampleData = class
private
FChA, FChB : TSingleDynArray;
FSamp... |
unit uFrmNewItems;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, VirtualTrees,
ExtCtrls, StdCtrls, ComCtrls, ImgList;
type
TfrmNewItems = class(TForm)
lstItems: TListView;
Splitter1: TSplitter;
Panel1: TPanel;
btnCancel: TButton;
btnOk: T... |
unit UConsole;
interface
uses
SysUtils, Classes, QGraphics, QControls, SyncObjs,
QForms, QDialogs, QStdCtrls, QComCtrls, QMenus,
Qt, // For key codes
UXfit, UData, QTypes, QExtCtrls;
type
TConsole = class (TForm)
Status: TStatusBar;
Menu: TPopupMenu;
ChangeFont: TMe... |
unit BeRoStream;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpui386}
{$define cpu386}
{$endif}
{$ifdef cpu386}
{$asmmode intel}
{$endif}
{$ifdef cpuamd64}
{$asmmode intel}
{$endif}
{$ifdef FPC_LITTLE_ENDIAN}
{$define LITTLE_ENDIAN}
{$else}
{$ifdef FPC_BIG_ENDIAN}
{$define BIG_ENDIAN}
{... |
unit Helpers.HelperDateTime;
interface
uses
System.SysUtils;
type
THelperDateTime = record helper for TDateTime
procedure Encode(Dia, mes, ano: Word);
procedure EncodeStr(Dia, mes, ano: string);
procedure ReplaceTimer;
procedure SetDateNow;
function FormatoDataBr: string;
function Forma... |
unit CouchbaseTest;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls , CouchbaseFacade_TLB, CouchbaseLiteManager_TLB, ActiveX;
type
TForm1 = class(TForm)
GroupBox1: TGroupBox;
Button1: TBut... |
UNIT ArExScanner;
INTERFACE
TYPE
(* Symbol scanned by scanner *)
Symbol = (
unknownSym,
plusSym, minusSym, multSym, divSym, leftParSym, rightParSym,
numberSym
);
(* Initializes the scanner with a new input *)
(* IN input: Text of arithmetic expression to scan. *)
(* Automatically... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-10, FILE=DEV225, ... |
unit Menu.MainMenu;
interface
{$INCLUDE Defines.inc}
uses
Classes,
Menu.CustomPopupMenu, eePlugin, Vcl.Menus;
type
TMainMenu = class(TCustomPopupMenu)
private
protected
procedure MenuItemClicked(Sender : TObject);
procedure OpenKeyFile(Sender : TObject);
procedure ShowAbout... |
unit FileManager.Providers.Response.Intf;
interface
uses
System.Classes, System.JSON;
type
{$SCOPEDENUMS ON}
TResponseType = (Success, Error);
{$SCOPEDENUMS OFF}
IResponse = interface
['{F33DB866-8E0B-4FB8-BE38-8BFAFFADC00A}']
function GetRequiredFields: TStringList;
function GetErrorMessage: stri... |
unit TestStringCalculatorAdd;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpcunit, testutils, testregistry,
uHelperCalculator, ustringcalculator, uValidator, uParser;
type
{ TTestStringCalculator }
TTestStringCalculator= class(TTestCase)
private
FStringCalculator: TStringCalculator;
FP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.