text stringlengths 14 6.51M |
|---|
// Marcello Mello
// 28/09/2019
unit lps.runner;
interface
uses
Classes,
VCL.Dialogs,
System.SysUtils,
Generics.Collections,
lps.types,
IOUtils;
type
TSSLangRunner = class
private
FHadError: Boolean;
procedure Error(LineNro: Integer; Msg: string);
procedure Report(LineNro: Integer; Wher... |
unit TSysCtbAux;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit SRP6_LockBox;
{$H+}
interface
uses
LbBigInt, LbClass, LbCipher;
type
TSRP6 = packed record
Login: String;
LP_HASH: array [0..19] of Byte;
SRP6_N: array [0..31] of Byte;
SRP6_Salt: array [0..31] of Byte;
SRP6_sB: array [0..19] of Byte;
SRP6_B: array [0..31] of Byte;
SRP6_v: array... |
unit ufrmCategoria;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UBase, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, uControllerCategoria,
uModelCategoria, uDMCategoria, Vcl.M... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.4-7, FILE=DEV064, C... |
unit SoundElement.Types;
interface
uses
SysUtils,
Contnrs;
type
SoundElementModuleException = Exception;
TNotifyAnonEvent = reference to procedure(Sender: TObject);
// TSoundElementObjectArray is intended to be a light
// weight object list component. Right now it
// wraps an object list class. Late... |
{ ******************************************************************
Minimization of a function of several variables by the
Broyden-Fletcher-Goldfarb-Shanno (BFGS) method
Modifications
20120210 Alex Vergara Gil
Ported to class design
******************************************************************... |
unit Exercicios.View.Interfaces.Forms.Validator;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Exercicios.View.Interfaces,
Exercicios.View.Validator;
type
TfrmValidador = class(TForm)
E... |
unit XEngine.Color;
interface
uses
XEngine.Default;
type
TRGB = record
R, G, B: UInt8;
function ToString: Str;
end;
TRGBA = record
R, G, B, A: UInt8;
function ToString: Str;
end;
implementation
function TRGB.ToString: Str;
begin
Result := StringFromVarRec(['R: ', R, ', G: ', G, ', B:... |
{*******************************************************************************
Title: T2Ti ERP
Description: Classe de controle do tipo de pagamento.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated do... |
unit DelphiMaps.GeoCoderXML;
interface
uses xmldom, XMLDoc, XMLIntf;
type
{ Forward Decls }
IXMLGeocodeResponseType = interface;
IXMLResultType = interface;
IXMLResultTypeList = interface;
IXMLAddress_componentType = interface;
IXMLAddress_componentTypeList = interface;
IXMLGeometryType ... |
////////////////////////////////////////////////
// Unit : IP2Loc_DBInterface.pas //
// Version : 8.2.0 //
// Date : April 2023 //
// Translator: IP2Location //
// Email : support@ip2location.com //
// License :... |
unit AdvancedViewRestriction;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyGraphics, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools, BitmapCache;
const
msgEmitLight = $46;
idAdvViewRestrict... |
unit B2.SmoothedParameter;
interface
type
// NOTE: TSmoothParameter uses a lowpass RC filter / leaky integer to smooth
// value changes.
TSmoothedParameter=class
private
fTargetValue: double;
fCurrentValue: double;
fSmoothingTime: double;
fSampleRate: double;
procedure SetSm... |
unit UHashTable;
interface
uses ULinkedList, UEntries, Grids, Classes, UMovie;
const
TABLE_SIZE = 50;
type
THashTable = class
private
table: array[0..TABLE_SIZE-1] of TLinkedList;
function hash(key: TKey): integer;
public
constructor Create;
function count:integer;
proce... |
UNIT BAIRSTOW;
{ unité BAIRSTOW - version 2.0 }
{ René DEVICHI - 1990 }
{ permet de trouver les zéros réels d'un polynôme:
on place le polynôme en mémoire par InitialisePolynome()
et on obtient la racine par la function ZeroP(trouve)
trouve est un booléen qui est vrai si la valeur renvoyée est une racine,
fa... |
{
Crafting Interpreters
https://craftinginterpreters.com/
}
unit token;
{$ifdef FPC}
{$mode delphi}
{$endif}
interface
uses
Classes, SysUtils, Generics.Collections
, ptypes;
type
TTokenKind = (
// Single-character tokens.
tkLEFT_PAREN, tkRIGHT_PAREN, // ( , )
tkLEFT_BRACE, tkRIGHT_BRACE, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.6.5-8, FILE=ERR61P... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.7.2.2-11, FILE=ERR65... |
unit uDMConnection;
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.VCLUI.Wait,
Data.DB, FireDAC.Comp.Client, FireDAC.Phys.FB, FireDAC.... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
PROGRAM StackOOPTest;
USES
StackOOP;
// using class Stack with DYNAMIC object(s):
VAR
p: ^Stack; // p is a pointer to a "future" object
ok: BOOLEAN;
value: INTEGER;
BEGIN
New(p); // now a dynamic object is instanciated on the heap
p^.Init;
p^.Push(3, ok);
WriteLn(p^.IsEmpty);
p^.... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-23, FILE=CONF181, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-8, FILE=DEV036, CLA... |
unit Atualizacao.Concret.FTP;
interface
uses
System.Zip, WinInet, System.IOUtils,
IdException, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdExplicitTLSClientServerBase, IdFTP,
System.SysUtils, Exceptions, System.IniFiles, Utils.Funcoes, Helpers.HelperString,
IdFTPCommon, Atualizacao.Abstract.... |
unit UnitRescaling2D;
interface
uses
Windows,
UnitUserTypes;
type tRescalingInfo = packed record
SrcWidth, SrcHeight: Integer;
DstWidth, DstHeight: Integer;
SrcData, DstData: PByte; // Must be allocated
end;
type PRescalingInfo = ^tRescalingInfo;
type ARescalingInfo = array of tResca... |
unit BusinessObjects;
interface
uses
ObjectsMappers;
type
TBaseBO = class
private
FID: Integer;
procedure SetID(const Value: Integer);
public
procedure CheckInsert; virtual;
procedure CheckUpdate; virtual;
procedure CheckDelete; virtual;
property ID: Integer read FID w... |
unit cxBoldEditRepositoryItems;
interface
uses
cxEdit,
cxBoldEditors,
cxBoldExtLookupComboBox,
cxBoldLookupComboBox;
type
TcxEditRepositoryBoldStringItem = class(TcxEditRepositoryItem)
private
function GetProperties: TcxBoldTextEditProperties;
procedure SetProperties(Value: TcxBoldTextEditPropert... |
unit u3DBConParam;
interface
Uses
SysUtils, Classes, StdCtrls, u2ParamIO;
Type
// DB のタイプ(メモリ内でのみ使用)
K2DBType = (
k2dbtUnknown, // 不明
k2dbtSQLite, // SQLite
k2dbtFirebird, // Firebird
k2dbtMySQL // MySQL
);
Type
Tu3DBConParam = class(Tu2ParamIO)
private... |
unit ufrExecuteScript;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ufrBaseConn, ufrUniDacConn, StdCtrls, IniFiles,
uExecuteScript;
type
TfrmExecuteScript = class(TFrame)
pnlDBConn: TPanel;
pnlScript: TPanel;
frUniDacConn: TfrUniDac... |
unit Wait4D;
interface
uses
System.SysUtils,
Vcl.Forms,
Wait4D.Interfaces;
type
TWait4D = class(TInterfacedObject, iWait4D)
private
FNotificador : iWait4DNotificador;
FNotificacao : iWait4DNotificacao;
FForm : TForm;
FProcess : TProc;
public
constructor Create;
destructor Destroy;... |
unit uGuiFeedbackData;
interface
uses
Lucidity.Interfaces,
uConstants,
Lucidity.Enums,
Lucidity.SampleMap;
type
TGuiFeeback_SampleBounds = record
ShowRealTimeMarkers : boolean;
ShowPlaybackBounds : boolean;
PlaybackStart : integer; // Usually sample start or loop start
Pla... |
unit DAO.RTTI;
interface
type
TAttrType = (tpString, tpCurrency);
TableName = class(TCustomAttribute)
private
FTableName: String;
procedure SetTableName(const Value: String);
published
constructor Create ( aTableName : String );
property TableName : String read FTableName write SetTableName;... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.2-3, FILE=LEV1F26... |
unit TestmlBaseLoader;
interface
uses
TestFramework,
Windows,
Classes,
SysUtils,
mlBaseLoader,
mlTypes,
TestConstants;
type
// Test methods for class TSingleLoader
TestTMlBaseLoader = class(TTestCase)
private
fMemStream: TMemoryStream;
fMlBaseLoader: TMlBaseLoader;
fEventCalled: Boole... |
{
* Help dialog form for IStreamWrap Stream Library Demo Program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmIStreamWrapHelp;
interface
uses
// Delphi
StdCtrls, ComCtrls, Classes, Controls, Forms;
{$IFD... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.2-5, FILE=LEV1F28... |
unit HTTPWebsocketClient;
interface
uses
Classes,
WinApi.Windows,
IdHTTP,
Types,
IdHashSHA,
IdIOHandler,
IdException,
IdBuffer,
IdGlobal,
Idwinsock2,
IdSSLOpenSSL;
type
TWSDataType = (wdtText, wdtBinary);
TWSDataCode = (wdcNone, wdcContinuation, wdcText, wdcBinary, wdcClose, wdcPi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-10, FILE=CONF150, CLASS... |
object ToolTip: TToolTip
Left = 0
Top = 0
BorderStyle = bsDialog
Caption = 'ToolTip'
ClientHeight = 634
ClientWidth = 455
Color = clBtnFace
DockSite = True
Font.Charset = ANSI_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = #47569#51008' '#44256#46357
Font.Style = []
OldCreat... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.3-3, FILE=LEV1F34... |
unit VamLib.Utils.ObjectEnumerator;
interface
// Fun with enumerators
// http://www.thedelphigeek.com/2007/03/fun-with-enumerators-part-6-generators.html
{
I built this object enumerator. It converts an array of objects into an enumerator
that can be used in "for-in" loop constructs. It would
be more efficient... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }
... |
unit VamGuiControlInterfaces;
interface
uses
Classes,
Vcl.Controls;
// This is a collection of interfaces GUI controls can implement so that the
// EasyEffect VST template can interact with them programmatically.
type
TKnobMode = (PositionEdit, ModEdit);
// The knob control is for the standard VST synth ty... |
unit eeAudioFilePreviewPlayer;
interface
uses
{$IFNDEF VER230}
eeSampleLoader,
{$ENDIF}
eeSampleFloat,
eeSampleInt,
eeSimpleGate,
VamLib.MoreTypes, eeAudioFilePreviewPlayerVoice;
const
kPreviewVoiceCount = 4;
type
PPreviewSampleProperties = ^TPreviewSampleProperties;
TPreview... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.2-1, FILE=DEV127, C... |
{==============================================================================|
| Project : Delphree - Synapse | 001.001.001 |
|==============================================================================|
| Content: Library base ... |
{==============================================================================|
| Project : Delphree - Synapse | 002.001.000 |
|==============================================================================|
| Content: HTTP client ... |
unit ioconfig;
{$mode objfpc}{$H+}
interface
uses classes;
const
domoticzURL : string = 'http://localhost:8080/json.htm?type=devices&filter=all&used=true&order=Name';
cMailSrv : string = 'your-mail-server';
cMailPort : string = '25';
cMailUser : string = 'iot@example.com';
cMailPass : string = 'a... |
unit FileManager.Providers.Controllers.Base;
interface
uses
System.SysUtils, System.Classes, FileManager.Providers.Constants, FileManager.Providers.Request, FireDAC.Comp.Client,
FileManager.Providers.Response.Default, FileManager.Providers.Response.Intf, Winapi.Windows, System.Math, System.StrUtils;
type
TFile... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.4.6-13, FILE=ERR11P,... |
unit SubscriptionDataTest;
interface
uses
DUnitX.TestFramework, System.JSON;
type
[TestFixture]
TSubscriptionOutcomeDataTest = class(TObject)
public
// Test suit for creating an instance from json
// Partition the input as follows:
// 1. key "url": absent, "" (empty), "www.google.com"
// 2. ... |
unit uUtlAlert;
interface
procedure showAlert(msg: string);
procedure showError(msg: string);
procedure showInformation(msg: string);
function showQuestion(question: string): Boolean;
procedure showWarning(msg: string);
implementation
uses
Vcl.Forms, Winapi.Windows;
procedure showAlert(msg: string);
begin
Appl... |
{**************************************************************************************************}
{ 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 h... |
unit uConstants;
interface
{$INCLUDE Defines.inc}
uses
VamLib.ZeroObject,
VamLib.MoreTypes,
//Lucidity.PluginParameters,
SysUtils,
eeEnumHelper,
Lucidity.Enums,
Messages, eePluginSettings;
const
kCompany = 'One Small Clue';
kProductName = 'Grace';
kProduct = 'Grace';
kProductVersion = '1.0';
... |
unit UpdatePacket;
interface
uses
Windows, Dialogs, SysUtils,
UpdateFields, logs;
const
upkt_buf_size = ((PLAYER_END*4)+(PLAYER_END div 8)+1024);
type
Tupkt=object
maxBits: word;
blocks: word;
data_ofs: longword;
buf: array[0..upkt_buf_size] of byte;
procedure Init(pkt_maxBits: word);
... |
unit confRsa;
interface
uses Inifiles, SysUtils;
Type
TConfigRSA = Class
N :int64;
E :int64;
D :int64;
procedure updateRSAConfig(Arquivo:String);
Procedure GetAllRSAConfig(Arquivo:String);
Procedure setConfRSAChavePublica(N,E:int64);
Procedure setConfRSAChavePrivada(D:int64)... |
{*************************************************************************}
{ TDBSECTIONLISTBOX component }
{ for Delphi & C++Builder }
{ version 1.0 }
{ ... |
unit UnitCom;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
Windows, ActiveX, Classes, ComObj, ProjectCom_TLB, StdVcl, Vcl.Forms,
VCLTee.TeEngine, VCLTee.Chart, VCLTee.Series, Math;
type
TDynamics = class(TComObject, IDynamics)
private
_Force: extended;
_Frequency1: extended;
_Frequency2: extended;... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
unit CadTOpe;
{*************************************************************************}
{* *}
{* 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 h... |
{ Дана строка, представляющая собой запись числа в десятеричной системе счисления.
Преобразовать ее в строку, представляющую собой запис числа в восьмеричной системе счисления. }
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm... |
unit VamVst2.VstEvent;
interface
uses
VamVst2.DAEffectX;
procedure WriteMidiEventToVstEvent(const Dest : PVstEvent; const Status, Channel, Data1, Data2, Deltaframes: integer);
procedure ReadMidiEventFromVstEvent(const Source : PVstEvent; out Status, Channel, Data1, Data2, Deltaframes: integer);
implementation
pr... |
unit UnitControl;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Tabs, ComCtrls, ExtCtrls, StdCtrls, ADODB, UnitMain;
type
TFrameControl = class(TFrame)
PageControlMain: TPageControl;
TabSheetBasicSettings: TTabSheet;
TabSheetDataControl: TTabShe... |
unit VamLib.Types;
interface
uses
SysUtils,
WinApi.Windows,
SyncObjs;
type
EVamLibException = class(Exception);
EStringListError = class(Exception);
TVamInterfacedObject = class(TInterfacedObject)
public
procedure AfterConstruction; override;
procedure BeforeDestruction; override;
end;
//... |
Unit NFS_OptionsUnit;
Interface
Uses
Classes, Forms, Graphics, TabCtrls, Buttons, StdCtrls, Spin,Dialogs,uString,SPIN,NFS_LanguageUnit,
INet;
Type
TFormNFSOption = Class (TForm)
TabbedNotebook1: TTabbedNotebook;
GroupBoxAttribute: TGroupBox;
GroupBoxFileCache: TGroupBox;
rbAttributeCacheS: TRad... |
unit ProgCfgUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Forms,
Contnrs, Registry,
Supla_proto;
type
TGuid = record
dt: TSuplaGuid;
function getAsString: string;
function getAsHumanString: string;
function loadFromStr(s: string)... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-4, FILE=IMDEFB29, C... |
unit Test.Lucidity.ProgramFileUtils;
interface
uses
WatchTower;
type
TLucidity_ProgramFileUtils = class(TWatchTowerTest)
private
public
[Test]
procedure FindPossibleSamplePaths_TestA;
[Test]
procedure FindPossibleSamplePaths_TestB;
[Test]
procedure FindPossibleSamplePaths_TestC;
... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit CalcularPreco.Constantes;
interface
uses
CalcularPreco.Tipos,
CalcularPreco.Calculadora,
CalcularPreco.Calculadora.Atacado,
CalcularPreco.Calculadora.Varejo,
CalcularPreco.Calculadora.Feriado;
const
MODALIDADE_PRECO_NOME: array[TModalidadePreco] of string = ('Atacado', 'Varejo', 'Feriado' );
... |
unit uCMInput;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DBCtrls, Grids, DBGrids, DBClient, MConnect, SConnect,
ObjBrkr, StdCtrls, Buttons, ExtCtrls, ComCtrls, Spin, StrUtils,// shellapi,
Menus, uLang, IniFiles;
type
TfCMInput = class(TForm)
... |
unit CadPorto;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights... |
unit ee3AddOn.ParameterManager.StaticVstV3;
{
Static VST Parameter Manager is designed for VST plugins
with relatively simple VST parameter setups. Typically this
will be suitable for plugins with a limited number of parameters
that perform one function. It's a good match for plugins
that mimic hardware wher... |
UNIT Parser;
INTERFACE
(*
* Parses the input and calculates the arithmetic value if the parsing was successful.
* IN input: string with operators and operands.
* OUT value: calculated value. Undefined if Parse returns false.
* RETURN: true if input string was a valid arithmetic string else false.
*)
FUNCTION Parse(in... |
unit DM;
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.Phys.SQLite,
FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs, FireDAC.FMXUI.Wai... |
{==============================================================================|
| Project : Ararat Synapse | 002.001.002 |
|==============================================================================|
| Content: SSL support ... |
{
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit TestPJStreamWrapper;
{$UNDEF SUPPORTS_TSTREAM64}
{$UNDEF REQUIRES_TYPES_UNIT}
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
{$LEGACYIFEND ON} //... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CommTypes, CommDev, StdCtrls, POSButtons, POSChkBox, ComCtrls;
type
TForm1 = class(TForm)
ckInvPrinterStatus: TPOSCheckBox;
cdInvPrinterDefaultReset: TPOSCheckBox;
Button1: TPOSButton;
... |
unit unt_const;
interface
uses
Windows;
const
HDF_SORTNONE = $0000;
HDF_SORTDOWN = $0200;
HDF_SORTUP = $0400;
lfMarlett: LOGFONT =
(lfHeight: -15;
lfWidth: 0;
lfEscapement: 0;
lfOrientation: 0;
lfWeight: FW_MEDIUM;
lfItalic: 0;
lfUnderline: 0;
lfStrikeOut: 0;
... |
unit DContacts.Registration;
interface
uses
Spring.Container;
procedure RegisterTypes(const container: TContainer);
implementation
uses
FMX.Forms,
FireDAC.Comp.Client,
DContacts.Controllers.Contact,
DContacts.Models.Entities.Contact,
DContacts.Modules.Connections.Interfaces,
DContacts.Modules.Co... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-3, FILE=DEV147, C... |
unit hexedit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, ExtCtrls, Math,
Clipbrd, StdCtrls, forms;
const HE_maxByteLength=6+(16*3);
const HE_maxLineLength=HE_maxByteLength+16;
type
TSLtype=(slAddress, slBytes, slCharacters);
TOnEditByte = procedure(sender: TObject... |
unit Datamodule;
interface
uses
Data.DB,
FMX.Objects,
FireDAC.Comp.Client,
FireDAC.Comp.DataSet,
FireDAC.DApt,
FireDAC.DApt.Intf,
FireDAC.DatS,
FireDAC.FMXUI.Wait,
FireDAC.Phys,
FireDAC.Phys.Intf,
FireDAC.Phys.SQLite,
FireDAC.Phys.SQLiteDef,
FireDAC.Stan.Async,
FireDAC.Stan.Def,
FireDA... |
unit EasyEffect.AudioOutputController.BufferedR8Brain;
interface
{$INCLUDE Defines.inc}
uses
EasyEffect.AudioOutputController.Custom,
VamAudio.R8BrainWrapper, eeMultiChannelBuffers,
DAEffect, VamLib.MoreTypes;
const
kBufferSizeFactor = 4;
type
TVstAudioOutputController = class(TCustomVstAu... |
unit UExecuteThread;
interface
uses
Classes, adodb, forms, controls, activex, db;
type
TExecuteThread = class(TThread)
private
tQry: TADOQuery;
FConstring: string;
FTerminated: Boolean;
FTsql: string;
procedure setConstring(const Value: string);
procedure setTerminated(const Value: Bool... |
unit VamAudio.RealTimeDecimationFilter;
interface
// This unit contains decimation filters. They reduce the bandwidth and sampling rate of
// a signal together in one step.
// Internally, they are using polyphase IIR filters. These filters are relatively efficient
// because they operate at the lower, output samplera... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.8.3.9-22, FILE=ERR77... |
unit soLfo.WaveTableLfo;
interface
{$INCLUDE Defines.inc}
{$EXCESSPRECISION OFF}
{$SCOPEDENUMS ON}
uses
Math,
VamLib.Utils,
eeOscPhaseCounter,
eeDsp;
type
TWaveTableLfoShape = (Sine, Tri, Sqr, Saw, Ramp);
TWaveTableLfo = class
private
fSampleRate: single;
fBpm: single;
fPhaseOffset: singl... |
unit SimpleThreadedQueueLL;
interface
uses
Windows, SysUtils, Classes, SyncObjs;
type
TSimpleThreadedQueue<T> = class
strict private type
TNode<T> = record
Next: ^TNode<T>;
Data: T;
end;
strict private
FCriticalSection: TRTLCriticalSection;
FHeadNode, FTailNode: ^TNode<T>;
FSe... |
program M3wPGinCLIServer;
{$MODE DELPHI}
{$H+}
{.DEFINE DEBUG}
{$IFDEF UNIX}
{$DEFINE UseCThreads}
{$ENDIF}
uses
{$IFDEF UNIX}
{$IFNDEF DEBUG}
cmem,
{$ENDIF}
{$IFDEF UseCThreads}
cthreads,
{$ENDIF}
{$ENDIF}
Classes, SysUtils, CustApp, GinClasses, GinServer, TCPTypes, TCPServer,
blcksock, synsoc... |
unit eeSkinImageLoader.VCL;
interface
uses
Windows, Graphics, Contnrs;
type
TSkinImageLoader = class
private
fSkinItemList: TObjectList;
fSkinDirectory: string;
protected
function LoadFromResource(ResourceName:string; var Dest:TBitmap):boolean;
function LoadFromSkinDir(const Ski... |
unit guiAutoManOnOff;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TFormAutoManOnOff = class(TForm)
Label1: TLabel;
lblNextMode: TLabel;
btnNextMode: TButton;
lblCurrentMode: TLabel;
lblDevice: TLabel;
btnOnOf... |
unit XmlInterpreterVisitors;
interface
uses
XmlInterpreter,
System.Classes;
type
TXmlPrettyPrinter = class(TXmlInterpreterVisitor)
private
FList: TStringList;
FIndent: Integer;
private
function GetText : string;
protected
procedure AddString(AStr: string);
public
... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit utils;
{$mode objfpc}{$H+}
interface
uses
glut,glu,gl;
function GetTotalTime: Single;
function GetDeltaTime: Single;
procedure FrameRendered(Count: Integer = 1);
function GetFPS: Single;
function glGetViewportWidth: Integer;
function glGetViewportHeight: Integer;
procedure glWrite(X, Y: GLfloat; Font: Po... |
unit BeRoStringTree;
{$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}
... |
{ ******************************************************************
Skewness and kurtosis
****************************************************************** }
unit uskew;
interface
uses
utypes, uConstants;
function Skewness(X: TVector; Lb, Ub: Integer; M, Sigma: Float): Float;
function Kurtosis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.