text stringlengths 14 6.51M |
|---|
unit Lucidity.VoiceController;
interface
{$INCLUDE Defines.inc}
uses
Lucidity.Interfaces,
//VamLib.CpuOverloadWatcher,
Contnrs,
Classes,
uConstants,
VamLib.ZeroObject,
soLucidityVoice,
Lucidity.Enums,
eeGlobals;
type
TVoiceController = class(TZeroObject)
protected
Globals : TGlobals;
Vo... |
unit LoggerUnit;
interface
uses
SysUtils, ReporterUnit, TypInfo;
type
TLogReportEvent = procedure(const Line: string) of object;
TStringArray = array of string;
TLogger = class abstract(TObject)
strict private
FOnReport: TLogReportEvent;
strict protected
constructor Create(const... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.UITypes,
Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UExeptionExtension, USubstitui;
type
TFMain = class(TForm)
edFrase: TEdit;
edVelha: TEdit;
edNova: TEdi... |
(*-----------------------------------------------------------------------------
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 SH5_Common;
interface
Uses Windows, SysUtils, Errors;
Type
TThankYou = Record
Name: String;
Help: String;
end;
TErrorType = (etNone, etInfo, etWarning, etError);
const
cThankYou: Array[0..4] of TThankYou = (
(Name: 'Андрей Кудрявцев'; Help: 'LZO packer/unpacker'),
(Name: 'DrLeo'; ... |
FbException = class(Exception)
public
constructor create(status: Status);
destructor destroy; override;
function getStatus: Status;
class procedure checkException(status: Status);
class procedure catchException(status: Status; e: Exception);
private
status: Status;
end;
ISC_DATE = Integer;
ISC_TIME = Integer;... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit CadSituacao;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit TSysSrv;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit ufrmBeaconClient;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, System.Beacon, System.Bluetooth,
System.Beacon.Components, FMX.Memo.Types, FMX.ScrollBox... |
unit Providers.Types.CallBack;
interface
uses System.JSON, FileManager.Providers.Frames.Base, FileManager.Providers.Response.Intf, FileManager.Providers.Frames.FileUpload;
type
TBooleanCallBack = reference to procedure(const Response: Boolean);
TResponseCallBack = reference to procedure(const Response: IResponse... |
unit VamMiniLevelMeter;
interface
uses
VamGuiControlInterfaces,
Types, Controls, Classes, Graphics, AggColor,
RedFox, RedFoxGraphicControl, RedFoxColor,
VamGraphicControl, VamWinControl;
type
TVamMiniLevelMeter = class(TVamWinControl)
private
fLevelMonitor: ILevelMonitor;
protected
procedure Pa... |
unit VamPanel;
interface
uses
Classes, RedFox, RedFoxColor, RedFoxWinControl, VamWinControl;
type
TVamPanel = class(TVamWinControl)
private
fColor : TRedFoxColor;
fCornerRadius2: double;
fCornerRadius3: double;
fCornerRadius1: double;
fCornerRadius4: double;
function GetColor: TRedFoxCo... |
unit Invoker;
interface
uses
System.Generics.Collections, CommandInterface, NoCommand;
type
TInvoker = class
public
NoCommand : TNoCommand;
OnCommands : TList<ICommand>;
OffCommands : TList<ICommand>;
Undo : ICommand;
procedure SetCommand(num : integer;OnCommand, OffCommand : IC... |
unit soFilter.CombA;
interface
uses
Math, eeDsp,
VamLib.MoreTypes,
B2.DelayLine.StereoDelayBuffer;
type
TCombA = class
private
fKeyFollowFreqMultiplier: single;
fSampleRate: single;
fPar1: single;
fPar2: single;
fPar3: single;
fPar4: single;
procedure SetSample... |
unit VamLib.OneShotTimer;
// One Shot Timer is copied from
// http://stackoverflow.com/a/10469878/395461
interface
uses
SysUtils,
Windows, Generics.Collections;
type
TOnTimerProc = TProc;
/// If ATimerID matches an existing time, the timer will be reset and replaced
/// with the new timer.
///
///... |
unit Util.Thread;
interface
uses
System.SysUtils, Winapi.Windows, System.Classes;
type
TOnExceptionThread = reference to procedure(e: Exception);
TOnAntesExecultar = reference to procedure();
TOnExecultar = reference to procedure();
TOnDepoisExecutar = reference to procedure();
TThreadProcesso = class... |
uses
SysUtils, FastGraph, Crt;
const
_HEIGHT = 16;
var
// Colors for players
p0Color : array[0..3] of byte = (29, 29, 29, 29);
p1Color : array[0..3] of byte = (29, 29, 29, 29);
// ghost has only 2 animation phases
reel_p1Frame1 : array[0.._HEIGHT - 1] of byte = ($E0,$F0,$BC,$FE,$7F,$7F,$FD,$F9,$FA,$F0,$F... |
unit uTokenManager;
interface
uses
SysUtils, uEntity, Generics.Collections, DateUtils;
type
TLogin = class
public
LoginName: string;
IP: string;
Pwd: string;
end;
TToken = class
public
Login: string;
IP: string;
Key: string;
LoginTime: Double;
UPDATETIME: Double;
end;
... |
program aula14;
{
Autor: Samuel T. C. Santos
Data: 07/06/2015
Descricao: Estrutura de Dados - Array Multidimensional
Somar matrizes, com o conteudo lido da entrada.
ler a matriz A, ler a matriz b, criar a matriz C
soma de A + B, sendo A e B matrizes de ordem 2.
| 1 3 | | 3 1 |
| 3 4 | + | ... |
unit UCL.Shadow;
interface
uses
Classes,
Types,
Windows,
Controls,
Graphics,
ExtCtrls,
UCL.Classes,
UCL.Types,
UCL.Utils,
UCL.Graphics;
type
TUShadow = class(TUGraphicControl)
private var
Color: TColor;
BlendFunc: BLENDFUNCTION;
BlendBmp: TBitmap;
private
FLightColor: TColo... |
unit BitmapCache;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools;
type
TCustomBitmapCache = class(TObject)
private
FCache: TBucketList;
FLock: ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.8.3.9-27, FILE=ERR78... |
unit ExercicioVetor;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TVetor = array of Currency;
TFExercicioVetor = class(TForm)
PnFundo: TPanel;
pnValor: TPanel;
... |
unit Financiamento.PagamentoUnico;
interface
uses
Spring.Container,
System.Generics.Collections,
IIFinanciamento.PagamentoUnico, FinanciamentoModel.Subject, IFinanciamento.Observer, Financiamento.Model;
type
TFinanciamentoPagamentoUnico = class(TInterfacedObject, IFinanciamentoPagamentoUnico)
private
... |
unit uController;
interface
uses uConexao,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.FB,
FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, FireDAC.Stan.Param, FireDAC.DatS,
FireDAC.DA... |
(*-----------------------------------------------------------------------------
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 ee3AddOn.ThreadSyncEnforcer;
/// ThreadSyncEnforcer is a singleton class to Classes.CheckSynchronize() to run
/// in a DLL based application. Without polling the Class.CheckSynchronize()
/// function any threads using the Queue() or Synchroize() function will fail.
///
interface
type
IThreadSyncEnforcer = ... |
unit SyncTranReq;
interface
uses
Classes, CustomSync, ADODB,SysUtils;
type
TSyncTranReq = class(TCustomSync)
private
TBNo,CorpCode: String;
ConfirmDate:TDateTime;
It,Confirm: Integer;
function ConfirmTranReq(): Boolean;
public
function execSync: Boolean; override;
end;
implementation
... |
{ *******************************************************************************
Title: T2Ti ERP
Description: VO do contador.
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 documentation
... |
(*
* Copyright (C) 2001-2006 Bart Massey, Jamey Sharp, and Josh Triplett.
* All Rights Reserved.
*
* 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... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-16, FILE=DEV028, CL... |
unit ECWizard;
interface
uses
ToolsAPI;
type
TECWizard = class(TInterfacedObject, IOTAWizard, IOTAMenuWizard)
// assinaturas da Interface IOTAWizard
function GetIDString: string;
function GetName: string;
function GetState: TWizardState;
procedure Execute;
procedure AfterSave;
proced... |
unit BoldVariantControlPack;
interface
uses
Graphics,
Classes,
Windows,
BoldDefs,
BoldContainers,
BoldElements,
BoldControlPack,
BoldSubscription,
Variants;
type
{Forward declaration of classes}
TBoldVariantFollowerController = class;
TBoldCustomAsVariantRenderer = class;
TBoldAsVariantRe... |
unit ActiveQueueModelTest;
interface
uses
DUnitX.TestFramework;
type
[TestFixture]
TActiveQueueModelTest = class(TObject)
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
/// Test suit for adding a subscription
/// Partition the input as follows:
/// 1. already sub... |
unit FileManager.Providers.Request;
interface
uses Data.DB, REST.Client, REST.Response.Adapter, REST.Types, System.SysUtils, System.JSON, FileManager.Providers.Constants,
FileManager.Providers.Response.Intf, System.Math, System.Classes;
type
TRequest = class
private
FBeforeExecute: TProc;
FRESTRequest:... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-6, FILE=ERR20P... |
unit CadPais;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{***********************************************************************}
{ TDBPlannerDatePicker component }
{ for Delphi & C++ Builder }
{ }
{ written by : ... |
unit AppSync;
interface
uses
SysUtils, AppUtils2, ZjhCtrls, Dialogs, ADODB, AppDB2, DB,Classes;
type
TAppSync = class
private
{ Private declarations }
procedure CreateDBListTable;
procedure CreateReportListTable;
function setReportDate(cdsTmp: TAppDataSet; const difTime, Status: Integer;const ... |
{
@author(Andrey Zubarev <zamtmn@yandex.ru>)
}
unit uDarkStyleParams;
interface
uses
LCLType,Graphics,ComCtrls;
type
TSysColors=array[0..COLOR_ENDCOLORS] of TColor;
TDrawControl=record
TreeViewExpandSignOverride:Boolean;
TreeViewExpandSignValue: TTreeViewExpandSignType;
CustomDrawScrollbars:Boole... |
namespace SemanticMergeOxygene;
interface
uses
SemanticYaml,
PasToYamlParser;
type
ConsoleApp = class
public
class method Main(args: array of String);
end;
implementation
uses
System.IO,
System.Text;
class method ConsoleApp.Main(args: array of String);
var
i: Integer;
bShell: Boolean;
s... |
unit vg_LayoutControl;
interface
uses
vg_scene, NativeXML, Classes, Contnrs, vg_InspectorForm, vam_BaseControls;
type
TvgLayoutControl = class
private
fControlEditEnabled: boolean;
procedure SetControlEditEnabled(const Value: boolean);
protected
EditList:TObjectList;
LayoutData:... |
program losowanie_liczb;
{
--== Borland Turbo Pascal 7.0 (Kurs podstawowy) ==--
Copyright(c)by Jan T. Biernat
}
uses crt;
var A :Integer;
begin
ClrScr;
Writeln('--== Losowanie liczb ==--'); {Wyswietlenie na ekranie tekstu
znajdujacego sie pomiedzy
... |
unit uModSystemFrame;
interface
uses
VamLib.Vcl.ZeroFrame,
Menu.ModSelectorContextMenu,
VamLib.ZeroObject,
Lucidity.Enums, Lucidity.Interfaces,
uConstants, eePlugin, Lucidity.GuiStandard, eeEnumMenu,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Con... |
unit unitLog;
interface
uses classes,windows,sysutils,forms;
type
//定義LOG的訊息類型
TLogType=(cLogNormal,cLogWarnning,cLogError,cLogTest);
TSLogType=set of TLogType;
//定義LOG的分檔案方式以什麼為單位
TLogTime=(cLogAll,cLogDay,cLogHour);
//log function的type
TOnAddLog= procedure (f_LogType: TLogType;f_sMessage:string) of... |
unit umemory;
{ Unit umemory : memory handling Unit
Created by : Alex Vergara Gil
Contains the routines for handling system resources as memory,
priorities and time
}
interface
uses windows, utypes;
function SystemResources: TMemoryStatus; {$IFDEF INLININGSUPPORTED} inline; {$ENDIF}
functio... |
{
Project: FindDupFar http://code.google.com/p/findupfar/
Author: Alexey Suhinin http://x-alexey.narod.ru
License: GPL v.2
}
unit MainDialogs;
Interface
{$I PRJDefines.inc}
uses
Windows,
PluginLng,
FarApi,
Plugin;
type
// TInitDialogItemArray = array of TInitDialogItem;
... |
unit ee3.VstGlobals;
interface
uses
DAEffect,
DAEffectX,
DAudioEffectX,
VamLib.ZeroObject;
type
TVstMsgID = record
const
SampleRateChanged = 1;
BlockSizeChanged = 2;
GuiOpening = 3; // called before the GUI is visible.
GuiOpened = 4; // called after the GUI is vislble.
... |
unit HW.Wizard.MainMenu;
interface
uses
ToolsAPI,
System.SysUtils,
System.Classes,
VCL.Menus;
type
TMainMenuWizard = class(TNotifierObject, IOTAWizard)
private
procedure CreateMenu;
protected
procedure Execute;
{IOTAWizard}
function GetIDString: string;
function GetName:... |
unit ufrmMenuSistema;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.ExtCtrls, Vcl.StdCtrls,
System.Actions, Vcl.ActnList;
type
TfrmMenuSistema = class(TfrmBase)
ActionList: TActionList;
... |
unit UFormEdit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Spin, UData, Grids;
type
TFrmEdt = class(TForm)
EdtFIO: TEdit;
EdtMark: TEdit;
EdtNum: TEdit;
LblFIO: TLabel;
LblMark: TLabel;
LblNum: TLabel;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-1, FILE=CONF170, CLAS... |
unit HookCommon;
{
How to Hook the Mouse to Catch Events Outside of your Delphi application
Learn how to track the mouse activity even when your application is not active,
sits in the Tray or does not have any UI at all. By installing a system wide
(or global) mouse hook you can track what the user is doing with
the... |
Program Queue;
type
LongItemPtr = ^LongItem;
LongItem = record
data:longint;
next:LongItemPtr;
end;
QueueOfLongints = record
first,last:LongItemPtr;
end;
procedure QOLinit(var queue: QueueOfLongints);
begin
queue.first:=nil;
queue.last:=nil;
end;
procedure QOLPut(var queue:QueueOfLongints; n:lo... |
{ ******************************************************************
LU decomposition
****************************************************************** }
unit ulu;
interface
uses
utypes, uminmax, uComplex, uConstants;
type
TBaseDecomp = class
protected
procedure _Decomp; virtual; abstra... |
UNIT StackOOP;
INTERFACE
CONST
MaxSize = 100;
TYPE
Stack = OBJECT
// Initializes a Stack
// IN Stack
// Must be called before any other operation is called on a stack.
PROCEDURE Init;
// Disposes a stack
// IN Stack
PROCEDURE Dispose;
... |
PROGRAM ReadN(INPUT, OUTPUT);
VAR
N: INTEGER;
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
{Считывает текущий символ из файла, если он - цифра, возвращает его
преобразуя в значение типа INTEGER. Если считанный символ не цифра
возвращает -1}
VAR
Ch: CHAR;
TempFile: TEXT;
BEGIN
D := -1;
REWRITE(TempFi... |
(*-----------------------------------------------------------------------------
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 UConfigINI;
interface
Uses IniFiles,Windows;
Type
TConfigINI = Class
Splash : Boolean;
TempoSplash : integer;
BarraTarefas : Boolean;
SomMudo : Boolean;
Procedure EscondeBarra(Visivel: Boolean;ArquivoConfig:String);
Procedure GetAll(ArquivoConfig:String);
Proc... |
unit VamModSelector;
interface
uses
Types,
Graphics, Controls,
Classes,
AggColor,
RedFox, RedFoxColor, RedFoxWinControl, VamWinControl;
type
TVamModSelector = class(TVamWinControl)
private
IsMouseOver : boolean;
fColorBorder : TRedFoxColor;
fColor : TRedFoxColor;
fColorMouseOver : TRedF... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.5-8, FILE=IMDEFB02, C... |
{ ******************************************************************
Rounding functions
Based on FreeBASIC version contributed by R. Keeling
****************************************************************** }
unit uround;
interface
uses
uConstants, math, umath, utypes;
function Round(X: Float):... |
unit JWT.IPWorksEncrypt.TestCase;
interface
uses
TestFramework,
JWT;
type
TTestCase_JWT_IPWorksEncrypt = class(TTestCase)
const RSA_PrivateKey =
'-----BEGIN RSA PRIVATE KEY-----' + sLineBreak
+ 'MIIEogIBAAKCAQEAxl67D/+6fzIl9uf84tr6vApGNuJ4FMHD54qYLnzPkB9XP9ME' + sLineBreak
+ 'GlGNQUt7X6Wj4RvPAJReEaPp... |
unit Menu.SampleMapContextMenu;
interface
uses
Lucidity.Interfaces,
eePlugin, Vcl.Menus, Lucidity.SampleMap;
type
TSampleMapContextMenu = class
private
protected
Plugin : TeePlugin;
Menu : TPopUpMenu;
RegionContext : IRegion;
procedure MenuItemClicked(Sender : TObject);
... |
const Csize = 4;
type TTeam = record
mAces:integer;
mName:string;
end;
TChamp = array [1..CSize] of TTeam;
Var
Champ:TChamp;
procedure BubbleSort(var arg:TChamp);
var i,j:integer;
t:TTeam;
begin
for i:=1 to Csize - 1 do
begin
for j:=1 to CSize - i d... |
UNIT Number;
INTERFACE
USES
Digit;
PROCEDURE ReadNumber(VAR F: TEXT; VAR N: INTEGER);
IMPLEMENTATION
PROCEDURE ReadNumber(VAR F: TEXT; VAR N: INTEGER);
VAR
D, MAXINT: INTEGER;
BEGIN
N := 0;
ReadDigit(F, D);
WHILE (D <> -1) AND (N <> -1)
DO
BEGIN
IF (MAXINT DIV 10 > N) OR (((... |
unit unitPrivilege;
interface
uses sysutils,db,Sconnect,dbclient,dialogs;
const
cPrivilege0='Read Only';
cPrivilege1='Allow To Change';
cPrivilege2='Full Control';
cPrivilege3='Allow To Execute';
function G_ChkAuthority(f_Server : TSocketConnection; f_sProviderName,f_sPrgName,f_sEmpID : String;var f_sEmpNO,... |
unit Exercicios.Form.Exercicio03;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Exercicios.Form.Modelo, StdCtrls, ActnList, ExtCtrls, Buttons,
Mask, DBCtrls, DB, DBActns, Exercicios.DataModule.Intf.DM;
type
TfrmExercicio03 = class(TfrmModelo)
GroupBox1... |
{***************************************************************************}
{ Extended dialog components }
{ for Delphi & C++Builder }
{ }
{ writte... |
unit Plugins;
interface
uses Windows, AvL, avlUtils, avlSettings, PluginAPI;
type
TPluginsManager = class
private
FTerminal: TTerminal;
FPlugins: array of record
Plugin: PPlugin;
LibInst: HMODULE;
Enabled: Boolean;
end;
function GetCount: Integer;
function Ge... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-15, FILE=ERR29T, ... |
unit ChakraCoreEngine;
interface
uses
Classes, SysUtils,
ChakraCore, ChakraCommon, ChakraCoreClasses, ChakraCoreUtils;
type
TJsValueRef = JsValueRef;
TArgs = PJsValueRefArray;
TNativeFunction = function(callee: TJsValueRef; isConstructCall: Boolean; arguments: TArgs; argumentCount: Word; cal... |
unit ParamsHelperUnit;
interface
uses
DB, BaseTypesUnit;
type
TParamsHelper = class helper for TParams
public
function ParameterByAnyName(const ParameterNames: array of WideString): TParam;
end;
EParamsHelper = class(EBaseException);
implementation
uses
StringUtilsUnit;
functi... |
{
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... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-14, FILE=ERR28T, ... |
{
* FrDemo.pas
*
* Implements frame that catches dropped files for demo program that
* demonstrates use of Drop Files Components with frames.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FrDemo;
interface
{$... |
program Sort (input, output);
const
FELDGROESSE = 5;
type
tIndex = 1..FELDGROESSE;
tFeld = array[tIndex] of integer ;
var
Eingabe : tFeld;
MinimumPos,
i : integer;
Tausch : integer;
function FeldMin (Feld : tFeld; von, bis: tIndex): tIndex;
var
MinPos,
j:tIndex;
begin
MinPos := von;
for j ... |
(* ==========================================================================
fourier.pas - Don Cross <dcross@intersrv.com>
Modified by Jean Debord <JDebord@compuserve.com> for use with TP Math.
This is a Turbo Pascal Unit for calculating the Fast Fourier Transform
(FFT) and the Inverse Fast Fourier... |
unit Financiamento.Service;
interface
uses
Spring.Container,
Spring.DesignPatterns,
System.SysUtils,
System.Generics.Collections,
IIFinanciamento.Service, Financiamento.Model, Financiamento.Types, IIFinanciamento.PagamentoUnico;
type
TFinanciamentoService = class(TInterfacedObject, IFinanciamentoService)... |
{** Contains functions to get information about installed .Net framework such as
directory, version, statistics on loaded .Net framework, function for create
instances of .Net types.}
unit temp;
interface
uses
Windows, Classes, ActiveX, ComObj, mscoree_tlb, mscorlib_tlb, mscoree,
Variants;
//** Checks... |
unit uIniFile.Utils;
interface
uses
System.IniFiles, System.SysUtils,
Vcl.Forms;
type
TIniFileUtils = class
class procedure Write(const aFileName, aSection, aIdent, aValue: string; aDefault: string= '');
class function Read(const aFileName, aSection, aIdent: string; aDefault: string = ''): string;
en... |
(**************************************************)
(* Programmname : GLOBAL.PAS *)
(* Programmautor : Michael Rippl *)
(* Compiler : Turbo Pascal V5.0 *)
(* Letzte nderung : 12-Apr-1990 *)
(* Inhalt : Globale Daten von PASCAL.PAS ... |
unit ao.Gestao.Model;
interface
uses
System.SysUtils,
System.Classes,
Data.DB,
Datasnap.DBClient,
IdIOHandler,
IdIOHandlerSocket,
IdIOHandlerStack,
IdSSL,
IdSSLOpenSSL,
IdBaseComponent,
IdComponent,
IdTCPConnection,
IdTCPClient,
IdExplicitTLSClientServerBase,
IdMessageClient,
IdSMTPBas... |
unit GUI;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls,
Graphics, Dialogs, StdCtrls, HashAlgorithm1, FileComparator;
type
{ TGraphicalInterface }
TGraphicalInterface = class(TForm)
ComprareWithButton: TButton;
SaveButton: TButton;
CalcButton: TButton;
Fil... |
unit uFrmProjectOptions;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ComCtrls,
ExtCtrls, StdCtrls, Mask, uProject, uSharedGlobals, uProjectFile, TypInfo, Vcl.Buttons, Vcl.CheckLst;
type
TfrmProjectOptions = class(TForm)
Panel1: TPanel;
btnCancel: T... |
unit mongo.VCL.RadioGroup;
interface
{$I mongo.inc}
{$IFDEF FMX}
'codigo não pode ser utilizado em projetos FMX}
{$ENDIF}
uses System.SysUtils, System.Classes, mongo.Interf, mongo.Types, VCL.StdCtrls, VCL.ExtCtrls, uMongo_Tipificacoes;
type
TMongoRadioGroup = class(TRadioGroup, IMongoControl, IMongoText)
pri... |
unit MasterLoader;
interface
uses
System.Classes, LoadOperator, MySQLAccessor;
type TLoadKind = (Client);
type TMasterLoader = class
private
FAccessor: TMySQLAccessor;
function getLoadOperator(LoadKind: TLoadKind): ILoadOperator;
procedure LoadCsvFile(LoadKind: TLoadKind; FilePath: string);
proce... |
unit AudioPlugin.Types;
interface
uses
SysUtils;
type
EAudioPluginException = class(Exception);
TPrivateParResult = record
public
ValueA : integer;
ValueB : single;
Data : array of pointer;
end;
// TExceptionHandlerFunc() - return true if the execption has been handled. return false and... |
unit DCBFrm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls;
type
TfrmDCB = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
cbBaudRate: TComboBox;
Label1: TLabel;
edtByteSize: TEdi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.4.1-2, FILE=CONF117, CLAS... |
unit uAWSIotServiceUnit;
interface
uses
System.SysUtils, uDataDefineUnit, uAWSChatCommUnit,
AWS.Core, AWS.IoT, AWS.Iot.Comm;
type
TAWSIotPubSubService = class(TObject)
private
FOnAWSIotMqttClientStatus:TOnAWSIotMqttClientStatus;
FOnAWSIoTMQTTNewMessage:TOnAWSIoTMQTTNewMessage;
FServi... |
/// <exclude />
/// <summary>
/// This unit defines the actions that can be communicated
/// </summary>
/// <remarks>
/// Use
/// </remarks>
unit Model.IntActions;
interface
type
/// <summary>
/// An enumerator describing the actions that can be transmitted to
/// subscribers
/// </su... |
unit eeWaveTableUtils;
interface
uses
VamLib.MoreTypes, eeWaveTable;
procedure GenSine(WaveTable:TWaveTable);
// GenSawA & GenSawB both create a saw wave with a pronouced roll-off of the high harmonics.
// I can't remember what the difference between the functions were.
procedure GenSawA(WaveTable:TWav... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.2-2, FILE=IMPDEP12,... |
{
VST-XML is a data format used by Cubase.
VST-XML is used when drag samples from a cubase project
to other applications. (Many other DAW's use
the audio file as the drag object data.)
}
unit eeVstXML;
interface
type
TVstXmlRegion = record
FileName : string;
SampleStart : integer;
... |
program theSpaceShip;
{
Coded by Mohamed Aziz Knani,
medazizknani@gmail.com
mohamedazizknani.wordpress.com
Art is not made by me i just
borrowed it from the World Wide Web
Code is not commented but it's written well
and it's indented
Notice : you can use this code in your projects
or develop this... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.4-6, FILE=DEV063, C... |
unit Env;
interface
uses math;
{$POINTERMATH ON}
const
LG_N = 6;
N = 1 shl LG_N;
type
TEnvArray = packed array [0 .. 3] of byte;
TEnv = record
const
jumptarget = 1716;
class var sr_multiplier: integer;
var
rates_ : TEnvArray;
levels_ : TEnvArray;
outlevel_ : inte... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-8, FILE=ERR22T, C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.