text stringlengths 14 6.51M |
|---|
unit Computadores;
interface
uses
Interfaces;
type
TAllinOne = class(TInterfacedObject, IComputador)
private
function NomeComputador : string;
function NomeProcessador : string;
function Armazenamento : string;
end;
TMiPro = class(TInterfacedObject, IComputador)
private
function NomeCom... |
unit Exercicios.Form.Exercicio07;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Exercicios.Form.Modelo, ActnList, ComCtrls, StdCtrls, ExtCtrls;
type
IProgressController = Interface(IInterface)
procedure setPosicao(const Valor: Integer);
function getP... |
unit uDMProduto;
interface
uses
System.SysUtils, System.Classes, uDMBase, Data.FMTBcd, Datasnap.DBClient,
Datasnap.Provider, Data.DB, Data.SqlExpr, uDMConexao, uModelProduto;
type
TDMProduto = class(TDMBase)
CDSConsultaidproduto: TIntegerField;
CDSConsultaidtem: TIntegerField;
CDSConsultaPeso: TFlo... |
unit Role;
interface
uses
System.Classes, GR32, GR32_Image, GR32_PNG, ChatProtocol, System.SysUtils,
System.DateUtils;
type
TRole = class
private
FId: Integer;
FName: AnsiString;
FPos: TPoint;
FTurnTo: FaceOrientate;
FState: RoleState;
FBmp: TBitmap32;
bmpE, bmpW, bmpS, bmpN: TBit... |
program ejercicio7Unidad5;
uses crt;
var
num1Global, num2Global, num3Global : Integer;
function funcionPotencia (num1, num2: Integer): Real;
var
i, potencia: Integer;
begin
potencia := 1;
for i:=1 to num2 do
potencia := potencia*num1 ;
funcionPotencia := po... |
{
TCP Service
}
unit svchttp;
interface
uses
servers, ipfuncs,
Messages;
const
httpMinBufLength = 12;
httpBufferSize = 4096;
type
THTTPService = class(TService)
Handle : THandle;
constructor Create;override;
destructor Destroy;override;
function Configure:boolean;override;
functi... |
unit AudioPlugin.Vst2Adapter;
interface
uses
Windows,
ExtCtrls,
VamLib.MoreTypes,
VamVst2.DAEffect,
VamVst2.DAEffectX,
VamVst2.DAudioEffect,
VamVst2.DAudioEffectX,
VamVst2.MidiEventOutputBuffer,
AudioPlugin.PlugMain,
AudioPlugin.Globals,
AudioPlugin.PlugEdit,
AudioPlugin.Vst2Pl... |
{$REGION 'documentation'}
{
Copyright (c) 2018, Vencejo Software
Distributed under the terms of the Modified BSD License
The full license is distributed with this software
}
{
Month definition
@created(12/05/2018)
@author Vencejo Software <www.vencejosoft.com>
}
{$ENDREGION}
unit Month;
interface
uses
S... |
UNIT Unit1;
INTERFACE
Uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, StdCtrls, Math, Buttons, Menus, ComCtrls, ExtCtrls,
ImgList;
TYPE
TForm1= Class( Tform)
Itm_About: TMenuItem;
Itm_Calculer1: TMenuItem;
I... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.4-1, FILE=CONF169, CLAS... |
{ *******************************************************************************
Copyright (c) 2004-2010 by Edyard Tolmachev
IMadering project
http://imadering.com
ICQ: 118648
E-mail: imadering@mail.ru
******************************************************************************* }
unit FileTran... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-1, FILE=CONF014, CLASS=... |
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
unit uTypes;
interface
type
TDJThreadConfig = record
BMDM: string; // 部门代码
cqlj: string; // 图片源路径
cqgz: string; // 图片命名规则
tpxz: Integer; // 图片限制大小
sclj: string; // 图片转移路径
scurl: string; // 图片URL前缀
TargetUrlHik: string; // 图片URL前缀
szfl: string; // 线... |
(* Copyright (c) 2017. Cary Jensen, Jensen Data Systems, Inc.
This code sample is intended for the readers of
"Delphi in Depth: FireDAC"
by Cary Jensen
ISBN-13: 978-1546391272
ISBN-10: 1546391274
No guarantees or warranties are expressed or implied concerning
the applicability of techniques or... |
unit Venda.Model;
interface
uses Composite.Model.Interf, System.Generics.Collections;
type
TVendaModel = class(TInterfacedObject, IVendaModel)
private
FLista: TList<IItensModel>;
public
constructor Create;
destructor Destroy; override;
class function New: IVendaModel;
function addItens(A... |
{$I Directives.inc}
unit AppUpdater;
interface
uses
Windows, SysUtils, Classes, Forms, ShellApi, dialogs;
type
TAppUpdaterCheckEvent = procedure (SourceFileList,
DestFileList: TStrings) of object;
TAppUpdatesAvailableEvent = procedure (var PerformUpdates: Boolean) of object;
TApplicationUpda... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-18, FILE=DEV233, ... |
{ Invokable implementation File for TSecureDisplaySvc which implements ISecureDisplaySvc }
unit SDSecureDisplaySvcImpl;
interface
uses InvokeRegistry, Types, XSBuiltIns, SDSecureDisplaySvcIntf;
type
{ TSecureDisplaySvc }
TSecureDisplaySvc = class(TInvokableClass, ISecureDisplaySvc)
public
fu... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.3-3, FILE=IMDEFB01, C... |
{
MIT License
Copyright (c) 2018 Hélio S. Ribeiro and Anderson J. Gado da Silva
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 rig... |
namespace RedisTestsConsoleApplication;
uses
Moq,
RedisClassLibrary, StackExchange.Redis;
type
Program = class
public
class method Main(args: array of String): Int32;
begin
var factory := new Mock<IConnectionMultiplexerFactory>(MockBehavior.Strict);
var subscriber := new Mock<ISubscribe... |
unit UCadAluno2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UPaiCadastro, Vcl.StdCtrls, Vcl.Mask,
Vcl.DBCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, UClassCadAluno, UDMCadAluno2,
Data.DB, Vcl.Grids, Vcl.DBGrids, V... |
unit Logging4D.UnitTest.Log4D;
interface
uses
TestFramework,
System.Classes,
System.SysUtils,
System.TypInfo,
Logging4D,
Logging4D.Impl,
Logging4D.Driver.Log4D;
type
TTestLogging4DLog4D = class(TTestCase)
private
fLogging: ILogging;
protected
procedure SetUp; override;
procedure Tear... |
unit ufwt97;
{ *********************************************
2011 - Alex Vergara Gil - alex@cphr.edu.cu
Translated from original C++ code made by
2006 - Gregoire Pau - gregoire.pau@ebi.ac.uk
********************************************* }
interface
uses
utypes;
procedure dwt97(var X: TVector;... |
unit sslang.zend_types;
interface
type
TUnsignedShort = Word;
TUnsignedInt = Cardinal;
TUnsignedChar = Byte;
TUInt32_t = TUnsignedInt;
TUInt16_t = TUnsignedShort;
TZendUChar = TUnsignedChar;
TZendULong = TUInt32_t;
TSize_t = TUnsignedInt;
TInt32_t = Integer;
TZendLong = TInt32_t;
... |
unit AggRendererOutlineAA;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.3.2-3, FILE=IMDEFB21,... |
unit gl_core_utils;
interface
uses
glcorearb, SysUtils;
function initVertFrag(vert, frag: string): GLuint;
var
GLErrorStr: string = '';
implementation
procedure ReportErrorsGL(glObjectID: GLuint);
var
s : string;
maxLength : GLint;
begin
glGetShaderiv(glObjectID, GL_INFO_LOG_LENGTH, @maxLength);
if ... |
unit eeDSP.Oversampling;
interface
uses
VamLib.MoreTypes, eeFilters.AllPass;
procedure ZeroPadx2(InputBuffer, OutputBuffer:PSingle; const InputSampleFrames: integer); inline;
procedure ZeroPadx4(InputBuffer, OutputBuffer:PSingle; const InputSampleFrames: integer); inline;
//NOTE: The decimate func... |
unit Turtle;
interface
uses graph;
{IMPORTANT -- The constant PATH must reflect your current file
and directory configuration. Your instructor
will provide details. }
const
PATH = 'c:\TP\BGI'; { set to local path for graphic d... |
unit VamLib.WinHook;
interface
uses
Windows;
type
// TWindowsEventHook is a wrapper around SetWinEventHook(). Documentation is
// here:
// MSDN SetWinEventHook function
// http://msdn.microsoft.com/en-us/library/windows/desktop/dd373640%28v=vs.85%29.aspx
// MSDN Event constants
// http://ms... |
unit udmTCPParksServer;
interface
uses
System.SysUtils, System.Classes,
IdContext, IdBaseComponent, IdComponent, IdCustomTCPServer, IdTCPServer;
type
TdmTCPParksServer = class(TDataModule)
IdTCPMyParksServer: TIdTCPServer;
procedure IdTCPMyParksServerConnect(AContext: TIdContext);
procedure IdTCPMy... |
{ ******************************************************* }
{ }
{ 创建日期: 2008-07-17 }
{ 作 者: 汤岳松 }
{ 描 述: 封装了数据库的一些操作 }
{ }
{ ******************************************************* }
unit uSQLHelper;
interface
uses
Classes, Activex, SysUtils, DB, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param,
... |
unit GameMenu;
uses w3system, w3components, w3ctrls, GamePanel;
type
TGameMenu = class(TGamePanel)
private
FLblTitle : TW3Label;
FLblVersion : TW3Label;
FBtnStart : TW3Button;
FBtnScores : TW3Button;
FBtnOptions : TW3Button;
FOnClickStart ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-10, FILE=ERR24T, ... |
unit SynthModule_Custom;
interface
type
TCustomSynthModule = class;
PSynthModuleOutput = ^TSynthModuleOutput;
TSynthModuleOutput = record
Value : single;
end;
PSynthModuleInput = ^TSynthModuleInput;
TSynthModuleInput = record
Value : PSingle;
procedure ConnectTo(Output : PSynt... |
unit FileManager.Providers.Aguarde.Impl;
interface
uses
System.Classes, System.SysUtils, Vcl.Forms, FileManager.Providers.Constants, FileManager.Providers.Aguarde.Form,
VCL.BlockUI.Intf, VCL.Controls, VCL.BlockUI;
type
TWait = class
private
FBlockUI: IBlockUI;
FMensagem: string;
FMainProcess: TPr... |
unit Iocp.Buffer;
interface
uses
Windows, Classes, SysUtils, SyncObjs;
type
TCircularBuffer = class
private
FBuffer: PByteArray;
FSize: Integer;
FWritePos: Integer;
FReadPos: Integer;
FLocker: TCriticalSection;
function GetPtr(Index: Integer): Pointer; //inline;
procedure Grow;
... |
{
* FmDemoDlg.pas
*
* Subsidiary dialog box form for the Window State Components StandardDemo demo
* program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmDemoDlg;
interface
uses
Windows, Messages, SysUti... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-9, FILE=ERR23P... |
{*******************************************************************************
Title: T2Ti ERP
Description: Classe de controle da impressora.
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 documenta... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.3-7, FILE=DEV131, C... |
unit PlugLib.Types;
interface
uses
SysUtils,
WinApi.Windows;
type
EPlugLibException = class(Exception);
// A non-reference-counted IInterface implementation.
TPureInterfacedObject = class(TObject, IInterface)
protected
function QueryInterface(const IID: TGUID; out Obj): HResult; stdcall;
functio... |
unit SH2_ARC;
interface
uses SysUtils, Classes;
Type
DWord = LongWord;
TFileType = (
ftCD = $03,
ftFile = $50,
ftCont = $23,
ftDWord = $FFFF
);
TFileInfo = Packed Record
fType: TFileType;
fFlag: Word;
Case TFileType of
ftCD, ftCont:
(
Name: DWord;
);
... |
unit uImportVio;
interface
uses
IdCustomHTTPServer, uCommon, SysUtils, Vcl.Imaging.jpeg, ImageenView, Windows,
Classes, hyieDefs, DateUtils, uGlobal, uEntity;
type
TImportVio = Class
private
class function MergePic(tp1, tp2, saveTp: String): Boolean;
class function Comjpg(sourceFile, targetFile: Str... |
{
Beat Loop Analyser finds slice points in a loop. Several different algorthms are included.
}
unit eeBeatLoopAnalyser;
interface
uses
Contnrs, VamLib.MoreTypes, eeSampleFloat,
eeBeatLoopAnalyser.CoreTypes,
eeBeatLoopAnalyser.GenericChopperStrategy,
eeBeatLoopAnalyser.EqualLengthChopperStrate... |
unit Service.TaskDialogProgress;
interface
uses
Winapi.Windows, Winapi.Messages, Winapi.CommCtrl,
System.Classes, System.Math, System.SysUtils, System.UITypes,
System.Diagnostics, System.TimeSpan,
Vcl.Dialogs, Vcl.Forms, Vcl.StdCtrls;
type
TTaskConfig = class
strict private
FAutoClose: Boolean;
F... |
program syn04;
(* ident @(#)dapro/simple/syn04.p 1.25 17/02/13 *)
{
Reads a PS file, i.e. the product of a morphological analysis by
program syn01, program syn02 and program syn03; produces a new PS
file with addition of clause atom divisions.
XXX.ps4 + XXX.div ( XXX + divisions )
IN: x.ps3 x.ct clse... |
unit MainFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, ExtCtrls, Math, GR32, GR32_Image, GR32_Transforms,
ExtDlgs;
type
TMainForm = class(TForm)
PopupMenu: TPopupMenu;
ZoomInItem: TMenuItem;
ZoomOutItem: TMenuItem;
... |
{ $A+,B-,D-,E-,F-,I-,G+,L-,N-,O-,R-,S-,V-}
{$A+,B-,D-,E+,F-,I-,L-,N+,O-,R-,S-,V-}
UNIT StdIO; (* (c) ALFWARE Bernd Schubert *)
INTERFACE
USES DOS;
TYPE CONFIG_FUNK = (ConfLesen, ConfSchreiben, ConfAnhang);
VAR Ind_CtrlBrk: BOOLEAN; (* Ctrl-Break abgeblockt *)
Ind_05: BOOLEAN; ... |
unit Controllers.Base;
interface
uses
MVCFramework, MVCFramework.Commons, MainDM, MVCFramework.Middleware.Authentication.RoleBasedAuthHandler,
Services.AtmIndex, MVCFramework.Swagger.Commons, System.SysUtils, System.IniFiles, System.IOUtils,
Vcl.Forms;
type
[MVCSwagAuthentication(atJsonWebToken)]
TBaseCont... |
{ imprex : implish parser expressions }
{$mode objfpc}{$h+}
{$modeswitch advancedrecords+} // for generic-friendly record operators
unit imprex;
interface uses arrays;
type
TCharGen = function : char;
TCharSet = set of char;
TRuleID = cardinal;
//-- primitive rule constructors -------------------------------
... |
unit frmReceiptDlg;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FWSQLBaseDlgfrm, Data.FMTBcd, Data.DB, Data.DBXCommon,
Data.SqlExpr, Vcl.ExtCtrls,frmBillingDlg,MySQLAccessor, Vcl.StdCtrls, System.AnsiString... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.7-3, FILE=CONF174, CLAS... |
unit unitDriverDeclare;
interface
uses unitLog;
const
cSoundNone = 0;
cSoundType1 = 1;
cSoundType2 = 2;
cSoundType3 = 3;
cSoundType4 = 4;
cSoundType5 = 5;
cSoundOK = 2;
cSoundError =1 ;
//VALUE的類型
cValueNormal=0;
cValueOnce=1;
cValueMultiple=2;
cValueLastInput=3;
//VALUE的TRANSFER的類型
cTransNo... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.10-5, FILE=CONF210, CLASS=C... |
unit generating;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,calculation;
type
//Knoten des Folgenbaumes
PTreeNode=^TTreeNode;
TTreeNode=record
s: longint; //Sequenzsuffixindex
l,r: PTreeNode; //Kindbäume
end;
{ TSequenceGenerator }
//Folgengenerator
TSeq... |
{ ******************************************************************
Minimization of a function of several variables along a line
****************************************************************** }
unit ulinmin;
interface
uses
utypes, uminmax, umachar, unlfit, uConstants;
procedure LinMin(Func: TF... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-18, FILE=DEV168, CL... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO do produto.
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
files (the "So... |
unit UClassPaiRel;
interface
uses
System.Classes, frxClass, Datasnap.DBClient, frxDBSet;
type
TRetornoRel = record
CDS: TClientDataSet;
FrxDbDataSet: TFrxDbdataSet;
end;
type
TParamRel = record
Nome: String;
Valor: String;
end;
type
TClassPaiRel = class(TPersistent)
public
FlistaParamRel: a... |
(*======================================================================*
| unitResourceMessages |
| |
| Handle string and message resources. |
| ... |
unit DContacts.Models.Entities.Contact;
interface
uses
Spring.Persistence.Mapping.Attributes;
type
[Entity]
[Table('contact')]
TContact = class
strict private
[Column('id', [cpPrimaryKey])]
[AutoGenerated]
FId: Integer;
[Column('nome', [])]
FNome: String;
[Column('email', [])]
F... |
unit NGINX.FCGIResponse;
/// <summary>
/// A FastCGI response.
/// </summary>
/// <remarks>
/// You will probably want to use <see cref="SendRaw"/> or its helper methods to output a response and then call <see cref="Flush"/>. Use <see cref="TFCGIApplication.OnRequestReceived"/> to be notified of new requests.
///
/// ... |
unit uFragen;
interface
uses
Uni,
UTableBase,
System.Generics.Collections;
type
TFragen = class(TEntityBase)
private // Felder private, durch property veröffentlichen
fId: Integer;
fFrage: String;
public
property id: integer read fID write fID;
property Frage: String read fFrage write fFr... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-27, FILE=ERR78T, ... |
unit Consumer;
interface
uses ObjectsMappers, JsonableInterface, System.JSON;
type
/// <summary> An ADT that contains complete information about
/// a listener (i.e. a subscriptor)</summary>
[MapperJSONNaming(JSONNameLowerCase)]
TConsumer = class(TInterfacedObject, JSonable)
strict private
const
///... |
program PRI_prevod(DoSkladu : string = 'ESH'; kodZakazky : string = '-';Kniha : string[2] = 'PM');
info
Title = 'prevod zbozi'; // Script Title
Keywords = 'prevod zbozi'; // Script Keywords
Author = 'Správce systému K2'; // Script Author
end;
uses
u_pre;
modules
prij:TD_... |
unit Chunk;
{$mode delphi}
interface
type
TChunk = record
pdata_: PByte;
firstAvailableBlock_: Byte;
blocksAvailable_: Byte;
procedure Init(blockSize: byte; blocks: Byte);
function Allocate(blockSize: byte): Pointer;
procedure Deallocate(p: Pointer; blockSize: byte);
(*
procedure Reset... |
unit messagequeue;
{$ASSERTIONS ON}
interface
const QUEUE_SIZE=1000;
type tudpdata=record
data:array[0..1000] of byte;
length:integer;
end;
type tmessagequeue=class
private
qstart,qend:integer;
qdata:array[0..QUEUE_SIZE-1] of tudpdata;
public
function push(data:tudpdata):boolean;
proce... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.9.3.1-12, FILE=ERR86... |
{===============================================================================
Code Source : BEAUMONT Christophe
Version : 1.0.0
Date : 13 Avril 2010
Etude 04 - Contrôle l'utilisation du joystick, positionnement des boutons
et appuie sur les différents éléments. Testé avec un joypad Saitek Rumble P4... |
unit soLevelMeter;
interface
uses
Math,
eeDsp,
VamLib.MoreTypes,
VamLib.ZeroObject,
VamGuiControlInterfaces;
type
TLevelMonitor = class(TZeroObject, ILevelMonitor)
private
LevelA, LevelB : single;
fSampleRate: single;
DecayCoefficient : single;
procedure SetSampleRate(const Value: singl... |
unit Dock.Interfaces;
interface
uses Classes, Controls, Graphics, Windows, Messages, Forms, SysUtils, StdCtrls,
System.Generics.Collections;
type
TDirection = (dBottom, dTop, dLeft, dRight);
TDirections = set of TDirection;
IDockInterface = Interface
function GetDragRect: TRect;
f... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.3.8-7, FILE=LEV1F4... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO da impressora.
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
files (the ... |
unit ee3AddOn.ProcessController.OverSampled2x;
{
The Process Controller
=== Usage Notes ===
- There should only be one process controller used in a project.
}
interface
uses
Classes,
SysUtils,
VamLib.Types,
r8Brain,
DAEffect,
DAEffectX,
DAudioEffectX,
ee3AddOn.VstMidi,
ee3AddOn.ProcessContr... |
{ calculates integral(sin(x)) on [0..pi] - should be 2.0 - but it isn't :) }
program integral;
const N = 200;
Xmin = 0;
Xmax = 3.14;
type point = record x,y: real end;
var Ymin, Ymax, dx, dy : real;
Nx, Ny, F : shared integer;
p: shared point;
full, empty: semaphore;
function f(x:real):real;
begin
f := sin(... |
unit eeSyncEvents;
interface
uses
SysUtils, Generics.Collections;
type
//===================================================================
// Private Internal Use Only : Use only within this unit.
//===================================================================
PSyncEvent = ^TSyncEvent... |
unit resources;
{$INCLUDE defines.inc}
interface
uses Globals, Enums, Entities;
Type
PResource = ^TResource;
TResource = record
C : Double;
Typ : TResourceType;
Amount : Double;
end;
Var
Resource : Array of PResource;
ResourceNum, ResourceLen : uInt;
... |
unit advmphp;
{$I TMSDEFS.Inc}
interface
uses
Classes, AdvMemo,
{$IFDEF TMSCLX}
QGraphics
{$ENDIF}
{$IFNDEF TMSCLX}
Graphics
{$ENDIF}
;
type
{$IFDEF DELPHIXE2_LVL}
[ComponentPlatformsAttribute(pidWin32 or pidWin64)]
{$ENDIF}
TAdvPHPMemoStyler = class(TAdvCustomMemoStyler)
public
construc... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.5-7, FILE=DEV012, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-13, FILE=IMDEFB09, ... |
unit unit_frmServer;
{$mode objfpc}{$H+}
interface
uses
Classes, sysutils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, uCmdBox, lNetComponents, lNet, unit_frmChannel, unit_TOptionManager;
type
{ TfrmServer }
TfrmServer = class(TForm)
tnSocket: TLTelnetClientComponent;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.3-7, FILE=LEV1F38... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3-3, FILE=IMDEFB48, C... |
{***************************************************************************}
{ TAdvGridLookupBar component }
{ for Delphi & C++Builder }
{ }
{ writte... |
Unit WinTimerCtl;
interface
Uses Windows, Messages, Grafix;
const
WinTimerControlClassName = 'WinTimerCtl';
propImage = 'Image';
ID_Timer = 1;
WTN_Timer = WM_User + 1;
DigitWidth = 28;
DigitHeight = 50;
DigitCount = 8;
WinTimerWidth = DigitCount*DigitWidth + 5;
WinTimerHeight = DigitHeight + 5;
p... |
unit JSON.Atributes;
interface
uses
Classes,
SysUtils,
Rtti,
Neon.Core.Attributes;
type
JSONFieldIgnoreAttribute = class(NeonIgnoreAttribute)
private
FIgnore: Boolean;
procedure SetIgnore(const Value: Boolean);
public
property Ignore: Boolean read FIgnore write SetIgnore;
constructor... |
UNIT StackADS;
INTERFACE
// PUSHES a new value onto the stack.
// IN value: Value to push onto the stack.
// OUT ok: TRUE if value has been pushed, FALSE if stack was full.
PROCEDURE Push(value: INTEGER; VAR ok: BOOLEAN);
// Pops a value from the stack
// OUT value: value popped from the stack. Value is undefined / ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-19, FILE=DEV076, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.5-8, FILE=ERR61T, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-9, FILE=DEV037, CLA... |
unit DllInit;
interface
uses uDllform, classes, extctrls, Controls, Forms, SConnect, SysUtils, unitHeadSajet;
procedure InitSajetDll(SenderOwner: TForm; SenderParent: TPanel; ParentApplication: TApplication; UserID: string; parentSocketConnection: TSocketConnection; providerQuery, providerSproc: string); stdcall; ex... |
unit WSDBcommon;
interface
uses System.Classes,forms,Vcl.Dialogs,System.SysUtils, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf,
FireDAC.Stan.Async, FireDAC.DApt, FireDAC.UI.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Ph... |
unit BPIntervalForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DetailBPModel, Vcl.StdCtrls;
type
TBPIntervalSetForm = class(TForm)
Label1: TLabel;
IntervalEdit: TEdit;
saveBtn: TButton;
p... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO do detalhe da venda.
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
files... |
unit Ovo;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. *}
... |
unit unitThreadSample;
interface
uses
Classes,sysutils,windows,dialogs,unitLog;
type
//當後代create完後,須呼叫resume讓thread開始執行
TThreadSample = class(TThread)
private
{ Private declarations }
m_AddLog : TOnAddLog;
m_hSingle : array [0..3] of THandle;
m_iExecuteInterval : Cardinal;
procedure Execu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.