text stringlengths 14 6.51M |
|---|
unit UnitOpenGLErrorManager;
interface
uses
Windows,
OpenGL;
// Clear error queue
procedure glClearErrorQueue();
// Get list of last errors of OpenGL error queue.
// Max size of list is 16384 Errors. Ff errors more then queue limit,
// then function return False.
function glScanErrors(): ByteBool;... |
{ ******************************************************************
Exponential distribution
****************************************************************** }
unit uexpdist;
interface
uses
uConstants;
function DExpo(A, X: Float): Float;
{ Density of exponential distribution with parameter A }
... |
unit uLoginUtils;
interface
uses
UEntity, SysUtils, Classes, uTokenManager, uGlobal, uCommon, DateUtils, QBAes,
Math, System.Generics.Collections;
type
TLoginManager = Class
private
class var FRetryUsers: TDictionary<string, integer>;
class var FRetryDevices: TDictionary<string, integer>;
class f... |
unit eePerformanceCounter;
interface
type
TPerformanceCounter = class
private
public
constructor Create;
destructor Destroy; override;
function Start:Int64;
function Stop(StartTime:Int64):single;
end;
var
GlobalPerformanceCounter:TPerformanceCounter;
implementation
use... |
unit DocProps;
interface
type
TXlsxDocumentProperties = class(TObject)
private
FCreatedBy: String;
FApplicationName: String;
FModifiedBy: String;
FCreatedAt: TDateTime;
FModifiedAt: TDateTime;
procedure InternalSaveApp(filename: String);
procedure InternalSaveCore(filename: String);
... |
{-----------------------------------------------------------------------------
The PI Advanced Calculator
Graphical interface to TAU.
-----------------------------------------------------------------------------}
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms... |
{**********************************
* Program: Final project *
* *
* By : *
* Fatemeh PourMohammadHadi *
* *
* Professor : Mr. Zarei *
**********************************}
program snakesandsteps;
... |
function fib(n:integer): integer;
begin
if n = 0 then fib := 0;
if n = 1 then fib := 1;
if n > 1 then fib := fib(n-1) + fib(n-2);
end; |
unit eeMultiChannelBuffers;
interface
{$INCLUDE Defines.inc}
uses
VamLib.MoreTypes, SysUtils;
type
TCustomMultiBuffer = class
private
fSampleFrames: integer;
fChannelCount: integer;
procedure SetChannelCount(const Value: integer);
procedure SetSampleFrames(const Value: integ... |
unit uFileBrowserFrame;
interface
uses
VamLib.Vcl.ZeroFrame,
VamLib.UniqueID,
VamLib.GuiUtils.ThrottleDebounce,
VamLib.ZeroObject,
Lucidity.Enums,
Lucidity.Interfaces,
Menu.FileTreeMenu,
eeFileBrowserAddon, uConstants, eePlugin, Lucidity.GuiStandard,
VamVisibleControl,
Winapi.Windows... |
unit SimpleDAO;
interface
uses
SimpleInterface,
System.RTTI,
System.Generics.Collections,
System.Classes,
Data.DB,
{$IFNDEF CONSOLE}
{$IFDEF FMX}
FMX.Forms,
{$ELSE}
Vcl.Forms,
{$ENDIF}
{$ENDIF}
SimpleDAOSQLAttribute,
System.Threading;
Type
TSimpleDAO<T: clas... |
{********************************************************************}
{ TAdvDBLookupComboBox component }
{ for Delphi & C++Builder }
{ }
{ written by TMS Software ... |
unit ClassCharList;
interface
uses
Struct;
type
TListChars = class
public
List: array of TCharData;
constructor Create;
procedure Free;
procedure Add(var CharData: TCharData);
procedure Del(guid: uInt64);
function Count(AccountName: string = ''): longint;
end;
var
Li... |
(*
Complex.pas
Kjell Rilbe
First public release: 31 Jan 2000
The complex number unit is now more or less finished. I've implemented
sin, cos, tan, cotan, sinh, cosh, tanh, cotanh and all eight corresponding
arcus functions, as well as negation, conjugate, comparison and
assignment. The hyp... |
unit Grab_u;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls,math;
type
{$Z4} //Aufzählungswerte als 32 Bit Zahlen speichern
TFeld=(fOffen,fImBerg,fDiamant);
TKarte=array of array of TFeld;
TfrmGrab = class(TForm)
Panel1: TPanel... |
unit uDeviceTreeFrame;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uDM, Vcl.ComCtrls,
sTreeView, Vcl.StdCtrls, sEdit, Vcl.Buttons, FireDAC.Comp.Client, Generics.Collections,
Vcl.ExtCtrls, sPanel, System.I... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-20, FILE=DEV144, ... |
program hello;
var name : String;
begin
write ('Please tell me your name: ');
readln (name);
writeln ('Hello, ',name,'!');
end.
|
unit eeOscPhaseCounter;
{$EXCESSPRECISION OFF}
interface
type
// TOscPhaseCounter is designed to be used as a phase counter for wavetable
// oscillators. Normally the phase counter will be a 'float' type variable as
// you usually need incement the phase by fractional amounts.
// However wavetables... |
{******************************************************************
* 项目名称:
* 单元名称:如何成为玛法勇士(10级)
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 102;
//TASK_TYPE_MAIN 任务类型... |
unit ClientToefl;
interface
uses
DBImportableData;
type TClientToefl = class(TDBImportableData)
private
FClient_id: Int64;
FScore_no: Integer;
FTotal: Integer;
FTest_date: TDateTime;
FReading: Integer;
FListening: Integer;
FSpeaking: Integer;
FWriting: Integer;
FMemo: string;
... |
{ ******************************************************************
This unit fits the logistic function :
B - A
y = A + -----------------
1 + exp(-a.x + b)
and the generalized logistic function :
B - A
y = A + ---------------------
[1 + exp(-a.x + b)]^n
*******************************... |
unit NGINX.FCGIConstants;
/// <summary>
/// Constants defined in the FastCGI spec.
/// </summary>
interface
const
/// <summary>
/// Listening socket file number
/// </summary>
FCGI_LISTENSOCK_FILENO = 0;
/// <summary>
/// Number of bytes in a FCGI_Header.
/// Future versions of the protocol will not r... |
unit MVCFramework.Middleware.Authentication;
interface
uses
MVCFramework, MVCFramework.Commons, MVCFramework.Logger, System.Generics.Collections;
type
TMVCBasicAuthenticationMiddleware = class(TInterfacedObject, IMVCMiddleware)
strict private
FMVCAuthenticationHandler: IMVCAuthenticationHandler;
... |
unit AQSubscriptionEntry;
interface
uses ObjectsMappers;
// <summary>Data class that contains information about a consumer necessary to
// subscribe/unsubscribe it.</summary>
type
[MapperJSONNaming(JSONNameLowerCase)]
TAQSubscriptionEntry = class(TObject)
strict private
const
PORT_KEY = 'port';
CATE... |
{-------------------------------------------------------------------------------
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/
Software... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-10, FILE=ERR02T, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.3-7, FILE=DEV059, C... |
unit uVioSBThread;
interface
uses
System.Classes, SysUtils, uGlobal, Generics.Collections, uHik, uEntity,
uDecodeHikResult, ActiveX;
type
TVioSBThread = class(TThread)
private
function GetPicVehInfo(url: String): TDFVehInfo;
{ Private declarations }
protected
procedure Execute; override;
end;... |
unit soLfo.RandomLfo;
interface
{$INCLUDE Defines.inc}
{$EXCESSPRECISION OFF}
{$SCOPEDENUMS ON}
uses
Math,
VamLib.Utils,
B2.Filter.CriticallyDampedLowpass,
eeOscPhaseCounter,
eeDsp;
type
TRandomLfoShape = (RandomStepped, RandomSmooth);
TRandomLfo = class
private
fSampleRate: single;
fBpm: s... |
unit Ron.Parser;
interface
{
This unit contains wraps the low level parsing functions into a nice, easy to use class.
}
uses
SysUtils,
Classes,
Ron.Lexer;
type
TParserValueType = (
pvNoValue,
pvInteger,
pvFloat,
pvBoolean,
pvUntyped,
pvString,
pvEmptyArray,
pvIntegerArray,
... |
unit uBlitOsc;
interface
uses
VamLib.MoreTypes, uDspFunctions, eeFilters.DcBlocker, eePitch, Math, eeFastDsp;
type
TBlitOsc = class
private
fFreq: single;
fPulseWidth: single;
fSampleRate: single;
procedure SetFreq(const Value: single);
procedure SetSampleRate(const Value: sin... |
unit eeSkinImageLoader;
interface
uses
{$IFDEF VER230}
{$ELSE}
GraphicEx,
{$ENDIF}
vg_scene, Contnrs;
type
TSkinImageLoader = class
private
fSkinItemList: TObjectList;
fSkinDirectory: string;
protected
procedure LoadFromResource(ResourceName:string; var Dest:TvgBitmap);
... |
unit UMover;
interface
uses XMLIntf, XMLDoc, Types, TypInfo,
Ucommon;
type
TNodeMaker = class(TObject)
class function MakeBounce(zl, zt, zr, zb, xp, yp, ow, oh, xs, ys: Integer): IXMLNode;
end;
TMoveParam = (mpZLeft, mpZTop, mpZRight, mpZBottom, mpXPos, mpYPos, mpObjWd,
mpObjHg,... |
unit UField;
interface
uses
Vcl.Graphics, Snake, System.Types;
type
TField = class(TObject)
strict private
Canvas: TCanvas;
private
FIHeadOpen90: TBitMap;
FIHeadOpen270: TBitMap;
FISegmentEmpty: TBitMap;
FIHeadFull90: TBitMap;
FISegmentFull90: TBitMap;
FIHeadFull270: TBitMap... |
{
* FmMain.pas
*
* Main form for Version Information Component HelpEgs demo program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmMain;
{$UNDEF Supports_RTLNameSpaces}
{$IFDEF CONDITIONALEXPRESSIONS}
{$IF C... |
unit UFuncoes;
interface
uses System.SysUtils, Vcl.Dialogs, Vcl.Forms, Winapi.Windows;
procedure GravaErro(Msg: string);
function iif(Expressao: Boolean; Valor1, Valor2: Variant): Variant;
procedure MsgAviso(Msg: string);
procedure MsgErro(Msg: string);
procedure MsgInforma(Msg: string);
implementation
... |
unit UMaquinaDinheiro;
interface
uses
System.Classes, System.SysUtils, System.Math,
UIMaquina, UTroco;
type
TMaquinaDinheiro = class(TInterfacedObject, Imaquina)
private
function ImprimirCabecalhoTroco(const aValor: string): string;
public
function MontarTroco(const aTroco: Double): TList;
func... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.2-3, FILE=CONF006, CLASS=... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.1-16, FILE=DEV166, CL... |
unit DataBase;
interface
uses
SysUtils, Classes, DB, ADODB, DataDriverEh, ADODataDriverEh;
type
TdataBaseForm = class(TDataModule)
connection: TADOConnection;
private
{ Private declarations }
public
{ Public declarations }
procedure Connect(const dataBaseFile: String);
end;
var
dataBase... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-1, FILE=CONF022, CLASS=... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-13, FILE=DEV228, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.8-5, FILE=DEV030, CLA... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.3-6, FILE=DEV203, C... |
(************************************************************************)
(* Programmname : EXPRESS.PAS *)
(* Programmautor : Michael Rippl *)
(* Compiler : Turbo Pascal V5.0 *)
(* Letzte nderu... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls;
Const
Min_cars =1;
Max_cars =4;
fin = 55 + 808;
type
{ TForm1 }
car = record
name:string;
finished:boolean;
Pic:TImage;
end;
array_car = array[Min_car... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFE_DETALHE]
The MIT License ... |
unit LazyRest.Log.Basic;
interface
uses
SysUtils, Classes, LazyRest.Log, LazyRest.Types;
type
TLazyRestLogBasic = class(TLazyRestLog)
private
FLog: TThreadStringList;
protected
procedure LogMessage(ALogLevel: TLogLevel; AMessage: string);
public
procedure AfterConstruction; override;
proced... |
UNIT MPScanner;
INTERFACE
TYPE
Symbol = (noSym,
beginSym, endSym, integerSym, programSym, readSym, varSym, writeSym,
plusSym, minusSym, multSym, divSym, leftParSym, rightParSym,
commaSym, colonSym, assignSym, semicolonSym, periodSym,
identSym, numberSym
);
PROCEDURE InitScann... |
{******************************************************************
* 项目名称:
* 单元名称:生存的诀窍(1级)
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 10002;
//TASK_TYPE_MAIN 任务类型为主... |
UNIT TreeFunction;
INTERFACE
USES
WordFunction;
TYPE
Tree = ^TreeUnit;
TreeUnit = RECORD
CountingWord: WordFixedLength;
Count: INTEGER;
Left: Tree;
Right: Tree;
END;
PROCEDURE PrintTree(VAR OutputFile: TEXT; VAR Root: Tr... |
Unit ESoft.Launcher.RecentItems;
{ ---------------------------------------------------------- }
{ Developed by Muhammad Ajmal p }
{ ajumalp@gmail.com }
{ ---------------------------------------------------------- }
Interface
Uses
Vcl.StdCtrls,
Winapi.Windows,
System.Classes,
IniFiles,
Sy... |
unit FastStringList;
{$I Compiler.inc}
interface
uses BeRoStream,BeRoStringHashMap,List;
const MaxListSize=2147483647 div SizeOf(pointer);
EmptyStr:ansistring='';
type TPointer=pointer;
TPointerS=array of TPointer;
TFastStringListClass=class
public
Str:ansistring;
... |
unit Wait4D.Notificacao;
interface
uses
Wait4D.Interfaces;
type
TWait4DNotificacao = class(TInterfacedObject, iWait4DNotificacao)
private
[weak]
FParent : iWait4D;
FTitulo : string;
FDescricao : string;
FPosicaoAtual : integer;
FPosicaoMaxima : integer;
public
constructor Create... |
unit VaniConfig;
interface
uses
Windows, Classes, SysUtils, SyncObjs, DateUtils, System.Generics.Collections,
FileSystemWatcher, IniFiles, Iocp.ReadWriteLocker;
type
// 如果要在多线程中读取配置信息,需要调用Lock/Unlock加锁/解锁
TVaniConfig = class
private
FFileWatcher: TFileSystemWatcher;
FFileChangeTime: TDictionary<str... |
unit ListView1;
interface
uses
SysUtils, Classes, Controls, ComCtrls, Graphics, Windows, CommCtrl, Messages, Dialogs;
type
TListView1 = class(TListView)
private
FaToz:Boolean;
FoldCol:Integer;
FPicture:TPicture;
FHeaderFont:TFont;
FSortType: Integer;
procedure SetHeaderFont(Value:TFont)... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-17, FILE=DEV262, CL... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.5-1, FILE=CONF009, CLASS=... |
unit BoldToCxGridConverterUnit;
interface
uses
BoldGrid,
Classes,
cxGridBoldSupportUnit,
cxGridPopupMenu,
SysUtils;
type
TBoldToCxGridConverter = class(TComponent)
private
procedure ConvertGrid(aBoldGrid : TBoldGrid);
procedure CopyBoldColumn(aBoldColumn : TBoldGridColumn; aCxGridBoldColumn : T... |
unit FFScript;
interface
uses Classes, SysUtils;
type
TScriptArgument = (saS8, saU8, saU8X, saS16, saU16, saU16X, saS32, saU32, saU32X);
TScriptArgumentArray = Array of TScriptArgument;
TScriptOpcode = Packed Record
ID: Byte;
Len: Integer;
Name: String;
Args: TScriptArgumentArray;
end;
... |
unit uSQLConnection;
interface
uses
Uni;
type
TConnectionType = (ctSQLite, ctIBLite, ctMySQL);
TSQLConnection = class(TUniConnection)
private
procedure OnBeforeConnect(Sender: TObject);
procedure OnAfterConnect(Sender: TObject);
public
constructor Create(ConnectionType: TConnectionType = ctSQL... |
{
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at http://mozilla.org/MPL/2.0/
*
* Copyright (C) 2013-2014, Peter Johnson (www.delphidabbler.com).
*
* $Rev$
* $Date$
*
* Defines an advanced... |
program ejemploArbol;
//arbol de enteros
type
arbolEnteros = ^nodo;
nodo = record
dato : integer;
hi : arbolEnteros; //hijo izquierdo
hd : arbolEnteros; // hijo derecho
end;
//algoritmo recursivo, el caso base es si el puntero es nil (en ese caso hay que agregar el elemento)
//si no es nil, hay que compa... |
unit wxoExec;
interface
uses
//自编
//wxoBase,
//wxoUnit,
//系统
ExtCtrls,Forms, Variants, Classes, Graphics, Controls,
StdCtrls,
ShellAPI,
SysUtils,Dialogs,Messages,Windows;
type
TMoniObject=class(TObject)
Timer_AutoCLose : TTimer;
procedure onTimer(Sende... |
unit Font;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,DIB, StdCtrls, PSPRAW, ExtCtrls, ActnList, ExtDlgs;
type
TForm1 = class(TForm)
Button1: TButton;
Img: TImage;
Button2: TButton;
Button3: TButton;
chBGR: TCheckBox;
PalImg: TImage... |
program PascalExercise16;
var
x : integer;
procedure TimesTable(x : integer);
var
y : integer;
answer : integer;
begin{procedure}
y := 1;
while y <= x do
begin{while}
answer := y * x;
writeln(y, ' times ', x ,' equals ', answer);
y := y + 1;
end;{while}
end;{procedure}
begin{program}
writeln('Enter a... |
unit uToolTipMnemonics;
interface
uses
Windows, Classes, Menus, ActnList, SysUtils, ShellApi, Forms, Registry,
WinTypes, GraphUtil, Graphics, uHTML, uToolTipItem, uToolTip;
type
TMnemonics = class(TToolTip)
private
procedure Initialize;
procedure CreateToolTips;
public
constructor Cre... |
unit UFPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids,
Vcl.DBGrids, Vcl.ComCtrls, Vcl.ExtCtrls, Datasnap.DBClient, SyncObjs, System.Threading;
type
TForm1 = cl... |
unit Cayan.POS.Server;
(*
Cayan POS Web Server Service
*)
interface
uses
System.Classes, System.SysUtils, System.SyncObjs,
IdContext, IdCustomHTTPServer, IdBaseComponent, IdComponent,
IdCustomTCPServer, IdHTTPServer, IdTCPConnection, IdYarn,
DB, ADODB, Winapi.ActiveX,
Cayan.Common,
Cayan.Genius.Intf,... |
unit unt_ISQLTreeNode;
interface
const
C_QUERY = '<QUERY>';
C_FIELDS = '<FIELDS>';
C_TABLES = '<TABLES>';
C_UPDATE = '<UPDATE>';
C_SET = '<SET>';
C_CONDITIONS = '<CONDITIONS>';
C_JOINS = '<JOINS>';
C_INNER_JOIN = '<INNER JOIN>';
C_LEFT_JOIN = '<LEFT JOIN>';
C_RIGHT_JOIN = '<RIGHT JOIN>';
C_JOIN_... |
unit AggRasterizerCompoundAA;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.3-7, FILE=DEV204, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.1-4, FILE=ERR79T, CLA... |
unit VamAudio.RealTimeInterpolationFilter;
interface
// This unit contains interpolation filters. They increase the sampling rate and filter
// out the resulting spectral images.
//
// Internally, the interpolation filters are polyphase IIR filters. Polyphase IIR filters are relatively efficient
// because they opera... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
Buttons, ComCtrls, ExtCtrls, MPlayerCtrl;
type
{ TForm1 }
TForm1 = class(TForm)
MPlayerControl1: TMPlayerControl;
OpenDialog1: TOpenDialog;
Panel1: TPane... |
unit ee3AddOn.ControlHandler.VstPar.Knob;
interface
uses
Contnrs,
Controls,
Types,
Classes,
DAEffect,
DAEffectX,
DAudioEffectX;
type
TShowControlContextMenuEvent = procedure(Sender, Control : TObject; X, Y : integer) of object;
TVstParKnobHandler = class
private
fOnShowControlContextMenu: TS... |
(* Symbol table for MiniPascal/MidiPascal interpreter. *)
(* GHO, 13.05.2017 *)
UNIT SymTbl;
INTERFACE
PROCEDURE ResetSymbolTable;
PROCEDURE DeclareVar(name: STRING; VAR ok: BOOLEAN);
FUNCTION IsDeclared(name: STRING): BOOLEAN;
PROCEDURE SetValue(name: STRING; value: INTEGER);
FUNCTION GetValue(name: STRING): INTEG... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-13, FILE=ERR27T, ... |
unit CadPedItem;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
unit uVCLServerForm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Generics.Collections,
uTetherUtil,
System.Tether.NetworkAdapter,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, IPPeerClient, IPPeerServer,
System.Actions, Vcl.ActnList, Vcl.Platform... |
unit ReceptionRequestTest;
interface
uses
DUnitX.TestFramework, ReceptionRequest, System.JSON;
type
[TestFixture]
TReceptionRequestTest = class(TObject)
private
request: TReceptionRequest;
json: TJsonObject;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
/// Tes... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
LabeledEdit1: TLabeledEdit;
LabeledEdit2: TLabeledEdit;
LabeledEdit3: TLabeledEdit;
PaintBox1: TPaintBox;
... |
unit Exercicios.DataModule.Pessoa;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Exercicios.DMConexao, DBXpress, DB, SqlExpr, FMTBcd, Provider,
DBClient, Exercicios.DataModule.Intf.DM;
type
TdmPessoa = class(TDMConexao,IDmPessoa)
PESSOA: TSQLDataSet;
... |
type
tRefListe = ^tListe ;
tListe = record
info: integer;
next: tRefListe;
end;
procedure ListenElemEntfernen (inZahl: integer;
var ioRefAnfang :tRefListe;
var outGefunden: boolean);
{entfernt aus einer Liste mit Anfangszeiger ioRefAnfang das erste
Element mit dem Wert inZahl... |
unit cxLookupBoldGrid;
{$I cxVer.inc}
interface
uses
Windows,
SysUtils, Classes, Controls, Graphics, Forms, StdCtrls, //DB,
cxClasses, cxControls, cxGraphics, cxLookAndFeelPainters,
cxEdit,
// cxDBEdit,
cxCustomData,
// cxDB, cxDBData,
cxEditRepositoryItems,
cxLookupGrid,
cxGridBoldSupportUnit,
... |
unit DContacts.PresentationModel.Dialog;
interface
uses
System.UITypes;
type
TModalResult = System.UITypes.TModalResult;
TDialogAction = reference to procedure(const result: TModalResult);
IDialog = interface
['{203AD4EB-CE78-496B-9FD8-BC3058EA3AAF}']
procedure ShowConfirmationMessage(const msg: Strin... |
Program rec_list;
type
itemptr = ^item;
item = record
data:integer;
next:itemptr;
end;
function isEmpty(var Head:itemptr):boolean;
begin
if Head = nil then
isEmpty:=true
else
isEmpty:=false;
end;
procedure ShowList(var Head:itemptr);
var
tmp:itemptr;
begin
if isEmpty(Head) then
Writeln('list is empt... |
unit uGeneralFunctions;
interface
uses
ShLwApi, SysUtils, Classes, Types, VamLib.MoreTypes;
//== String Conversion functions ==============================================
function ToPAnsiChar(Text:string):PAnsiChar;
function InRect_Quick(aPoint:TPoint; aRect:TRect):boolean; inline;
function InRect(a... |
/// <exclude />
unit Model.Subscriber;
interface
uses Model.IntActions, Model.Interf;
function SubscriberClass: ISubscriber;
implementation
type
TSubscriber = class (TInterfacedObject, ISubscriber)
private
fUpdateMethod: TUpdateSubscriberMethod;
fUpdateNotificationMethod: TUpdateSubscrib... |
unit uImgProc;
{ Unit uImgProc : Image processing Unit
Created by : Alex Vergara Gil
Contains the routines for handling and process images
Smooth (1D, 2D & 3D) : over vectors and matrixes
the smooth is made by averaging values surrounding each value.
if the value is near the edge then it is take... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit uEmulatorMain;
{$DEFINE STYLE_BLACK}
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, System.Actions,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, FMX.Gestures, FMX.Controls.Presentation, FMX.Layouts,
FMX.Lis... |
//############################################################################//
//Zlib stream formatting for inflate/deflate
//############################################################################//
{$ifdef fpc}{$mode delphi}{$endif}
unit zlib;
interface
uses asys,inflate,deflate,crc32;
//##################... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit SpTBXDkPanels;
{==============================================================================
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 found i... |
unit UCL.Edit;
interface
uses
SysUtils,
Classes,
Windows,
Messages,
Controls,
StdCtrls,
ExtCtrls,
Graphics,
Forms,
UCL.Classes,
UCL.Types,
UCL.Colors,
UCL.Utils;
type
// private const
// DefBorderColor: TDefColor = (
// ($999999, $666666, $D77800, $CCCCCC, $D7... |
{
A monophonic synth needs to keep track of which keys have been pressed, released
and in which order. At any point in time the synth needs to know the
last key that was pressed. TNoteStack is a class to do all of above.
}
unit soNoteStack;
interface
type
PNoteData = ^TNoteData;
TNoteDa... |
{ *************************************************************************** }
{ Data: 04/12/2016 }
{ Resenha: Codigo obtido apartir do codigo FMX }
{ ***************************************************************************... |
unit VamShortMessageOverlay;
interface
uses
Graphics, Controls,
Classes, RedFox, RedFoxColor, RedFoxWinControl, VamWinControl;
type
TVamShortMessageOverlay = class(TVamWinControl)
private
IsMouseOver : boolean;
fColor : TRedFoxColor;
fColorBorder : TRedFoxColor;
fColorText : TRedFoxColor;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.