text stringlengths 14 6.51M |
|---|
unit UModel;
interface
uses
SysUtils, Classes, QGraphics,
QControls, QForms, QDialogs,
QExtCtrls, QComCtrls, UDraw, QMenus, UChar,
SyncObjs, QTypes; //For critical sections
//This information is necessary for the drawing
//routines. The C library actually fills in the
//values as necessa... |
unit uToolTipDirectives;
interface
uses
Windows, Classes, Menus, ActnList, SysUtils, ShellApi, Forms, Registry,
WinTypes, GraphUtil, Graphics, uHTML, uToolTipItem, uToolTip;
type
TDirectives = class(TToolTip)
private
procedure Initialize;
procedure CreateToolTips;
public
constructor C... |
unit FileManager;
interface
uses FileManager.Views.FileControl, Vcl.Forms, FileManager.Providers.Modulos.Imagens, FileManager.Providers.FileServer, JOSE.Core.JWT,
System.SysUtils, FileManager.Providers.Constants, System.DateUtils, JOSE.Core.Builder;
type
TFileManager = class
private
FFileControl: TFrmFileC... |
{
IMPORTANT: This class is untested!
}
unit EasyEffect.AudioOutputController.Standard;
interface
{$INCLUDE Defines.inc}
uses
EasyEffect.AudioOutputController.Custom,
DAEffect, VamLib.MoreTypes;
type
TVstAudioOutputController = class(TCustomVstAudioOutputController)
private
protec... |
unit soStepInFilter;
interface
uses
B2.Filter.CriticallyDampedLowpass;
type
TStepInFilter = class
private
fSampleRate: integer;
fDecayTime: double;
fIsActive: boolean;
procedure SetDecayTime(const Value: double);
procedure SetSampleRate(const Value: integer);
protected
... |
unit frmDisplayItemPrice;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
//Auto Create
frmUniDisplay, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn,
dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns,
dxPSEdge... |
{***************************************************************************}
{ GDI+ API Imports }
{ for Delphi & C++Builder }
{ }
{ writte... |
unit FinanciamentoModel.Subject;
interface
uses
System.Generics.Collections,
IFinanciamento.Subject, IFinanciamento.Observer, Financiamento.Model;
type
TFinanciamentoModelSubject = class(TInterfacedObject, IFinanciamentoSubject)
private
FObservers: Tlist<IFinanciamentoObserver>;
FFinanciamentoModel: ... |
unit VamVst2.MidiEventOutputBuffer;
interface
uses
VamVst2.DAEffectX,
VamVst2.MidiEvent;
type
/// TMidiEventOutputBuffer has been designed for use as a Midi output
/// buffer. It allows events to be queued for output at anytime and in
/// any order. The flexibility does incure extra processing overhead... |
{ ******************************************************************
Density of standard normal distribution
****************************************************************** }
unit unormal;
interface
uses
uconstants, umachar;
function DNorm(X: Float): Float;
{ Density of standard normal distribu... |
unit Cayan.MWv4.Impl;
interface
uses
System.Classes, System.SysUtils, System.Variants,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenSSL
{$IFDEF IOS}
, IdSSLOpenSSLHeaders_Static
{$ENDIF}
, Xml.XmlIntf
, Xml.XmlDoc... |
unit DeliveryService;
interface
uses System.Generics.Collections, System.SysUtils, BasicService, Data.DB,
FireDAC.Comp.Client, DeliveryBairroVO, Bibli,
ViewPrevendaVO, DeliveryRecebimentoVO, DeliverymanVO,
System.StrUtils, ViewDeliveryClienteVO;
type
TDeliveryService = class(TBasicService)
public
clas... |
unit UEntries;
interface
uses UMovie;
type
TKey = string;
TValue = TMovie;
TFile = TextFile;
THashEntry = class
key:TKey;
value: TValue;
constructor Create(key: TKey; value:TValue);
end;
//LinkedList
TBase = THashEntry;
TListEntry = class
data:TBase;
next:TListEntry;
construct... |
unit LucidityControl.ModSection;
interface
uses
Types, Controls, Classes, Graphics,
RedFox, RedFoxGraphicControl, RedFoxColor,
VamGraphicControl, VamWinControl,
uGuiFeedbackData, VamTextBox, VamLabel, VamPanel, VamSlider;
type
TModSectionActiveControl = (acNone, acSlider);
TModSectionDisplayS... |
unit UCL.GraphicSlider;
interface
uses
Classes,
Windows,
Messages,
Controls,
Graphics,
UCL.Classes,
UCL.Types,
UCL.Utils,
UCL.Colors;
type
TUGraphicSlider = class(TUGraphicControl)
private var
LCurWidth: Integer;
LCurHeight: Integer;
LCurCorner: Integer;
LBarHeight: Integer;
... |
unit GbaUnit;
interface
Uses SysUtils, Classes;
Type
DWord = Cardinal;
PByte = ^Byte;
PWord = ^Word;
PDWord = ^DWord;
PBytes = ^TBytes;
TBytes = Array[Word] of Byte;
PWords = ^TWords;
TWords = Array[Word] of Word;
PDWords = ^TDWords;
TDWords = Array[Word] of DWord;
PPalette = ^TPalette;
... |
unit NullableTypes;
interface
uses
Variants, SysUtils;
type
ENullReference = class(Exception)
// constructor Create(const AMessage: string);
end;
EUnsupportedType = class(Exception)
end;
Nullable<T> = record
private
var fValue: T;
class function AddInt(const aInt, bInt): ... |
unit wizard_parser;
interface
uses
Classes, SysUtils, Types, JclStrings, JclFileUtils;
// function GetTemplateSource(AFileName: string; AParameterList: TStrings): string; overload;
// procedure GetTemplateSource(AFileName: string; AParameterList: TStrings; AResult: TStrings); overload;
// function GetTemp... |
unit Generics.Casts;
interface
uses Windows;
// From https://forums.codegear.com/thread.jspa?threadID=11019&tstart=0
// by Andreas Hausladen
function GenericAsString(const Value): string; inline;
function GenericAsInteger(const Value): Integer; inline;
function GenericAsInt64(const Value): Int64; inlin... |
unit fMain;
{
Unit hlavniho okynka, tady se resi predevsim interakce s GUI.
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, tUltimateLIConst, ActnList, StdCtrls, ComCtrls, ExtCtrls,
Generics.Collections, System.Actions;
type
TF_Main = class(TForm)
... |
uses System;
if 'hello' is not Integer then WriteLn('hello is not an int');
if 1 is Integer then WriteLn('1 is an integer');
if true is not Integer then WriteLn('1 is not a bool');
if 123 is not String then WriteLn('123 is not a string'); |
Program MovingStar;
uses crt;
const
DelayDuration = 100;
type
star = record
CurX,CurY,dx,dy:integer;
end;
procedure ShowStar(var s:star);
begin
GotoXY(s.Curx,s.CurY);
write('*');
GotoXY(1,1);
end;
procedure HideStar(var s:star);
begin
GotoXY(s.CurX,s.CurY);
Write(' ');
GotoXy(1,1);
end;
procedure MoveSt... |
unit delphi_AddComponentFolder;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Mask, JvExMask, JvToolEdit, JvExStdCtrls, JvHtControls,
ExtCtrls, JvSearchFiles, JvComponentBase, delphi32_utils, delphi32_vars;
type
TFormAddComponentFolder ... |
// RFC 5198 https://tools.ietf.org/html/rfc5198
{$MODE FPC}
{$MODESWITCH OUT}
{$MODESWITCH RESULT}
unit dunicode;
interface
const
// Highest possible code point
HIGH_UNICODE_CODE_POINT = $0010FFFF;
// Some constants for unicode characters
U_BOM = $FEFF;
U_CR = $0D;
U_LF ... |
unit PngSpeedButton;
interface
uses
Windows, Classes, Buttons, pngimage, PngFunctions;
type
TPngSpeedButton = class(TSpeedButton)
private
FPngImage: TPngImage;
FPngOptions: TPngOptions;
FImageFromAction: Boolean;
function PngImageStored: Boolean;
procedure SetPngImage(const Va... |
unit HMAC;
interface
uses
LbClass, LbCipher;
type
PByteArray = ^TByteArray;
TByteArray = array[0..32767] of Byte;
THMAC_SHA = class (TObject)
public
constructor Create(const Key: array of Byte; KeyLen: Cardinal);
procedure ReInit(const Key: array of Byte; KeyLen: Cardinal);
procedure Update(co... |
unit uWidgetForm;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Generics.Collections,
uWidget,
uWidgetSubclass;
type
// Form1 definition
TWidgetForm = class(TForm)
... |
unit UCL.ScrollBox;
interface
uses
Classes,
Types,
TypInfo,
Windows,
Messages,
FlatSB,
Controls,
Forms,
ExtCtrls,
Graphics,
UCL.Classes,
UCL.Types,
UCL.Colors,
UCL.ThemeManager,
UCL.IntAnimation,
UCL.Utils;
type
TUScrollBarStyle = (sbsMini, sbsFull, sbsNo);
... |
unit VamLib.MultiCastEvents;
interface
uses
Classes,
Vcl.Controls;
type
PMethod = ^TMethod;
TCustomMultiCastEvent = class
private
FWatcherCount: integer;
protected
EventHandlers : array of PMethod;
function NewEventHandler : PMethod;
procedure DisposeEventHandler(const Index : integer);
... |
unit eePlatform.Win;
interface
function GetCommonAppDataDir:string;
implementation
uses
WinApi.Windows,
ShlObj;
function GetCommonAppDataDir:string;
var
hwnd : Int64;
CSIDL : integer;
hToken : Int64;
Flags : cardinal;
PPath : PWideChar;
TempPath : array[0..MAX_PATH] of WideCha... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-19, FILE=DEV217, ... |
{ ******************************************************************
One-way analysis of variance
****************************************************************** }
unit uanova1;
interface
uses
utypes, umachar, uConstants;
procedure AnOVa1(Ns: Integer; N: TIntVector; M, S: TVector;
var V_f, V_... |
{$MODE OBJFPC}
Program Main;
Uses FastGraph,GL,GLUT,GLU,UTILS,CODE,sysutils;
procedure glutInitPascal(ParseCmdLine: Boolean);
var
Cmd: array of PChar;
CmdCount, I: Integer;
begin
if ParseCmdLine then
CmdCount := ParamCount + 1
else
CmdCount := 1;
SetLength(Cmd, CmdCount);
for I := 0 to CmdCoun... |
{**************************************************************************************************}
{ 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 h... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.7.2-4, FILE=LEV1F27... |
// Copyright (C) 2000-2005 ABplus kazhida.
// All rights reserved.
// $Id: ABUtils.pas 1284 2009-09-04 01:41:01Z kazhida $
// $Author: kazhida $
//
unit ABUtils;
interface
{:Note::
ABplus特製ユーティリティ
TABFileSearchクラス
--- ファイル抽出用のクラス
FindFirst, FindNext, FindCloseを使って、ファイルのリストを作ります
ABNextToken関数
... |
{==============================================================================|
| Project : Ararat Synapse | 001.000.005 |
|==============================================================================|
| Content: SSL support by StreamSecII ... |
unit PDirSelected;
//Сборка Yakovchenko Sergey 2009
//DelphiWorld 2002-2004. Акулов Николай и сообщество Delphikingdom
interface
uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls,ComCtrls, ShlObj, ActiveX;
type
TDirDialog = class(TComponent)
protected
... |
unit uTokenManager;
interface
uses
SysUtils, uEntity, Generics.Collections, DateUtils;
type
TToken = class
public
Login: string;
IP: string;
Key: string;
LoginTime: Double;
UpdateTime: Double;
User: TUser;
IsSys: Boolean;
end;
TTokenManager = class
private
FSessionDic: TD... |
program goldbach;
uses wincrt;
{Prime test}
function isPrime(n:integer):boolean;
var i:integer;
isDiv:boolean;
begin
if (n=1) then isPrime:=false
else
begin
isDiv:=false;
for i:=2 to trunc(sqrt(n)) do
if ((n mod i)=0) then isDiv:=true;
if (isDiv) then isPrime:=false
else isPri... |
unit CadCFisc;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
unit LPTControllerAddEventRequestHandler;
interface
uses
Winsock, Classes, SysUtils, Log4D,
LPTControllerRequestHandler, LPTControllerRequestHandlerBag,
TimelineControler, ObjectWithTimelineControler;
type
TLPTControllerAddEventRequestHandler = class (TInterfacedObject, ILPTControllerRequestHandler... |
program Circle;
const
Width = 5;
var
radius: real;
procedure circumference(var radius1: real);
var
c: real;
begin{circumference}
c := 2 * 3.14 * radius1;
writeln('Your circumference is ', c:Width:2);
end;{circumference}
procedure area(var radius2: real);
var
a: real;
begin{area}
a:= 3.14 * radius2 * radius2;... |
unit eeVstAudioInputController;
interface
{$INCLUDE Defines.inc}
uses
{$IFDEF OverSampleEnabled}eeOverSamplingFilters,{$ENDIF}
DAEffect, VamLib.MoreTypes;
type
TVstAudioInputController = class
private
fBlockSize: integer;
fInputChannelCount: integer;
fOverSampleFactor: integer;
... |
unit uFrmProjectBuildOrder;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, VirtualTrees, uSharedGlobals,
uDM, uProject, ActiveX, uGroup, System.Generics.Collections;
type
TfrmPro... |
unit uAppData;
interface
uses
FireDAC.Comp.Client, System.SysUtils;
type
IAppData = interface
['{6D571E40-F272-43F8-A7C4-E899CBE82371}']
function GetToken: string;
property Token: string read GetToken;
end;
/// <summary>Token holder as Singleton.
/// </summary>
/// <remarks>It is a private k... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit Test.Model.AUTOINC;
interface
uses Model.Atributos, Model.Atributos.Tipos, Model.IModelBase, Model.IObserve, Model.ModelBase;
type
[Tabela('AUTOINC')]
TAUTOINC = class(TModelBase)
private
FCODIGO: string;
FVALOR: STRING;
FTabela: string;
procedure SetCODIGO(const Value: string);
proce... |
Unit Tm_Str;
Interface
CONST
HexList :ARRAY[0..15] OF CHAR ='0123456789ABCDEF';
cTab = #9;
cBS = #8;
cCR = #13;
cLF = #10;
cBSlash = '\';
Type
{Pstring = ^string;}
AnArray = array[0..$FFF8] of byte;
{----------------------------------------------------------------------}
{---... |
unit UTransicoes;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buttons, StdCtrls, Mask, jpeg, ExtCtrls;
type
TF_Transicao = class(TForm)
SpeedButton1: TSpeedButton;
ETransicao: TMaskEdit;
Image1: TImage;
Image2: TImage;
Image3: TImag... |
{
************************************************************************************************
R. Coetzee - 06/04/2020
************************************************************************************************
TRCGPlaceAutoCompleteCombo is a tightly integrated Restful combo control that exposes
... |
unit Instruction;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Errors;
type
TInstructionForm = class(TForm)
Memo: TMemo;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
e... |
unit ComponentRegistrationUnit;
interface
procedure Register;
implementation
uses
Classes, NullableCurrencyStaticTextUnit, NullableDoubleStaticTextUnit, NullableIntegerStaticTextUnit;
procedure Register;
begin
RegisterComponents('SDC-2009', [
NullableCurrencyStaticTextUnit.TCustomNullableCurr... |
unit VamVst2.MidiEvent;
interface
type
kMidiEventStatus = record
const NoteOn = $90;
const NoteOff = $80;
const ControlChange = $B0;
const PitchBend = $E0;
end;
type
PMidiEvent = ^TMidiEvent;
TMidiEvent = record
Status, Channel, Data1, Data2, Deltaframes: integer;
end;
TArrayOfMidi... |
unit FarScape.VclContainer;
interface
uses
Graphics,
Windows,
Classes,
Controls,
Messages,
FarScape.CustomControl,
FarScape.RootControl,
FarScape.Scene,
FarScape.InvalidateBuffer,
FarScape.UserInteraction;
type
TFarScapeContainerVCL = class(TWinControl)
private
procedure CMMouseEnter(var ... |
unit Iocp.VariantSocket;
interface
uses
Windows, Classes, SysUtils, Math, Iocp.TcpSocket, Iocp.PacketSocket, Iocp.VariantPacket,
Iocp.Utils;
type
TIocpVariantServerConnection = class(TIocpPacketConnection);
TIocpVariantRequestEvent = procedure(Sender: TObject; Client: TIocpVariantServerConnection; Request, ... |
{
eeMidiPorts relies on uMidi for it's functionality, but uMidi uses global midi port variables, so
only one midi port can be accessed at once for all instances of the application. In the case of a plugin
this probably isn't preferable, so uMidi port will probably need to be replaced with a new implementation
... |
unit uDockableForms;
interface
uses
Windows, Controls, Forms, Messages;
type
IDockableForm = interface
['{7799D9C9-BBEE-4321-8A69-690E40606BAF}']
procedure Dock(Parent: TWinControl);
procedure Undock;
function GetCaption: string;
end;
TDockableForm = class(TForm, IDockableForm)
private
p... |
{
TLevelMeter is a class that monitors the volume of audio streams. It is designed to be used as
input for level meters in mixers and the like.
}
unit eeLevelMeter;
interface
uses
eeGlobals, eeDelayBuffers, eeDsp, Math;
type
TLevelMeter = class
private
fFallRate: single;
fValue: si... |
{******************************************************************
* 项目名称:
* 单元名称:除魔任务面板内容
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 10011;
//TASK_TYPE_MAIN 任务类型为主... |
unit ZapMQ.Message;
interface
uses
JSON, ZapMQ.Message.JSON;
type
TZapMessageStatus = (zCreated, zPending, zSended, zProcessing, zProcessed,
zAnswered, zExpired);
TZapMessage = class
private
FBirthTime : Cardinal;
FBody: TJSONObject;
FStatus: TZapMessageStatus;
FQueueName... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO transiente. Montará os dados necessários para o registro R04.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this so... |
unit Menu.SamplesMenu;
interface
uses
Classes,
Menu.CustomPopupMenu,
eePlugin, Vcl.Menus, Windows, Messages;
type
TSamplesMenu = class(TCustomPopupMenu)
private
// Receive windows message in a custom non-windowed class.
// http://delphi.about.com/od/windowsshellapi/a/receive-windows-me... |
unit ufTarefa2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls;
type
TfTarefa2 = class(TForm)
Progresso1: TProgressBar;
lblProgresso1: TLabel;
lblProgresso2: TLabel;
... |
unit uVoiceControlFrame;
interface
uses
VamLib.ZeroObject,
VamLib.Vcl.ZeroFrame,
Lucidity.GuiStandard,
uGuiFeedbackData, eePlugin, Menus, uConstants,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, RedFoxContainer,
RedF... |
unit DelphiMaps.WebImage;
interface
uses
SysUtils, Classes, Controls, ExtCtrls, ExtActns, Menus,
Graphics, PngImage, GifImg, Jpeg;
type
TWebImage = class(TPaintBox)
strict protected
FIsLoaded:Boolean;
FPicture:TPicture;
FBitmap:Graphics.TBitmap;
FPopupMenu:TPopupMenu;
proce... |
{ Just another Lase Show Editor (Jlse) (based on Heathcliff)
Copyright (C) 1999,2000,2010 Patrick Michael Kolla.
2013 Christian Ulrich (info@cu-tec.de)
This source is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Fre... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-13, FILE=IMDEFB35... |
// r8brain-free-src Copyright (c) 2013 Aleksey Vaneev
// See the "License.txt" file for license.
//
// Please read the "r8bsrc.h" file for function descriptions.
unit r8bsrc;
interface
{$include r8Brain.inc}
type
CR8BResampler = Pointer;
PR8BDouble = ^Double;
const
R8BrainVersion = 1.4;
const
r8brr16 = 0; //... |
unit zenSky;
interface
uses
w3system, w3ctrls, w3components, w3forms, w3application,
LoadForm, form1;
type
TApplication = class(TW3CustomApplication)
private
FHeader: TW3HeaderControl;
public
procedure ApplicationStarting; override;
property Header: TW3HeaderControl read FHeade... |
{******************************************************************
* 项目名称:
* 单元名称:沃玛寺庙的秘密
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 104;
//TASK_TYPE_MAIN 任务类型为主线
//... |
unit resourcesEditMultipleVersionResourceCommand;
{$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, resources_Module;
{**** Sample Code to register th... |
{
TWinampControl 0.99 - By SpECTre (spectre_coder@hotmail.com
Function Explanation:
Note: The function IsWinampRunning is the only function that works if winamp isnt running,
so use this before all other functions - if you use another function and winamp isnt running,
the function will either return false, an ... |
unit UnitVertexBufferArrayManager;
interface
uses
SysUtils,
Windows,
Classes,
OpenGL,
UnitOpenGLext;
const MaxCountVertexAttributes = 16;
type tFillAttribInfo = record
Size: GLint;
AttribType: GLenum;
bNormalized: GLboolean;
Stride: GLsizei;
Offset: PGLvoid;
Divi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.5-2, FILE=IMDEFB16,... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
unit PrintRepository;
interface
uses BasicRepository, System.Generics.Collections, ImprimirVO, System.SysUtils,
MovimentoVO, ImpressoraVO, EmpresaVO, RecebimentoContaVO, SangriaVO, SuprimentoVO, VendaVO,
PrevendaImprimirVO, ViewPrevendaVO;
type
TPrintRepository = class(TBasicRepository)
class function getI... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-10, FILE=DEV023, CL... |
unit Iocp.TimerQueue;
{基于Win32系统的时钟队列}
interface
uses
System.Classes, System.SysUtils, System.SyncObjs, System.Generics.Collections,
Winapi.Windows;
type
TTimerProc = reference to procedure;
TTimerMethod = procedure of object;
PTimer = ^TTimer;
TTimer = record
Handle: THandle;
Interval: Cardina... |
unit Data.Cloud.AmazonAPI.China.SNS;
//AWS China API SNS 接口
//参考 Data.Cloud.AmazonAPI
//有兴趣可以自行测试
//Bug:371889755@qq.com
interface
uses
System.Classes,
System.JSON,
System.SysUtils,
System.Generics.Collections,
Data.Cloud.CloudAPI, Data.Cloud.AmazonAPI.LifeCycle,
Xml.XMLIntf,
Data.Cloud.... |
unit TestSingleBplManualMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,
TestConstants,
mlLibrary,
mlTypes;
type
TfrmMain = class(TForm)
memLog: TMemo;
btnLoadPackage: TButton;
procedure btnLoadPackageClick(Sender: TObject);
... |
{******************************************************************************
Implementation of SQLFactory classes that cause a modification of the data.
@author Jeff Chaney
@author Guardian Industries, Inc., Auburn Hills, MI
@author Last Changed By: $Author: jchaney $ $Date: 2014/09/17 11:15:32 $
@group S... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.1-4, FILE=DEV032, CLA... |
unit AVsInfo;
interface
uses Windows, SysUtils, ActiveX, ComObj, Classes;
const
IID_IOfficeAntiVirus : TGUID = '{56FFCC30-D398-11d0-B2AE-00A0C908FA49}';
//DEFINE_GUID(IID_IOfficeAntiVirus,
//0x56ffcc30, 0xd398, 0x11d0, 0xb2, 0xae, 0x0, 0xa0, 0xc9, 0x8, 0xfa, 0x49);
CATID_MSOfficeAntiVirus : TGUID = '{56FFCC30-D... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.4-5, FILE=ERR56T, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-9, FILE=ERR23T, C... |
{ ******************************************************************
Linear equation
****************************************************************** }
unit urtpol1;
interface
uses
uConstants;
function RootPol1(A, B: Float; var X: Float): Integer;
{ ----------------------------------------------... |
unit MyORM.INI;
interface
uses
Classes, SysUtils, IniFiles, Windows;
const
csIniTipoSection = 'Tipo';
csIniConexaoSection = 'Conexao';
{Section: Tipo}
csIniTipoEncoding = 'Encoding';
{Section: Conexao}
csIniConexaoSGBD = 'SGBD';
csIniConexaoDriverID = 'DriverID';
csIniConexaoServer = 'Server';
cs... |
(* 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... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.3-2, FILE=CONF109, CLAS... |
unit ConexaoDAO;
interface
uses
System.SysUtils, FireDAC.Comp.Client, FireDAC.Stan.Def, FireDAC.Phys.FB,
FireDAC.Dapt,
FireDAC.UI.Intf, FireDAC.VCLUI.Wait, FireDAC.Stan.Intf, FireDAC.Comp.UI,
FireDAC.Stan.Pool, FireDAC.Stan.Async;
type
TConectDAO = class
private
FDQuery: TFDQuery;
FDConexao: TFDC... |
unit TestActionDispatcher;
interface
uses
DUnitX.TestFramework, Action, System.Generics.Collections, ProviderFactory, Provider, VenditoriSimple, SoluzioneAgenti;
type
[TestFixture]
TTestActionDispatcher = class(TObject)
private
action1, action2, action3, action4, defaultAction: TAction;
actions: TOb... |
{ ******************************************************************
Polynomials and rational fractions
****************************************************************** }
unit upolynom;
interface
uses
utypes, uConstants;
function Poly(X: Float; Coef: TVector; Deg: Integer): Float;
{ ------------... |
unit LucidityGui.VectorSequence;
interface
uses
Types, Controls, Classes, Graphics,
RedFox, RedFoxGraphicControl, RedFoxColor,
VamGraphicControl, VamWinControl,
VamGuiControlInterfaces;
const
kMaxSeqLength = 64;
type
TLucidityVectorSequence = class(TVamWinControl)
private
fOnChanged: TNotifyEvent... |
unit ee3.CustomPlugin.PublishedVstParInfo;
interface
type
IPublishedVstParInfo = interface
['{5A484DB8-3294-44E7-A807-4AE4EFD15760}']
procedure VstPar_SetParameter(const Index: Integer; Value: single); // Called when a parameter changed
function VstPar_GetParameter(const Index: Integer): single; ... |
{**************************************************************************}
{ TAdvSmoothMessageDialog component }
{ for Delphi & C++Builder }
{ }
{ written ... |
unit PlugLib.AirControl;
interface
uses
Classes,
SyncObjs,
PlugLib.Types,
VamLib.UniqueID,
AudioPlugin.Types,
PlugLib.AirControl.DelayedTaskList,
PlugLib.AirControl.TaskQueue,
PlugLib.AirControl.TaskSyncQueue;
type
TAirControl = class;
TBackgroundWorker = class;
// == TAirControl ==
// Plugi... |
unit servicefrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls;
type
TServiceForm = class(TForm)
lvServices: TListView;
bAdd: TButton;
bRemove: TButton;
bConfigure: TButton;
bClose: TButton;
procedure FormCreate(Sen... |
{***********************************************************************}
{ TAdvDBDateTimePicker component }
{ for Delphi & C++ Builder }
{ }
{ written by : ... |
unit InWindowDialog.SampleFinderDialog.Brain;
{
The sample finder brain wraps up all the searching functionality.
}
interface
uses
VamLib.Threads,
Classes;
type
TFileSearchMotile = class;
TFileFoundEvent = procedure(Sender : TObject; const MissingIndex : integer; const OldFileName, NewFileName : string;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.