text stringlengths 14 6.51M |
|---|
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2009 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }
... |
unit ViewServerLoader;
{$mode objfpc}{$H+}
interface
uses
ViewTypes;
function CreateViewServerWindowLoadTask(
const DeviceSerial, WindowTitle, WindowHash: string): TLayoutLoadTask;
function CreateDumpWindowFileLoadTask: TLayoutLoadTask;
implementation
uses AndroidDebugBridge, Logging, Graphics, TaskRunner, G... |
unit uFrmOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls,
VirtualTrees, ExtCtrls, StdCtrls, ToolWin, SynEditHighlighter, SynHighlighterPas, SynEdit, SynMemo,
Mask, uSharedGlobals, System.IOUtils, Vcl.Buttons, Vcl.Themes;
type
TfrmOptions = ... |
The Sierra SC11486 RAMDAC is an alternative RAMDAC for use with
the Tseng 4000 and ATI VGA Wonder XL.
It provides 15 bit RGB with 5 bits for each basic color.
When in HiColor mode each pixel occupied two bytes.
Bits 0- 4 of the pixel is the blue component.
5- 9 of the pixel is the green component.... |
{ ******************************************************************
Pascal string routines
****************************************************************** }
Unit ustrings;
Interface
Uses
utypes, uComplex, uConstants;
Function LTrim(S: String; C: Char = ' '): String;
{ -------------------------... |
unit DeliveryRepository;
interface
uses System.Generics.Collections, System.SysUtils, BasicRepository,
DeliveryBairroVO, ViewPrevendaVO, DeliveryRecebimentoVO,
DeliverymanVO, ViewDeliveryClienteVO;
type
TDeliveryRepository = class(TBasicRepository)
public
class function GetDeliveryBairro: TList<TDelivery... |
unit DataManager;
interface
uses
System.SysUtils, System.Classes, Winapi.Windows, System.Win.ScktComp, Generics.Collections,
Vcl.ExtCtrls, DateUtils, DetailBPModel;
type
TBPRspBlock = procedure(rspModel: TDetailBPModel) of object;
type
TDataManager = class(TObject)
private
class var
FInstance: T... |
program oop2;
{$MODE OBJFPC}
type
node_t = record
value : integer;
next : ^node_t;
end;
list_t = class
list : ^node_t;
procedure writelist;
procedure push(v : integer); virtual;
function pop: integer;
constructor create;
destructor free;
... |
unit GalaxyClockMain;
interface
uses
w3system, w3application, w3ctrls, w3game, w3gameapp, w3graphics, w3components;
type
TApplication = class(TW3CustomGameApplication)
private
FBackgroundImage: TW3Image;
protected
procedure ApplicationStarting; override;
procedure ApplicationClosing;... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.6-8, FILE=DEV104, CLA... |
{==============================================================================|
| Project : Delphree - Synapse | 002.000.000 |
|==============================================================================|
| Content: Library base for RAW sockets ... |
unit UnitRenderTimerManager;
interface
uses
SysUtils,
Windows;
type CRenderTimerManager = class
private
fDeltaTime, fLastTime, fFPS: Double;
fInitTimestamp: Double; // [seconds]
iFrequency: Int64;
iTmp: Int64;
//
function GetElaspedTime(): Double;
public
property ... |
unit UClassCadAlunoEndereco;
interface
uses
Data.DB;
Type
TClassCadAlunoEndereco = Class
Class function SQLCadastro: String;
Class procedure ConfigurarCampos(Fields: TFields);
End;
implementation
{ TClassCadAlunoEndereco }
class procedure TClassCadAlunoEndereco.ConfigurarCampos(Fields: TFields);
var... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Time span definition
@created(12/05/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit TimeSpan;
interface
u... |
unit FarAPI;
Interface
{$I PRJDefines.inc}
uses
Plugin,
PluginLng,
SysUtils,
Windows;
type
TInitDialogItem = packed record
ItemType: integer;
X1, Y1, X2, Y2: integer;
Focus: integer;
Selected: Bool;
{
Param: record case integer of
0: (Selected: BOOL);
... |
{
Copyright (c) 2018 Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
unit MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,
Year, Month, Week, DaySpan, TimeSpa... |
{ ******************************************************************
Non-parametric tests
****************************************************************** }
unit unonpartests;
interface
uses
utypes, umachar, uconstants;
procedure Mann_Whitney(N1, N2: Integer; X1, X2: TVector; var U, Eps: Float);
... |
program main;
{$mode objfpc}{$m+}
uses crt;
// =============================================================================
type
PlankClass = class
private
length, width: integer;
public
constructor create(l, w: integer);
function getArea(): integer;
end;
constructor PlankClass.create(l,... |
unit Book;
interface
type
BookClass = class
private
p_Name : string;
public
constructor Create(name:string);
function GetName : string;
end;
implementation
constructor BookClass.Create(name:string);
begin
p_Name := name;
end;
function BookClas... |
unit UConfigSecretaria;
interface
uses Inifiles;
Type
TConfigSecretaria = Class
DataUltimoAcesso:String;
HoraUltimoAcesso:String;
UltimaSecretaria:String;
procedure AtualizaConfig(Arquivo:String);
Procedure GetAllConfig(Arquivo:String);
Procedure DaValoresSistema(Data,Hora,Ultima... |
{
Fast DSP contains "fast" versions of regular math/DSP functions. They are fast
because they have been optimised or approximate the results of the regular function.
Some functions sacrifice numerical accuracy in exchange for execution speed.
When using these functions in place of their normal counterpa... |
{
Dew Research Samplerate Conversion
}
unit DewResearchSampleRateConversion;
interface
uses
VamLib.MoreTypes, SignalTools, SignalProcessing;
type
TDownsampler = class
private
function GetDecimationFactor: integer;
procedure SetDecimationFactor(const Value: integer);
protected
... |
unit AggSpanImageFilterRgba;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christi... |
unit IPS_Patch;
interface
Type
TPATCHSignature = Array[0..4] of Char;
TAB = Packed record
A: Byte;
B: Byte;
end;
TABCD = Packed record
A: Byte;
B: Byte;
C: Byte;
D: Byte;
end;
Const
PATCHSignature: TPATCHSignature = 'PATCH';
Procedure IPS_ApplyPatch(Patch, Data: Pointer);
Procedure IPS_PatchFile(IP... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2.8-1, FILE=DEV264, C... |
unit MainForm;
interface
uses
w3system, w3graphics, w3ctrls, w3components, w3forms, w3fonts, w3borders,
w3application, w3geolocation;
type
TForm1 = class(TW3form)
private
{$I 'MainForm:intf'}
FGeoLocation: TW3GeoLocation;
protected
procedure InitializeObject; override;
proce... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.4-2, FILE=ERR14T, CLA... |
unit Grays.Logger;
interface
uses Windows, Classes, Sysutils, Generics.Collections, System.IOUtils, System.StrUtils, System.Types;
type
TLoggerLevel = (llError, llWarning, llDebug, llInfo);
TLogger = record
private const
C_LOGSTR: array [0 .. 3] of string = ('Error', 'Warning', 'Debug', 'Info');
class... |
unit ReadWriteLock;
interface
uses
SyncObjs, Windows, SysUtils;
type
TReadWriteLock = class(TObject)
private
FReadCount: Integer;
FReadCountLock: TCriticalSection;
FDataLock: THandle;
public
constructor Create;
destructor Destroy; override;
function AcquireReadLock: Boolean;
funct... |
unit eeFastMath;
interface
function FastMath_Sign(Value:single):single; inline;
implementation
function FastMath_Sign(Value:single):single;
begin
if Value < 0 then Result := 1
else if Value > 0 then Result := -1
else Result := 0;
end;
end.
|
unit TimeMem;
interface
uses SysUtils, Windows, System.Classes;
type
TTimeMem = class(TObject)
Private
lActive: Boolean;
StartTime: TDateTime;
UsedTime: TDateTime;
// Bytes of physical memory
TotalPhys: Integer;
// Percent of memory in use
StartMemoryLoad: Integer;
... |
UNIT MPParser;
INTERFACE
PROCEDURE Parse(VAR inputFile: TEXT; VAR ok: BOOLEAN);
IMPLEMENTATION
USES MPScanner;
VAR
success: BOOLEAN;
PROCEDURE MP(VAR outFile: File); FORWARD;
PROCEDURE VarDecl; FORWARD;
PROCEDURE StatSeq; FORWARD;
PROCEDURE Stat; FORWARD;
PROCEDURE Expr; FORWARD;
PROCEDURE Term; FORWARD;
PROC... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.2-4, FILE=DEV198, C... |
unit Rest.Abstract.ClientAPI;
interface
uses
Rest.Client, Rest.types,
Rest.Authenticator.Basic,
system.SysUtils;
type
IRestClientAPI = interface
function BaseURL(aBaseURL: string): IRestClientAPI;
function Accept(aAccept: string): IRestClientAPI;
function AcceptCharset(aAcceptCharset: string): I... |
unit uLucidity.Lfo;
interface
{$INCLUDE Defines.inc}
{$SCOPEDENUMS ON}
uses
VamLib.Utils,
eeDsp,
B2.Filter.CriticallyDampedLowpass,
VamLib.MoreTypes, eeBiquadFilterCore, eeBiquadFilters,
Lucidity.Enums,
Lucidity.Types,
B2.MovingAverageFilter,
soLfo.WaveTableLfo,
soLfo.RandomLfo,
soLfo.SlopeGen,
... |
PROGRAM Main(INPUT, OUNPUT);
BEGIN
WRITELN('Main')
END. |
unit uExceptionInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ADODB, StdCtrls;
type
TErrorForm = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Edit1: TEdit;
Memo1: TMemo;
procedure FormShow(... |
unit LPTPort;
interface
type
TBit = 0..7;
TBitStatus = (bsUnspecified, bsOn, bsOff);
type
TLPTPort = class (TObject)
class function GetStatus: Byte;
class procedure SetStatus(Value: Byte);
class function GetBitStatus(Bit: TBit): TBitStatus;
class procedure SetBitStatus(Bit: TBit; V... |
{********************************************************************}
{ TAdvGridHTMLSettingsDialog component }
{ for Delphi & C++Builder }
{ }
{ written by Christopher Sansone,... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.4.1-4, FILE=CONF203, CL... |
{
X2Software XML Data Binding
Generated on: 29-9-2009 14:31:13
Generated from: P:\test\XMLDataBinding\XSD\DataBindingHints.xsd
}
unit DataBindingHintsXML;
interface
uses
Classes,
XMLDoc,
XMLIntf;
type
{ Forward declarations for DataBindingHints }
IXMLDataBindingHints = interface... |
{*******************************************************}
{ }
{ Copyright(c) 2003-2019 Oamaru Group , Inc. }
{ }
{ Copyright and license exceptions noted in source }
{ ... |
{
MIT License
Copyright (c) 2017-2018 Marcos Douglas B. Santos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... |
{-----------------------------------------------}
program Cradle;
{-----------------------------------------------}
{Constant Declaration}
const TAB = ^I;
const CR = ^M;
{-----------------------------------------------}
{Variable Declarations}
var Look: char; {Lookahead Character}
{-------------------------... |
unit AudioPlugin.Vst2Adapter;
interface
uses
Windows,
ExtCtrls,
VamVst2.MidiEvent,
VamVst2.DAEffect,
VamVst2.DAEffectX,
VamVst2.DAudioEffect,
VamVst2.DAudioEffectX,
VamVst2.MidiEventInputBuffer,
VamVst2.MidiEventOutputBuffer,
AudioPlugin.Types,
AudioPlugin.Interfaces,
AudioPlugin.PlugMain,
A... |
Unit Grafix;
interface
Uses Windows;
const
clWhite: LongInt = $00FFFFFF;
clGray: LongInt = $00808080;
clLtGray: LongInt = $00C0C0C0;
procedure Line(DC: HDC; left, top, right, bottom: Integer; Color: LongInt);
procedure DrawBitmap(DC: HDC; Pic: HBitMap; x,y,w,h: Integer; Stretch:Boolean);
procedure DrawPartOf... |
unit PRInternetAccess;
{*****************************************************************************************************}
{************** ******************}
{************** Progsan Internet User Agent Components ... |
unit tUltimateLIConst;
interface
uses Classes, SysUtils;
type
TuLILogLevel = (tllNo = 0, tllErrors = 1, tllCommands = 2, tllData = 3,
tllChanges = 4, tllDetail = 5);
TuLILogEvent = procedure(Sender: TObject; level: TuLILogLevel; msg: string)
of object;
procedure ExtractStringsEx(Separators: TSysCharSet;... |
unit SimpleRTTIHelper;
interface
uses
RTTI, SimpleAttributes;
type
TCustomAttributeClass = class of TCustomAttribute;
TRttiPropertyHelper = class helper for TRttiProperty
public
function Tem<T: TCustomAttribute>: Boolean;
function GetAttribute<T: TCustomAttribute>: T;
function IsNotNull: Boolean... |
PROGRAM ShowInterest(input, output);
VAR
principal, interest, rate : real ;
PROCEDURE GetPrincipalAndRate(VAR principal, rate : real);
BEGIN
write('Enter the principle ') ;
readln(principal) ;
write('Enter the rate ') ;
readln(rate) ;
END ;
PROCEDURE Calc... |
unit VamLib.Vcl.ZeroFrame;
interface
uses
Controls, Classes,
VamLib.ZeroObject,
Vcl.Forms;
type
TZeroFrame = class(TFrame, IZeroObject)
protected
FMotherShip : IMothership;
procedure AddMotherShipReference(aMotherShip : IMothership);
procedure RemoveMotherShipReference(aMotherShip : IMothership... |
unit uUsuarioLogado;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.ComCtrls, Vcl.Samples.Gauges, System.StrUtils, Data.Win.ADODB;
type
TProvedor = class
private... |
{*
* 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 agre... |
{
The TBufferedWorker thread is a worker thread that can be given tasks at will.
If TBufferedWorker is already busy, the new task will be placed into a queue
to be completed after the current task is finished.
}
unit eeThread.BufferedWorker;
interface
uses
OtlSync, OtlTask, OtlTaskControl, Class... |
unit uMainFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.generics.Collections,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, REST.Types, REST.Client,
Data.Bind.Components, Data.Bind.ObjectScope, Vcl.Buttons,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl... |
Unit uspline;
Interface
Uses utypes, uConstants, uinterpolation;
{ Splines }
Type
TBaseSpline = Class(TBaseInterpolation)
Protected
Function lSpline(xa, Ya: TVector; N: integer;
lder_Y1, lder_Y2: float): TVector;
Function CubicSplineInterpolation(xa, Ya, Y2a: TVector; N: integer;
... |
{------------------------------------------------------------------------------
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... |
{
******************************************++***********************************
* *
* 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.9.3.1-7, FILE=ERR85T, C... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
unit PluginAPI;
interface
const
TerminalAPIVersion = 2;
PluginAPIVersion = 1;
CreateVSTermPluginFuncName = 'CreateVSTermPlugin';
type
PTerminal = ^TTerminal;
PPlugin = ^TPlugin;
PBuffer = ^TBuffer;
TBuffer = record //For returning (string) data from functions
Data: PChar; //Data
... |
unit eePluginHotkeys;
interface
uses
eeCustomGlobals,
Generics.Collections, VamVst2.DAEffect, VamVst2.DAEffectX;
type
TCommandEvent = procedure(Sender : TObject; const CommandID : string) of object;
{$SCOPEDENUMS ON}
TVstVirtualKey = (
vkNone = 0,
vkBACK = VKEY_BACK,
vkTAB ... |
unit frmMailSetting;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, Vcl.Samples.Spin,
Vcl.StdCtrls, Vcl.ExtCtrls;
type
TMailSettingframe = class(TForm)
pnlMain: TPanel;
lblHost... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.2-1, FILE=CONF035, CLAS... |
unit Pessoa;
interface
uses
DAO.RTTI;
type
[TableName('TAB_PESSOA')]
TPessoa = class
private
FSobrenome: String;
FNome: String;
FTelefone: String;
procedure SetNome(const Value: String);
procedure SetSobrenome(const Value: String);
procedure SetTelefone(const Value: String);
pub... |
object Frame1: TFrame1
Left = 0
Top = 0
Width = 310
Height = 166
TabOrder = 0
object GroupBox1: TGroupBox
Left = 8
Top = 16
Width = 97
Height = 137
Caption = 'Days to Block'
TabOrder = 0
object cbMon: TCheckBox
Left = 8
Top = 16
Width = 65
... |
unit unFuncoes;
interface
function somar(valor1, valor2: real): real;
function multiplicar(valor1, valor2: real): real;
function dividir(valor1, valor2: real): real;
function subtrair(valor1, valor2: real): real;
type
Operacoes = (soma, subtracao, divisao, multiplicacao, cl);
implementation
function multiplicar(... |
unit uSequencerFrame;
interface
uses
VamLib.Vcl.ZeroFrame,
VamLib.ZeroObject,
uConstants,
Menu.StepSequenceMenu,
eePlugin, Lucidity.GuiStandard, uGuiFeedbackData,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, RedFoxWinControl,
... |
// Language Bath - Assign Timings
// Copyright (c) 2020 Barend Gehrels, Amsterdam, the Netherlands.
// Use, modification and distribution is subject to the MIT License
// https://raw.githubusercontent.com/barendgehrels/langbath/main/LICENSE
// Code in this unit reads contents from a file and writes it into a listview
... |
{-------------------------------------------------------------------------------
单元: SynEditStrRes.pas
作者: 姚乔锋
日期: 2004.11.26
说明: 定义字符串常量的单元
版本: 1.00 00
-------------------------------------------------------------------------------}
(*
-- 使用者 --
* Uesr : liqj
* Date : 2006-09-29
* Modi : ... |
unit MVCFramework.Server;
interface
uses
System.SysUtils,
System.Generics.Collections,
System.SyncObjs,
System.Classes
{$IFDEF IOCP},
Iocp.DSHTTPWebBroker
{$ELSE},
IdHTTPWebBrokerBridge
{$ENDIF},
MVCFramework.Commons;
type
EMVCSeverException = class(Exception);
IMVCSecurity = MVCFrame... |
unit Projeto.Interfaces;
interface
uses
System.SysUtils;
type
iDAOInterface<T : class> = interface
procedure Insert;
procedure Update;
procedure Delete;
procedure Display ( aValue : TProc<String> );
function This : T;
end;
implementation
end.
|
// Модуль сгенерирован 03.05.2007 21:44:25 программой DelphiXML, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// По всем вопросам обращайтесь к Денису Степулёнку +79117117850 (super.denis@gmail.com)
{
Test(Test):None Структура
HelloWorld(HelloWorld):UnsignedInt ПростойТип
}
unit Xmlfile2_;
int... |
unit TMSGStruct;
interface
const
ENUM_CHARS_COUNT = 10;
ENUM_PLAYER_BAGS_COUNT = 4; // 3.3.3
ENUM_PLAYER_ITEMS_COUNT = 19; // 3.3.3: 20->19
PLAYER_TUTORIALS_COUNT = 64;
PLAYER_SKILLS_COUNT = 128;
PLAYER_SPELLS_COUNT ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.10-13, FILE=CONF213, CLASS=... |
unit F8;
interface
uses bentukan;
procedure jualresep (var timentah : tabiMentah; var tiolah: tabiOlah; tresep: tabresep; var tsimulasi : tabsimulasi; idx:integer);
{I.S.: timentah,tiolah,tresep,tsimulasi, idx terdefinisi
asumsi jika ada bahan dengan nama sama maka bahan dengan tanggal pembelian yang lebih ... |
unit ConsumerModel;
interface
uses
ConsumerConfig, AQSubscriptionResponce, ActiveQueueEntry, JsonSaver,
MVCFramework.RESTAdapter, AQAPIConsumer,
System.Generics.Collections;
type
/// The model may be in one of the following statuses:
/// 1. Ready - it is not executing any job
/// 2. Occupied - it is exec... |
unit uModel;
interface
type
/// <summary> Represents an Item.
/// </summary>
TModel = class
private
FEventName, FEventUrl, FLocalTime, FLocalDate: string;
(* Properties *)
function GetEventName: string;
function GetEventUrl: string;
function GetLocalDate: string;
function GetLocalTime:... |
unit Utils.Mobile;
interface
uses
System.Classes,
{$IFDEF ANDROID}
Androidapi.JNI.Os,
Androidapi.JNI.GraphicsContentViewText,
Androidapi.Helpers,
Androidapi.JNIBridge,
Androidapi.JNI.Widget,
FMX.Helpers.Android,
{$ENDIF}
FMX.types,
FMX.VirtualKeyboard,
FMX.PlatForm;
type
TMobileUtils = class
... |
{-----------------------------------------------------------------------------
The TAU Math Kernel
Interface declaration for use with other modules.
-----------------------------------------------------------------------------}
unit uMathIntf;
interface
uses
SysUtils, Classes;
type
/////////////////////////////... |
unit untMyThread;
interface
uses
untMyButton,
Classes, ComCtrls, StdCtrls, SysUtils;
type
TMyThread = class(TThread)
private
FContador : Integer;
FContarPara : Integer;
FProgressBar : TProgressBar;
FButton : TMyButton;
procedure atualizarProgressBar;
procedure SetButton(... |
unit DecoratorHamburger;
interface
uses
Decorator;
type
THamburgerDecorator = class(TDecorator)
protected
function ObterPreco: double; override;
function ObterDados: string; override;
end;
implementation
{ TBaconDecorator }
function THamburgerDecorator.ObterDados: string;
begin
Result := inherit... |
unit dtmShare;
interface
uses
untProcedure,SysUtils, Classes, ADODB, DB, ImgList, Menus,
Controls, variants, Forms, MemDS, DBAccess, Uni;
type
TTransactionMode = (
tmTransaksi,tmMutasi,tmPengambilanPayroll);
TMenuItemArray = Array of TMenuItem;
TdmShare = class(TDataModule)
qryGetShi... |
unit VamLib.Logging;
interface
{$SCOPEDENUMS ON}
uses
VamLib.Logging.AbstractLog;
type
TLogSession = (Main, Controls, Lib, Debug, Timing);
// Log is a global singleton class. All client code can use the "Log" to write out
// to the global application log.
//
// Application developers will need to injec... |
unit eeMipMapOsc;
interface
uses
VamLib.MoreTypes, eeOscPhaseCounter, eeMipMapTable;
type
TMipMapOsc = class
private
fFreq : single;
fSampleRate: integer;
fMipMapTable: TMipMapTable;
fTableIndex: integer;
procedure SetSampleRate(const Value: integer);
protected
Phase... |
unit RESTAdapterTestsU;
interface
uses
MVCFramework.RESTAdapter, TestFramework, BusinessObjectsU,
Generics.Collections,
{$IF CompilerVersion < 27}
Data.DBXJSON,
Data.SqlExpr,
DBXCommon,
{$ELSE}
System.JSON,
{$ENDIF}
ObjectsMappers, MVCFramework.RESTClient, MVCFramework;
type
[Heade... |
unit uLucidityStepSequencer;
interface
{$INCLUDE Defines.inc}
uses
VamLib.ZeroObject,
VamGuiControlInterfaces,
B2.Filter.CriticallyDampedLowpass, eeBiquadFilterCore,
VamLib.MoreTypes,
Lucidity.Enums,
uLucidityClock,
uConstants;
type
// TODO: Step Sequencer needs to use step sequence ... |
unit LightCommand;
interface
uses
Light, CommandInterface;
type
LightOnCommand = class(TInterfacedObject, ICommand)
public
constructor Create(Light: TLight);
procedure Execute;
procedure Undo;
private
Light : TLight;
end;
LightOffCommand = class(TInterfacedObject, ICommand)
... |
var
ch: Char;
pos: integer;
str: String;
procedure error();
begin
writeln('^':pos);
writeln('Error ',ch);
halt;
end;
procedure NextCh;
begin
read(ch);
pos += 1;
end;
begin
writeln('Введите строковую лексему в одинарных ковычках: ');
NextCh;
if ch = #39 then
NextCh
else error;
... |
unit VamLib.GuiUtils;
interface
uses
Controls,
SysUtils;
// NOTE: Here is a good tutorial explaining the different timer options in Windows.
// http://www.codeproject.com/Articles/1236/Timers-Tutorial#WaitableTimers
// This tutorial will be useful if I have to re-implement the debounce and throttle
// methods ... |
unit Cliente2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, PAIMDIFILHO,
ClassCliente, ParametrosConexao, Xml.xmldom, Xmlxform, ListarClientes;
type
TFclienteSegundo = class(TF... |
unit eeEnvelopeFollower;
interface
type
TEnvelopeFollower = class
private
fSampleRate : integer;
fAttackTime : single;
fHoldTime : single;
fDecayTime : single;
procedure SetAttackTime(const Value: single);
procedure SetDecayTime(const Value: single);
procedure SetHo... |
{==============================================================================|
| Project : Delphree - Synapse | 001.000.000 |
|==============================================================================|
| Content: SNTP client ... |
unit c_color;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls, c_horzsb,
Graphics, Math, crDefs, Types;
type
{ TFrmSelectColorMPJ }
TFrmSelectColorMPJ = class(TFrame)
BtnCancel: TPanel;
BtnOK: TPanel;
ScbB... |
unit uSrvAPI;
interface
uses IPPeerClient, REST.Client, Data.Bind.Components, Data.Bind.ObjectScope, System.SysUtils, REST.JSON, REST.Types, uEntContract;
type
TApi = class(TObject)
private
FRESTClient: TRESTClient;
FRESTRequest: TRESTRequest;
FRESTResponse: TRESTResponse;
FUrl: String;
public
... |
unit IpTokenAuthentication;
interface
uses
System.Generics.Collections, System.Classes;
type
TIpTokenAuthentication = class(TObject)
strict private
var
/// Map from tokens to ips.
/// Tokens are unique among all clients.
FItems: TDictionary<String, String>;
public
function isAuthorised(cons... |
//--------------------------------------------------------------------------------
// Interface for Usb-API for PIC 18F4550 Demo board
// Author: Gerhard Burger
// E-Mail: gCoolfire@yahoo.de
// Web: http://members.aon.at/geburger/
// Last Update: 2nd of June 2005
// Version 1.0
// Compiler: Borland Delphi, Versi... |
unit uBaseThread;
interface
uses
Classes, SysUtils, ActiveX;
type
TThreadStatus = (tsRunning, tsPaused, tsFinished, tsDead);
TBaseThread = class(TThread)
private
FLastTime: double;
FDuration: double;
procedure Execute; override;
function GetStatus: TThreadStatus;
protected
FReallyPause... |
UNIT WordWriter;
INTERFACE
(*
* Opens a file for writing
* IN fileName: full path to file
* HALTs the applicaiton if the file does not exist
*)
PROCEDURE OpenFileToWrite(fileName: STRING);
(*
* Closes the previously opened file
*)
PROCEDURE CloseFileToWrite;
(*
* Writes a line to the opene... |
{ ******************************************************************
Brackets a minimum of a function
****************************************************************** }
unit uminbrak;
interface
uses
utypes, uminmax, umachar, uConstants;
procedure MinBrack(Func: TFunc; var A, B: Float; out C, Fa, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.