text stringlengths 14 6.51M |
|---|
unit CadTypeRef;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit ProviderFactory;
interface
uses
Actions, System.Generics.Collections, Provider;
type
{ Abstract factory for producing mailer actions that should perform operations
for given the requests }
TProviderFactory = class(TObject)
private
var
/// <summary> A dictionary of available providers.
/// ... |
unit DispatcherModel;
interface
uses
DispatcherConfig, DispatcherResponce, DispatcherEntry,
ProviderFactory, System.Generics.Collections, ActiveQueueEntry, Attachment,
ServerConfig, IpTokenAuthentication, RequestStorageInterface, System.JSON,
RepositoryConfig, RequestSaverFactory, AQAPIClient, MVCFramework.RE... |
{ ******************************************************************
Binomial distribution
****************************************************************** }
unit ubinom;
interface
uses
uConstants, umath;
function Binomial(N, K: Integer): Float;
{ Binomial coefficient C(N,K) }
function PBinom... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.1-3, FILE=DEV066, C... |
program somaNumero;
{
@Author : Samuel T. C. Santos
@version 08.11.2014
@description: Faça um Programa que peça dois números e imprima a soma.
Exemplo de execução:
A? 5.6
B? 7.2
Soma = 12.80
}
var
numeroA : real;
numeroB : real;
soma : real; //opcional
begin
//leitura de dados
write('A? ');
read(numeroA... |
unit DataModuleMainU;
interface
uses
System.SysUtils,
System.Classes,
{
uADStanIntf,
uADStanOption,
uADStanParam,
uADStanError,
uADDatSManager,
uADPhysIntf,
uADDAptIntf,
uADCompDataSet,
uADCompClient}
Data.DB;
type
TDataModuleMain = class(TDataModule)... |
unit jmailTlb;
interface
uses Windows, ActiveX;
const
// TypeLibrary Major and minor versions
jmailMajorVersion = 4;
jmailMinorVersion = 0;
LIBID_jmail: TGUID = '{AED3A6B0-2171-11D2-B77C-0008C73ACA8F}';
IID_IPOP3: TGUID = '{607A06FE-2FDA-4ADC-854D-D016D98D83DB}';
CLASS_POP3: TGUID = '{F812B147-0E26-422... |
unit DContacts.Tests.TestDB;
interface
uses
System.SysUtils,
System.Classes,
SQLiteTable3;
procedure ClearTable(const tableName: String);
procedure CreateTables;
function InsertContact(
nome: string = 'Contact';
email: string = 'contact@emial.com';
telefone: string = '99 9999-9999'): Variant... |
unit TestRocketDuck;
interface
uses
TestFramework, System.SysUtils, SwimUtils, FlyRocket, FlyUtils, DuckUtils, SwimFloat,
RocketDuck, QuackQuack, QuackUtils;
type
TestTRocketDuck = class(TTestCase)
strict private
FRocketDuck: TRocketDuck;
published
procedure TestTypeDuckRocket;
procedure TestF... |
unit JWKS;
// RFC7517: JSON Web Key (JWK) - https://tools.ietf.org/html/rfc7517
// RFC7518: JSON Web Algorithms (JWA) - https://tools.ietf.org/html/rfc7517
// RFC8037: CFRG Elliptic Curve Diffie-Hellman - https://tools.ietf.org/html/rfc8037
interface
uses
System.SysUtils;
type
Tkty = record
type
Tkty_type... |
// 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 helps to split two sentences at a pause in the sound volu... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-5, FILE=DEV018, CLA... |
unit InfoUnit;
{
This unit provides the TSpy class, which is a descendant
of TWorker. This class is capable of gathering information
about the current system and its user.
}
interface
uses
Windows, System.SysUtils, System.Classes, Registry, IOUtils,
DProcess,
Basics, CommandUnit, SystemUnit;
type
TSpy... |
unit LUX.Brep.Face.TriFlip.D3.FMX;
interface //#################################################################### ■
uses System.Types, System.Classes, System.Math.Vectors,
FMX.Types3D, FMX.Controls3D, FMX.MaterialSources,
LUX, LUX.D3, LUX.Brep.Face.TriFlip.D3;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$... |
unit Model.Atributos;
interface
uses
Classes,
SysUtils,
DB,
Rtti,
Model.Atributos.Tipos,
Utils.Funcoes;
type
DescriptionAttribute = class(TCustomAttribute)
protected
FDescription: string;
public
constructor Create(ADescription: string = '');
property Description: string read FDescripti... |
unit uMainForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, HTTPAPP, System.Net.URLClient,
System.Net.HttpClient, System.Net.HttpClientComponent,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IniFiles, IOUtils, IdContext,
IdCustomHTTPServer, IdBase... |
PROGRAM WordIndex (input, output, SourceFile, IndexFile);
uses crt;
{Erick Nave
4-23-93 ICS 9:00
WordIndex asks the user for a file to be indexed and a file to write the
index to. The program scans the source file and sticks the packed array
of words into another array for the list, if it is not a duplicate... |
unit uFileVersion;
interface
uses Windows, SysUtils, Classes;
type
TVerRec = record
dwHigh, dwLow: DWORD;
end;
TFileVersion = class
strict private
FVersion: TVerRec;
procedure SetMajor(Value: word);
procedure SetMinor(Value: word);
procedure SetRelease(Value: word);
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.1-5, FILE=LEV1F14... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
SdpoFastForm, freenect, sdpofreenect, LCLIntf, IniPropStorage, ExtCtrls, math,
mmxdebayer, microtimer;
type
PRGB24Pixel = ^TRGB24Pixel;
TRGB24Pixel = packed record
Red: Byte;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.2-6, FILE=LEV1F29... |
unit UserMain;
interface
uses
Windows, Messages;
const
THD_EXIT_OK = 0;
THD_EXIT_ERROR = 1;
type
TDirList = Array of String;
PTDirList = ^TDirList;
type TMain = class
private
FHParent: HWND;
FDirList: TDirList;
function CheckFailed: Boolean;
function CheckPath(var Value: String): Boolea... |
//############################################################################//
{$ifdef fpc}{$mode delphi}{$endif}
unit utf;
interface
uses asys;
//############################################################################//
const
koi8r_codes:array[0..127]of word=(
$2500,$2502,$250C,$2510,$2514,$2518,$251C,$2524,$2... |
unit VamAudio.OfflineRateConvert.R8Brain;
interface
uses
VamAudio.R8BrainWrapper.v3,
r8bsrc, r8bsrcEx,
VamLib.MoreTypes;
type
PConfig = ^TConfig;
TConfig = record
SourceRate : Double;
DestRate : Double;
TransitionBand : double;
Res : TResampleRes... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2.8-2, FILE=DEV265, C... |
unit uDomainObject;
interface
uses
SysUtils, Classes, uSharedGlobals;
type
PDomainObject = ^TDomainObject;
TDomainObject = class(TPersistent)
private
FId: string;
FName: string;
FActive: boolean;
FCreated: TDateTime;
FLastUpdated: TDateTime;
FChange: TChange;
FIntI... |
unit uUtlCalculator;
interface
function calculateFinalWeight(AInitialWeight, AMoisture, AFinalWeight: Double): Double;
function calculateFinalValue(AFinalWeight, AGrainPrice: Double): Double;
implementation
function calculateFinalWeight(AInitialWeight, AMoisture, AFinalWeight: Double): Double;
begin
Result := (A... |
unit uCommUnit;
{
公共单元,业务无关
lvbsh 2016-04-23 15:59:34
}
interface
uses
ShlObj, windows, ComCtrls, Sysutils, Forms;
// 选择文件夹
function SelectDir(Handle: HWND; const Caption: string;
var Directory: string): Boolean;
function CreateToolProcess(sExecutableFilePath: string;
nShowCmd: Integer): Boolean;
function ... |
{********************************************************************}
{ AdvSmartMessageBoxRegDE components }
{ for Delphi & C++Builder }
{ }
{ written by TMS Software ... |
unit PessoaService;
interface
uses BasicService, PessoaVO, PessoaRepository, System.SysUtils, MovimentoService,
FireDAC.Comp.Client, DeliveryBairroVO, System.Generics.Collections;
type
TPessoaService = class(TBasicService)
class function getPessoaById(IdOfPessoa: Integer): TPessoaVO;
class function saveP... |
unit dialogsWithText;
interface
uses Dialogs,StdCtrls,ComCtrls;
procedure FileSaveClick(Sender: TObject; SaveDialog: TSaveDialog; richText: TRichEdit); overload;
procedure FileOpenClick(Sender: TObject; OpenDialog: TOpenDialog; richText: TRichEdit); overload;
procedure FileSaveAsClick(Sender: TObje... |
// ###################################################################
// #### This file is part of the artificial intelligence project, and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2014, Michael R. . All rights reserved.
// ####
// ... |
unit Rdx.CudaRunTimeAPI;
interface
uses
Windows, SysUtils, Rdx.CudaDriverTypes;
type
{$MinEnumSize 4} // Збільште розмір для сумісності C++.
TCudaMemcpyKind = (cmkHostToHost = 0, cmkHostToDevice, cmkDeviceToHost,
cmkDeviceToDevice);
{$MinEnumSize 1} // Відновлення за замовчуванням.
/// /////////////////... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Grids,
neuralnetwork, neuralvolume, neuralfit, neuraldatasets, neuralopencl,
neuralvolumev, FileUtil;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
... |
{
* FmHotLabelDemo.pas
*
* Main form for demo program that demonstrates use of the Hot Label Component.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmHotLabelDemo;
{$UNDEF Supports_RTLNamespaces}
{$IFDEF CON... |
unit B2.Lfo.SimpleLfo;
interface
const
MaxCardinal : cardinal = 4294967295; //High(Cardinal)
OneOverCardinal : double = 1 / 4294967295;
UniOutputScaler : double = 1 / 4294967295; //One over High(Cardinal). Use to scale the phase position to 0..1, ie Uni-polar LFO output.
BiOutputScaler : double =... |
unit uMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, System.Math;
type
TfrmMain = class(TForm)
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
b... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.ListView.Types, FMX.ListView.Appearances, FMX.ListView.Adapters.Base,
FMX.ListView, FMX.Controls.Presentation, FMX.StdCtrls;
... |
unit uKKThread;
interface
uses
Classes, SysUtils, FireDAC.Comp.Client, FireDAC.Stan.Option, FireDAC.Stan.Def,
FireDAC.DApt, FireDAC.Stan.Async, FireDAC.Stan.Expr, FireDAC.Stan.Pool,
IOUtils, IdHttp, Generics.Collections, Variants, DateUtils, uBaseThread,
uInterface, uTypes, uGlobal, uCommon, uPassList, System... |
{-----------------------------------------------------------------------------
Output Provider for Stdout/interactive console
-----------------------------------------------------------------------------}
unit uMathOutputStdout;
interface
uses
SysUtils, ComCtrls, uMath, uMathIntf;
type
TOutputStdOut = class(TIn... |
unit djfxAmpMod;
interface
uses
eeGlobals, VamLib.MoreTypes, djfxBase, eeSimpleLFO;
type
TDJFXAmpMod = class(TDJFXCustomFX)
private
fSyncNumerator, fSyncDenominator:integer;
protected
LFO:TSimpleLfo;
Depth:single;
procedure SetParValue(Index: integer; const Value: single); overr... |
{******************************************************************************
Implementation of a class that will parse a String into a TSQLFactory
At this time only support for SELECT statements is provided.
@author Jeff Chaney
@author Guardian Industries, Inc., Auburn Hills, MI
@author Last Chang... |
{ Desederon Visitor
(C) I. Kakoulidis 2020 }
program visitor;
{$ifdef FPC}{$mode delphi}{$endif}
uses Classes, SysUtils, variants;
type
IExpressionVisitor = interface;
TExpression = class abstract
function Accept(ev: IExpressionVisitor): variant; virtual; abstract;
end;
TLiteralExpression = class(TEx... |
unit uDataFormats;
interface
uses
SysUtils, Classes, uMathIntf, uMath, uMathValues,
uCCSVList;
type
TFormatImportExport = class
private
FExtensions: TStringList;
FFormatName: string;
public
constructor Create;
destructor Destroy; override;
property FormatName: string read FFormatName;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.7.2.2-16, FILE=ERR68... |
unit Form.ImageBackground;
interface
uses
SysUtils,
Classes,
Controls,
Forms,
StdCtrls,
ExtCtrls,
jpeg,
UCL.Classes,
UCL.Utils,
UCL.ThemeManager,
UCL.Form,
UCL.Edit,
UCL.Button,
UCL.Panel,
UCL.SymbolButton,
UCL.ProgressBar,
UCL.QuickButton,
UCL.Text,
UCL.RadioButton,
UCL.Slider... |
unit PlugLib.ResourceLoader;
interface
uses
Windows;
type
ResourceLoader = record
class function LoadText(const ResourceName : string):string; static;
end;
implementation
uses
Classes;
{ ResourceLoader }
class function ResourceLoader.LoadText(const ResourceName: string): string;
var
RS: TResourceSt... |
{ Invokable interface IWSFutSystem }
unit WSFutSystemIntf;
interface
uses Soap.InvokeRegistry, System.Types, Soap.XSBuiltIns;
type
//tipos enumerados
TSexo = (tsMasculino, tsFeminino);
TTipoCampo = (tcQuadra, tcCampo, tcSociety);
TStatus = (tsAtivo, tsInativo);
TPosicao = (tpGoleiro, tpZagueiro... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-12, FILE=ERR26... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.3-1, FILE=IMDEFB20, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.9.1-10, FILE=ERR82P,... |
// Marcello Mello
// 28/09/2019
unit lps.types;
interface
uses
SysUtils,
Classes,
Generics.Collections;
{$SCOPEDENUMS ON}
type
TTokenType = (
// Tokens de caractere único
LEFT_PAREN, RIGHT_PAREN, LEFT_BRACE, RIGHT_BRACE,
COMMA, DOT, MINUS, PLUS, SEMICOLON, SLASH, STAR,
// Um ou dois token... |
program Breakout;
uses Allegro5, Al5primitives;
Const
FPS = 60;
length_paddle = 100;
type
Colors = (RED, WHITE, BLUE, YELLOW, GREEN, NONE);
Ball = record
BallX, BallY, BallS, BallD : integer;
end;
Paddle = record
Posx : integer;
Ldir, Rdir : boolean;
end;
Blocks = array [1..5, 1..1... |
unit eePluginKeyHook;
interface
uses
Windows,
eeKeyboardHook,
eeKeyboardHookConfig,
VamVst2.DAEffect, VamVst2.DAEffectX;
type
TVstKeyEvent = function(var KeyCode: VstKeyCode): boolean of object;
TPluginKeyHook = class
private
fOnKeyDown: TVstKeyEvent;
fOnKeyUp: TVstKeyEvent;
... |
unit Controller.Comum;
interface
uses System.JSON, System.SysUtils;
function CreateJsonObj(pairName: string; value: string): TJSONObject; overload;
function CreateJsonObj(pairName: string; value: integer): TJSONObject; overload;
function CreateJsonObj(pairName: string; value: double): TJSONObject; overload;
function... |
unit PlginEmailmodule;
{$I jedi.inc}
{$IFDEF DELPHI6_UP}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF DELPHI6_UP}
interface
uses
ComObj, ActiveX, StdVCL, Graphics, makestudio_TLB,
Classes, Windows, Dialogs, Controls, SysUtils;
type
TPluginSendemail = class(TComponent, ICommand2)
private
FCapt... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-8, FILE=ERR73T, C... |
//############################################################################//
//Made in 2003-2011 by Artyom Litvinovich
//AlgorLib: CRC32
//############################################################################//
{$ifdef fpc}{$mode delphi}{$endif}
unit crc32;
interface
uses asys;
//#######################... |
(* /////////////////////////////////////////////////////////////////////////////
//
// INTEL CORPORATION PROPRIETARY INFORMATION
// This software is supplied under the terms of a license agreement or
// nondisclosure agreement with Intel Corporation and may not be copied
// or disclosed exc... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.3-3, FILE=ERR54T, C... |
PROGRAM BetterCopy;
CONST
bufferSize = 1024 * 8;
VAR
source, destination: FILE OF BYTE;
buffer: ARRAY[1..bufferSize] OF BYTE;
result: INTEGER;
bytesRead: LONGINT;
BEGIN
IF ParamCount <> 2 THEN BEGIN
Writeln('Usage: BetterCopy <sourceFile> <destinationFile>');
END ELSE BEGIN
... |
unit DContacts.PresentationModel.Dialog.FMX;
interface
uses
System.UITypes,
DContacts.PresentationModel.Dialog;
type
TFMXDialogAdapter = class(TInterfacedObject, IDialog)
private
procedure ShowDialogMessage(const msg: string; const dialogType: TMsgDlgType;
const dialogAction: TDialogAction = nil; c... |
(*======================================================================*
| unitResourceJPEG |
| |
| Encapsulates JPEG images in custom (non-RC data) resources. |
| ... |
Program variable_edit;
Var a,b,c,d:real;
Procedure powers(x:real; var a,b,c,d:real);
begin
a:=x*x;
b:=a*x;
c:=b*x;
d:=c*x;
end;
begin
a:=0;
b:=0;
c:=0;
d:=0;
Writeln('number x = ',17.5:6:2);
Writeln('quad = ',a:6:2);
Writeln('cube = ',b:6:2);
Writeln('foutrth = ',c:6:2);
Wri... |
{$d+}
program Minimum;
const anzahl = 100;
type integer_feld = array[0..anzahl-1] of integer;
var i, vergl: integer;
feld: integer_feld;
procedure anzeige;
var i: integer;
begin
for i:=0 to anzahl-1 do begin
if i=0 then write('[') else write(', ');
write(i,'=',feld[i]);
end;
writel... |
unit ufrmAbrirMovimento;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Touch.Keyboard, System.Actions, Vcl.ActnList, Vcl.Grids, Vcl.DBGrids,
Data.DB, Datasnap.DBCli... |
unit Invoice_Unit5;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.CheckLst, Vcl.ExtCtrls;
type
TFormPOST = class(TForm)
PanelREFRESH_POST: TPanel;
CheckListBoxLIST: TChec... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.1-5, FILE=DEV068, C... |
unit uFrmContract;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.Buttons, Vcl.StdCtrls, Vcl.ComCtrls,
uEntContract, uMdlContract, uUtlForm, uUtlAlert, uUtlInputFields... |
{==============================================================================|
| Project : Delphree - Synapse | 001.003.001 |
|==============================================================================|
| Content: NNTP client ... |
unit untResString;
interface
resourcestring
RS_MSG_INFORMATION_TITLE = '信息';
RS_MSG_WARNING_TITLE = '警告';
RS_MSG_STOP_TITLE = '错误';
RS_YES = '是';
RS_NO = '否';
RS_VERSION_TYPE = 'Alpha个人版';
//LCXLShadowConsole.dpr
RS_CONSOLE_IS_RUNNING = 'LCXLShadow控制台已经在前台运行。';
RS_SERVICE_IS_CLOSED = 'LCXLShadow服务已关闭,... |
{+--------------------------------------------------------------------------+
| Unit: mwFixedRecSort
| Created: 11.97
| Author: Martin Waldenburg
| Copyright 1997, all rights reserved.
| Description: A buffered sorter for an unlimmited amount of records with a fixed
| length using ... |
{ ******************************************************************
Plotting routines for Delphi
****************************************************************** }
unit uwinplot;
interface
uses
Classes, Graphics, umachar, uconstants,
utypes, umath, math, uinterv, ustrings;
{ -----------------... |
unit eeDetectHost;
interface
uses
Windows, eeTypes;
function DetectVstHostFromWindow(EditorHandle:hwnd):TVstHost;
function VstHostToStr(host:TVstHost):string;
implementation
uses
VamLib.Win.Shell;
// NOTE: Finding out what host is being used from the plugin side is a problematic. There is... |
unit mPessoa;
interface
type
TPessoa = class
private
FNome: string;
procedure SetNome(const Value: string);
public
property Nome: string read FNome write SetNome;
end;
implementation
{ TPessoa }
procedure TPessoa.SetNome(const Value: string);
begin
FNome := Value;
end;
end.
|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.5-7, FILE=DEV184, C... |
{*======================================================================*
| unitRCFile |
| |
| .RC file module handler |
| ... |
unit fImportLog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TF_ImportLog = class(TForm)
M_Log: TMemo;
Label1: TLabel;
B_OK: TButton;
procedure B_OKClick(Sender: TObject);
private
{ Private declarations }
public
p... |
unit Kerning;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Spin, StdCtrls, TntStdCtrls, ComCtrls, TntComCtrls, ExtCtrls, main, DIB,
ActnList;
type
TKerningForm = class(TForm)
eCharsImage: TImage;
eCharA: TTntEdit;
eCharB: TTntEdit;
eKernin... |
unit MusicMenu;
interface
uses
System.SysUtils, MenuItem, MusicMenuIterator;
type
TMusicMenu = class
private
MenuItens : TAlbumItemArray;
pos : integer;
public
constructor Create;
procedure AddItem(Name, Artist : string; Cod : integer; Price : currency);
function CreateItera... |
unit AQAPIClient;
interface
uses AQResponce, ActiveQueueEntry,
System.Generics.Collections, MVCFramework.RESTAdapter, MVCFramework.Commons, MVCFramework, ObjectsMappers;
type
/// <summary>Active Queue API for clients. These are methods that clients (dispatchers) can
/// access to.</summary>
IAQAPIClient = in... |
unit LPTControllerRequestHandlerBag;
interface
uses
Classes, SysUtils, Log4D,
LPTControllerRequestHandler;
type
TLPTControllerRequestHandlerList = class (TInterfaceList)
private
function GetItem(Index: Integer): ILPTControllerRequestHandler;
public
property Items[Index: Integer]: ILP... |
//******************************************************************************
// CubicExplorer
// Version: 0.90
//
// The Original Code is Main.pas.
//
// The Initial Developer of the Original Code is Marko Savolainen (cubicreality@gmail.com).
// Portions created by Marko Savolainen Copyright (C) Marko S... |
unit UPesquisaMaterial;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids,
Vcl.DBCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.S... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-8, FILE=DEV073, C... |
unit ufrmProdutoObs;
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,
Vcl.Grids, Vcl.DBGrids, System.Actions, Vcl.ActnList, Data.DB,
Datasnap.DBClient, ProdutoService, Obs... |
unit eeBasics.Tools.DelayedCall;
interface
uses
SysUtils;
{
DelayedCall() Example:
var
Delay : integer; //In milliseconds.
proc:TProc;
begin
// Wrap your delayed code in an annoymous method.
proc := procedure()
begin
//Do stuff here.... for exampl... |
unit unFuncoes;
interface
function somar(valor1, valor2: Integer): Integer;
function multiplicar(valor1, valor2: Real): Real;
function dividir(valor1, valor2: Real): Real;
function subtrair(valor1, valor2: Real): Real;
implementation
function multiplicar(valor1, valor2: Real): Real;
begin
Result := valor1 * valor... |
unit VamCompoundNumericKnob;
interface
uses
WinApi.Messages,
VamGuiControlInterfaces,
Types, Controls, Classes, StdCtrls, Graphics,
RedFox, RedFoxColor,
VamWinControl, VamScrollBar, VamDiv,
VamNumericKnob, VamArrows, VamLabel;
type
TVamCompoundNumericKnob = class(TVamWinControl, IKnobControl)
private... |
{
MIT License
Copyright (c) 2017 Jamie Geddes
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, copy, modify, merge, publish, di... |
unit Iocp.Utils;
interface
uses
Windows, SysUtils;
function CalcTickDiff(const StartTick, EndTick: LongWord): LongWord;
function ThreadFormat(const Fmt: string; const Args: array of const): string;
function ThreadWideFormat(const Fmt: WideString; const Args: array of const): WideString;
function ThreadFormatDateTi... |
Type
TSpace = Record
sOffset: DWord;
sSize: DWord;
end;
TSpaceList = Array of TSpace;
var
PtrDef: Integer = 0;
MainStream: TFileStream;
Pos: DWord;
Space: TSpaceList;
FileOpened: Boolean;
PtrSize: Integer = 4;
Streams: Array of TMemoryStream;
Stream: TStream;
Align: Integer = ... |
unit ServerConst1;
interface
resourcestring
sPortInUse = '- Erreur : Le port %s est déjà utilisé';
sPortSet = '- Port défini sur %s';
sServerRunning = '- Le serveur est déjà exécuté';
sStartingServer = '- Démarrage du serveur HTTP sur le port %d';
sStoppingServer = '- Arrêt du serveur';
sServerS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.9.3.1-2, FILE=ERR83P... |
unit MessasgeBox;
interface
uses
Manager,
Product;
type
TMessageBox = class(TProduct)
private
p_DecoChar : string;
public
constructor Create(decochar:string);overload;
procedure Use(s:string); override;
function CreateClone: TProduct; overri... |
Program ListProcessing;
type
ItemPtr = ^item;
item = record
data:integer;
next:ItemPtr;
end;
var
Head:itemPtr;
countNode:word;
procedure AddNode(var Head:itemPtr; var countNode:word);
var
tmp:itemPtr;
n:integer;
begin
while not SeekEOf do
begin
read(n);
new(tmp);
tmp^.data:=n;
tmp... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.5-7, FILE=ERR60T, C... |
unit SpTBXDefaultSkins;
{==============================================================================
Version 2.5.3
The contents of this file are subject to the SpTBXLib License; you may
not use or distribute this file except in compliance with the
SpTBXLib License.
A copy of the SpTBXLib License may be fou... |
unit uranB;
{ Barberis Random Number Generator
Gaston E. Barberis,
"Non-periodic pseudo-random numbers used in Monte Carlo calculations",
Physica B 398 (2007) 468-471.
Unit made by Alex Vergara Gil }
interface
uses uConstants, urandom;
type
TRanBarberis = class(TBaseRandomGen)
const
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.