text stringlengths 14 6.51M |
|---|
program FeldSort (input, output);
const
FELDGROESSE = 5;
type
tIndex = 1..FELDGROESSE;
tFeld = array[tIndex] of integer;
var
index : tindex;
EingabeFeld : tFeld;
function FeldMinimumPos (
Feld : tFeld;
von,bis : tIndex) : tIndex;
var
MinimumPos,
j: tIndex;
begin
MinimumPos := von;
for... |
unit eeSampleInt;
interface
uses
VamLib.MoreTypes, eeCustomSample, eeSampleIntF;
const
OneOver32767 = 1 / 32767; //One over size(SmallInt)
type
TSampleInt = class(TCustomSample, ISample)
private
fCh1: TArrayOfSmallInt;
fCh2: TArrayOfSmallInt;
protected
function GetSampleMem(ChannelCount, Sampl... |
program areaCirculo;
{
@Author : Samuel T. C. Santos
@version 10.11.2011
}
var
raio, area : real;
begin
write('Raio ? ');
read(raio);
area := Pi * raio * raio;
writeln('Area = ', area:5:2);
end. |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-2, FILE=CONF145, CLASS=... |
unit ReliefSettings;
interface
uses SysUtils, Graphics, IniFiles, Panel;
type
TReliefOptions = class
private const
_Def_Color_Pozadi = clBlack;
_Def_Color_Mrizka = clGray;
_Def_Color_Kurzor = clYellow;
_Def_Color_Kurzor_OnObject = clRed;
_Def_Color_Kurzor_Operation = clFuchsia;
_Def_Colo... |
program prefakturace(polozka : Integer = 1;
zpusobPlatby : string = '-';
formaObjednavky : string = '-';
stredisko : string = '-';
zpusobPlatby : string = '-';
zpusobOdberu : string = '-';
kniha : string = '21');
info
Title = '';
Keywords = '';
Author = 'Správce systému K2';
end;
uses
u_fap,
u_book,
... |
unit RecordArrivedNotifierUnit;
interface
uses
DataLinkReflectorUnit, Classes;
type
TCustomRecordArrivedNotifier = class(TCustomDataLinkReflector)
strict private
FRecNo: Integer;
FOnArriveRecord: TNotifyEvent;
strict protected
procedure ActiveChanged(Sender: TObject); override;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.4-2, FILE=CONF138, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.4-2, FILE=ERR43T, C... |
{*******************************************************************************
* Created by Vladimir Georgiev, 2014 *
* *
* Description: ... |
unit Utils.Crypt;
interface
uses
System.SysUtils, DCPrc4, DCPsha1;
type
TCrypt = class
private
class function StringCripty(chave, buffer: string; Cript: Boolean): string;
public
class function CriptografaString(chave: string; buffer: string): string;
class function DecriptografaString(chave: str... |
unit UnitBasetextureManager;
interface
uses
SysUtils,
Windows,
Classes,
Graphics,
OpenGL,
UnitOpenGLext,
UnitOpenGLErrorManager,
UnitUserTypes,
UnitVec,
UnitTexture;
const
BASETEXTURE_LODS = 4; // by WAD3 specification.
BASETEXTURE_SIZE_MIN = 16; // minima... |
unit ucodebasejna;
interface
uses
FMX.Controls,System.Classes,
//Database Components for TMyConnection and TMyQuery
Data.DB, DBAccess, MyAccess, MemDS,
//for execeptions
Sysutils,
//for Indy
IdComponent, IdTCPConnection,
IdTCPClient, IdHTTP,
//
strutils,
//f... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-23, FILE=DEV148, ... |
program main;
{$mode Delphi}
{$GOTO ON}
// TURNING ON DEBUGGING FOR ME (MAC) ONLY
{$IFDEF Darwin}
{$DEFINE DEBUG}
{$ENDIF}
{$IFDEF DEBUG}
{$WARNING This code compiling with log messages}
{$ENDIF}
// Маркер для завершения программы с выводом результата на экран. Используется
// когда становится известно, что т... |
{
This unit provides extension methods for VamSampleMap.pas.
The methods provided are for sorting the sample regions on a sample map.
It is intended this unit will only be used by VamSampleMap.
The sorting methods were moved into this unit to avoid cluttering the
main unit.
}
unit VamSampleMap.Sorting;
inte... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.1-1, FILE=CONF088, CLASS=... |
(* Pascal *)
program Hello;
begin
writeln ('Hello, world.');
end.
|
unit HexUnit;
interface
//***Numbers convertion utilities***//
Function IntCheckOut(S: String): Boolean;
//Returns TRUE if S contains the valid integer value
Function HexCheckOut(S: String): Boolean;
//Returns TRUE if S contains the valid integer value or hXX style hex value
Function UnsCheckOut(S: String): Boolean;
... |
Unit SimpleQueryZeos;
interface
uses
SimpleInterface, ZAbstractConnection, ZConnection,
ZAbstractRODataset, ZAbstractDataset, ZAbstractTable, ZDataset, System.Classes, Data.DB;
Type
TSimpleQueryZeos = class(TInterfacedObject, iSimpleQuery)
private
FConnection : TZConnection;
FQuery : TZQuery;
... |
unit MVCFramework.SysControllers;
interface
uses
MVCFramework;
type
[MVCPath('/system')]
TMVCSystemController = class(TMVCController)
protected
procedure OnBeforeAction(Context: TWebContext; const AActionNAme: string;
var Handled: Boolean); override;
function GetUpTime: string;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.2-4, FILE=DEV001, CLA... |
namespace Moshine.Web.MVC.Helpers;
interface
uses
Moshine.Web.Helpers,
System,
System.Collections,
System.Collections.Generic,
System.IO,
System.Linq,
System.Runtime.CompilerServices,
System.Web.Mvc,
System.Web.UI;
extension method HtmlHelper<TModel>.DataGrid<T,TModel>:String; where TModel is cla... |
unit Authentication;
interface
uses
MVCFramework.Commons, MVCFramework, System.Generics.Collections, System.SysUtils;
type
TAuthentication = class(TInterfacedObject, IMVCAuthenticationHandler)
public
// called at each request to know if the request requires an authentication
procedure OnRequest(const A... |
uses System;
type Greeting = interface
function Greet(self: Self);
end;
type HelloWorld = class
end;
function Greeting.Greet(self: HelloWorld)
begin
WriteLn('Hello, world');
end;
function Greeting.Greet(self: String)
begin
WriteLn('Hello, ' + self);
end;
let hw := HelloWorld();
hw.Greet();
'Alice'.Gre... |
unit Data.Cloud.AmazonAPI.China.GateWay;
//AWS China API API GateWay 接口
//参考 Data.Cloud.AmazonAPI
//有兴趣可以自行测试
//Bug:371889755@qq.com
interface
uses
System.Classes,
System.JSON,
System.SysUtils,
System.Generics.Collections,
Data.Cloud.CloudAPI, Data.Cloud.AmazonAPI.LifeCycle,
Xml.XMLIntf,
... |
{ ******************************************************************
Minimization of a function of one variable by Golden Search method
****************************************************************** }
unit ugoldsrc;
interface
uses
utypes, uminbrak, umachar, uConstants;
procedure GoldSearch(Func... |
unit uFPrincipal;
interface
uses
System.UItypes,
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Math,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.CategoryButtons, Vcl.WinXCtrls, System.Actions,
Vcl.ActnList, FSimulacaoFinan... |
namespace RedisClassLibrary;
uses
StackExchange.Redis;
type
IConnectionMultiplexerFactory = public interface
method Connect(options:ConfigurationOptions):IConnectionMultiplexer;
method Subscribe(connectionMultiplexor:IConnectionMultiplexer):ISubscriber;
method MasterEndPoints(options:ConfigurationOp... |
unit CTObject;
interface
type
{$IF Declared(RTLVersion) and (RTLVersion >= 20.0)}
PCTChar = PChar; // PAnsiChar;
CTString = string; // AnsiString;
{$ELSE}
PCTChar = PChar;
CTString = string;
{$IFEND}
TCTObjectClass = class of TCTObject;
TCTObject = class(TObject)
private
procedure... |
unit DumpFileLoader;
{$mode objfpc}{$H+}
interface
uses
ViewTypes;
function CreateDumpFileLoadTask(const FilePath: string): TLayoutLoadTask;
implementation
uses
SysUtils, laz2_XMLRead, laz2_DOM, Logging;
type
{ TDeviceMonitorDumpLoadTask }
TDeviceMonitorDumpLoadTask = class(TLayoutLoadTask)
private
... |
unit UConfigsom;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
cmpMidiMixer, ComCtrls, StdCtrls, Buttons, Wordcap;
type
TF_ConfigSom = class(TForm)
MidiMixer1: TMidiMixer;
GroupBox1: TGroupBox;
Label1: TLabel;
Label2: TLabel;
tbPan: T... |
unit Lucidity.Options;
interface
uses
VamLib.Collections.RecordArray;
type
PSoundEditorInfo = ^TSoundEditorInfo;
TSoundEditorInfo = record
ApplicationName : string; // Name of the application to show in menus etc.
ApplicationExe : string; // Filepath to executable.
end;
TSoundEditor... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.1-11, FILE=DEV239, CL... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.1-5, FILE=DEV113, CLA... |
// Copyright (C) 2000-2005 ABplus kazhida.
// All rights reserved.
// $Id: ABGrids.pas 1304 2009-11-17 07:14:05Z kazhida $
// $Author: kazhida $
//
unit ABGrids;
interface
{:Note::
ABplus特製グリッド・コントロール
TABSmartGrid
--- いろんな便利操作を加えたStringGrid
リスト選択入力もできるようになっている
背景やテキストのAlignを変更可能
... |
unit RedFoxImageBuffer;
interface
uses
WinApi.Windows,
Graphics,
Agg2D,
AggWin32Bmp,
RedFox,
RedFox2D,
RedFoxColor;
type
TRedFoxImageBuffer = class
private
fBufferInterface: TAgg2D;
fBufferAsImage: TAgg2dImage;
fWidth: Cardinal;
fHeight: Cardinal;
fRedFox2D: TRedFox2D;
fBitm... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.4.6-9, FILE=ERR07P, ... |
unit uEndereco;
interface
type
TDescricao = class(TCustomAttribute)
private
FDescricao: string;
public
constructor Create(const Descricao: string);
property Descricao: string read FDescricao;
end;
TEndereco = class
private
FLogradouro: string;
FIBGE: string;
FBa... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.2-3, FILE=CONF037, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.4-1, FILE=CONF131, CLAS... |
unit untFunc;
interface
uses
Windows, WinSvc;
function SetAsDiskFilter(SerName: string): Boolean;
function SetAsDiskVolFilter(SerName: string): Boolean;
function SetAsDriverFilter(UUID: string; SerName: string): Boolean;
implementation
function SetAsDiskFilter(SerName: string): Boolean;
begin
result := SetAsDri... |
unit uSurveilVio;
interface
uses
SysUtils, Classes, uGlobal, uCommon, uHik, IdCustomHTTPServer, uRmService,
uEntity, uLockVio, DateUtils, uRmInf, Windows, imageenview, Vcl.Imaging.jpeg,
Graphics, QBAES;
type
TSurveilVio = Class
private
class function GetZsxxdz(hphm, hpzl: String): String;
class pro... |
unit uUtils;
interface
function GetInteger (min, max: integer; message: string): integer;
// организует диалог с пользователем для ввода целого числа,лежащего в диапазоне от min до max
// приглашение к вводу передаётся в строке message.
// при ошибке пользователя функция должна организовать повторный ввод
funct... |
{*******************************************************************************
Title: iTEC-SOFTWARE
Description: VO relational the table [MOVIMENTO]
The MIT License ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.5-4, FILE=CONF068, CLAS... |
unit ItemModel.Interf;
interface
{ * Prototype: è um padrão criacional utilizado para clonar objetos
* e suas propriedades.
*}
type
IPrototype<T> = interface
['{F08A836F-0F0C-47EF-B42E-7DD9D932E1DA}']
function Clone: T;
end;
IItem = interface
['{3373CA85-5CE0-4AE8-8BB1-248641B1FBA3}']
fun... |
unit tHnaciVozidlo;
{
Specifikace hnaciho vozidla.
}
interface
uses Classes, SysUtils, StdCtrls, Generics.Collections, tUltimateLIConst;
const
_MAX_HV = 128;
_MAX_FUNC = 28;
type
THVClass = (parni = 0, diesel = 1, motor = 2, elektro = 3);
// trida hnaciho vozidla
TFunkce = array [0 .. _MAX_FUNC] of boo... |
{ ******************************************************************
QR decomposition
Ref.: 'Matrix Computations' by Golub & Van Loan
Pascal implementation contributed by Mark Vaughan
****************************************************************** }
unit uqr;
interface
uses
utypes, ulu;
... |
unit miniprof;
{
Встраиваемый профайлер MiniProfiler 1.5
Евгений Кацевман |
Eugene Katsevman |
|
Aspi Soft, Kiev, Ukraine |
E-mail: aspi@i.kiev.ua |
http://miriada.com.ua |
Alexander Shlyahto ... |
{ ******************************************************************
Save transformations used by ElmHes
****************************************************************** }
unit ueltran;
interface
uses
utypes;
procedure Eltran(A: TMatrix; Lb, Ub, I_low, I_igh: Integer; I_int: TIntVector;
out Z:... |
{***********************************************
* Function for Shadow loading DLL from stream *
* get import tables, redirection table *
* and fix GetProcAdrr function *
* =============================================*
* Creating by Yuri Drigin (c) 2013 : *
* yuri.drigin@gmail.c... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.1-2, FILE=DEV191, CLA... |
// ###################################################################
// #### This file is part of the mathematics library project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2018, Michael R. . All rights reserved.
// ####
// ####... |
//说明:
// c -- 任何非控制字符 比如 a
// \c -- c的字符本义。比如 \* 表示字符*
// "s" -- 字符串s本义。比如 "**"
// . -- 除换行外的所有字符
// \n -- 换行
// * -- 0次或无限次重复前面的表达式
// + -- 1次或更多次重复前面的表达式
// ? -- 0次或1次出现前面的表达式
// ^ -- 行的开始
// $ -- 行的结... |
unit ZapMQ.Core;
interface
uses
ZapMQ.DataModule, ZapMQ.Queue;
type
TZapCore = class
private
FServer : TZapDataModule;
FQueues: TZapQueues;
FPort: Word;
procedure SetQueues(const Value: TZapQueues);
procedure SetPort(const Value: Word);
procedure LoadConfig;
public
... |
unit c_vertsb;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls,
Graphics, crDefs, Types;
type
{ TFrmVertSb }
TFrmVertSb = class(TFrame)
BtnUp: TPanel;
BtnDown: TPanel;
ScDrag: TPanel;
PnSlider: TPanel;
procedure goDrag(Sender... |
unit CalcularPreco.Operacoes;
interface
uses
CalcularPreco.Interfaces, System.SysUtils;
type
TCalculadoraDePrecoOperacoes = class(TInterfacedObject, ICalculadoraDePrecoOperacoes)
private
[weak]
FParametros: ICalculadoraDePrecoParametros;
FOnCalculated: TProc<Currency>;
FExibirProcedure: TProc<s... |
unit ViewRestriction;
interface
uses
SysUtils, Classes, Graphics, ScUtils, GR32, FunLabyUtils, Generics, Dialogs;
const
attrViewRestrictionRadius = 'ViewRestrictionRadius';
idViewRestrictionPlugin = 'ViewRestrictionPlugin';
var
attrtypeViewRestrictionRadius: Integer;
type
TViewRestrictionP... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Validator.Interfaces;
type
TForm2 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Edit1: TEdit;
Edit2: TEdit;
Butt... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* 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 applicable law or agree... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.3-10, FILE=CONF033, CLASS=C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-21, FILE=ERR42T, ... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }
... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UMaquinaDinheiro, UTroco, Vcl.ComCtrls, UExeptionExtension, Vcl.Grids;
type
TFMain = class(TForm)
edValor: TEdit;
Label1: TLabe... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.1-2, FILE=CONF002, CLASS=... |
unit ActiveQueueResponceTest;
interface
uses
DUnitX.TestFramework, AQResponce;
type
[TestFixture]
TAQResponceTest = class(TObject)
public
// Test suit for the serialization
// Partition the input as follows
// 1. status: true, false
// 2. message length: 0, > 0
// 3. token length: 0, > 0... |
{
pcRegExp - Perl compatible regular expressions for Virtual Pascal
(c) 2001 Peter S. Voronov aka Chem O'Dun <petervrn@yahoo.com>
Based on PCRE library interface unit for Virtual Pascal.
(c) 2001 Alexander Tokarev <dwalin@dwalin.ru>
The current PCRE version is: 3.7
This software may be distributed under ... |
unit FileComparator;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileHandler, Dialogs;
type
TFileComparator = class
private
FH: TFileHandler;
public
function ComprareWith(word: string): boolean;
Constructor Create(path : string); overload;
end;
implementation
constructor TFileComparat... |
unit FrmPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, uSuperClasse, uSubClasse;
type
TForm1 = class(TForm)
btnShowMessage: TButton;
procedure btnShowMessageClick(Sender: TO... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.3-5, FILE=ERR31P... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2-6, FILE=CONF030, CLASS=... |
unit Calc;
{$MODE objfpc}{$H+}
// Model calculations
// Copyright (c), 2004-2006, Roelof Oomen
interface
uses Data_defs, Uhashtable, GaussInt;
type
P_layer = class(TGaussInt) // Instantaneous layer photosynthesis integration class
protected
Pind, Pdate: integer;
Ptime: double;
pub... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-25, FILE=DEV150, ... |
unit AudioPlugin.Vst2PluginInfo;
interface
uses
VamLib.MoreTypes,
AudioPlugin.PlugMain;
type
TVst2PluginInfo = class;
TVst2PluginInfoClass = class of TVst2PluginInfo;
TVst2PluginInfo = class
private
FPlug: TAudioPlug;
protected
property Plug : TAudioPlug read FPlug;
public
constructor Cr... |
unit CLSShoes_u;
interface
uses
sysutils, dialogs;
type
TShoe = Class
private
fCode: String;
fBrand: String;
fGender: Char;
fColour: String;
fStock: Integer;
fPrice: Real;
public
constructor create; overload;
constructor create(sCode, sBrand: String; cGender:... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.2-3, FILE=DEV243, CLA... |
{********************************************************************}
{ AdvMemo property editore }
{ for Delphi & C++Builder }
{ }
{ written by : TMS Software ... |
Unit ProgramOptions;
Interface
Uses
Classes, Forms, Graphics, TabCtrls, Buttons, StdCtrls, ExtCtrls,NFS_NLS_IniFileUnit,MYMessageBox,NFS_IniFiles,NFS_VAR_Unit,NFS_NLS_IniFileUnit,NFS_LanguageUnit,MyPMHelp,Dialogs;
Type
TProgramSettings = Class (TForm)
TabbedNotebook1: TTabbedNotebook;
OKButton: TButton;
... |
unit eeWaveTable;
interface
uses
VamLib.MoreTypes;
type
TWaveTable = class
private
fTableLength: integer;
fWaveData: TArrayOfSingle;
fDeltaValues: TArrayOfSingle;
procedure SetTableLength(Value: integer);
public
constructor Create;
destructor Destroy; override;
... |
unit VamAudio.R8BrainResamplingBuffer;
interface
// https://code.google.com/p/r8brain-free-src/
uses
VamLib.MoreTypes, r8bsrc;
type
TResampleResolution = (res16Bit, res16BitIR, res24bit);
TR8BrainResamplingBuffer = class
private
fLatency: integer;
public
constructor Create;
destructor Destroy... |
unit FarScape.EventDispatcher;
interface
uses
Classes,
FarScape.Event;
type
TEventHandler = procedure(const ev : TFarScapeEvent) of object;
TListenerDuration = (
ldOnce, // respond to the first event only.
ldAll // respond to all events.
);
PListenerInfo = ^TListenerInfo;
TListenerInfo = re... |
unit AndroidDebugBridge;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, TaskRunner, ViewTypes, blcksock, Graphics;
const
RequestTimeout = 30000; // 30 seconds
NoTimeout = -1;
DumpWindowFileName = 'dumpwindow.txt';
type
// https://android.googlesource.com/platform/system/core/+/master/adb/OVERVIEW... |
unit B2.Filter.CriticallyDampedLowpass;
interface
uses
eeDsp,
eeBiquadFilters, eeBiquadFilterCore;
type
TCriticallyDampedLowpass = class
private
protected
FilterCore : TBiquadFilterCore;
Offset : double;
public
constructor Create;
destructor Destroy; override;
proce... |
unit eInterface.Model.Interfaces;
interface
type
TEvDisplay = procedure(Value : String) of Object;
iPessoa = interface
['{566DC842-88A7-457B-ADBF-5A112F6F5021}']
function Nome (Value : String) : iPessoa; overload;
function Nome : String; overload;
function SobreNome (Value : String) : iPessoa;
... |
unit eeMidiAutomationV2;
interface
uses
Contnrs,
VamLib.Types, VamLib.ZeroObject,
Classes, eeMidiInputSmoother;
type
ICustomMidiBinding = interface(IInterface)
['{CFBF226A-5545-469C-9DE2-C9458256D358}']
function GetMidiCC : integer;
procedure SetMidiCC(const Value : integer);
end;
TCustomMid... |
unit tUltimateLI;
{
Trida TuLI je rozhranim k uLI.
}
interface
uses SysUtils, CPort, Forms, tUltimateLIConst, Classes, Registry, Windows,
ExtCtrls, mausSlot, Graphics;
type
TBuffer = record
data: array [0 .. 255] of Byte;
Count: Integer;
end;
TuLIStatus = record
sense: boolean;
transisto... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.9-8, FILE=EXTEND3, CL... |
unit EntityUtils;
interface
uses
SysUtils, Classes, EncdDecd;
function DateTimeToISO(ConvertDate: TDateTime): string;
function IsoToDateTime(const ISOStringDate: string): TDateTime;
function StreamToString(Stream: TStream): string;
procedure StringToStream(const Text: string; Stream: TStream);
f... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2-5, FILE=CONF029, CLASS=... |
program Rectangle;
{procedure Area(length, width: integer);
var
A: integer;
begin{Area}
writeln('Your length is ', length);
writeln('Your width is ', width);
A := length * width;
writeln('Your area is ', A);
end;{Area}
begin{program}
Area(12, 4);
end.{program}}
{procedure exe13(x: integer; y: char);
begin{exe13}
wri... |
unit Utils.IO;
interface
uses
Classes;
type
TUtilsIO = class
public
class function UltimaAlteracao(aFile: string): TDateTime;
class function ListarArquivos(Diretorio, Extencao: string; SubDiretorio: Boolean): TStringList;
class procedure DeleteArquivosAntigos(aDiretorio: string; aExtenc... |
unit VamScrollBar;
interface
uses
Types, Controls, Classes, RedFox, RedFoxGraphicControl, RedFoxColor,
VamGraphicControl, VamWinControl;
type
{$SCOPEDENUMS ON}
TVamScrollBarStyle = (SquareCorners, RoundCorners, RoundCornersLeft, RoundCornersBottom);
TVamSliderType = (stVertical, stHorizontal);
TVamScro... |
unit TCPClient;
interface
uses
Classes, SyncObjs, WinSock;
//Client Status
const
CS_STOPPED = 0;
CS_CONNECTING = 1;
CS_RUNNING = 2;
CS_DISCONNECTING = 3;
CS_CONNECTFAILED = 4;
const
SEND_BUF_SIZE = 1024 * 1024;
RECV_BUF_SIZE = 1024 * 1024;
type
TTCPClient... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.8-2, FILE=CONF018, CLASS=... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-14, FILE=ERR28... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.9-1, FILE=CONF019, CLASS=... |
unit AggSvgPathRenderer;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christ... |
unit Rels;
interface
type
TXlsxRels = class(TObject)
private
public
procedure SaveToXml(basepath: String);
end;
implementation
uses
JvSimpleXml, System.SysUtils, System.IOUtils, JclStreams;
{ TXlsxRels }
procedure TXlsxRels.SaveToXml(basepath: String);
var
xmlExport: TJvSimpleXML;
filename: Stri... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.