text
stringlengths
14
6.51M
Unit uconvolution; Interface Uses utypes; Function Convolucion(Data: TVector; Var Respns: TVector; n, m, isign: integer): TVector; Function Correlacion(Data1, Data2: TVector; n: integer): TVector; Function SavitzkyGolay(Data: TVector; n, nl, nr, ld, m: integer) : TVector; Overload; Function SavitzkyGo...
unit uRequestItf; interface uses IdHttp, SysUtils, HttpApp, Soap.EncdDecd, IdURI, Classes; type TRmMessage = record code: string; msg: string; rownum: string; end; TRequestItf = Class private class function Query(url, action, param: String): String; class function ReplaceUnsafeChars(co...
unit DLua; interface uses LuaBase, Lua, LauxLib, DMessageDlg, Dialogs, Forms; type TLua = class L : PLua_State; constructor Create( _L : PLua_State ); procedure Res( var Result:integer; Res:array of const ); procedure DoFile( FileName: String ); procedure RegFunction( const Name: S...
{ *************************************************************************** } { Autor: } { Data: 04/12/2016 } { Resenha: { *************************************************************************** } { Licença segue a mesma estabelecida no código original determinada pelo seu } { autor } { } { *******************...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.10-7, FILE=IMDEFB41...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.2-2, FILE=CONF036, CLAS...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://10.43.255.10:8080/wsdl/Itrffweb // >Import : http://10.43.255.10:8080/wsdl/Itrffweb>0 // Version : 1.0 // (2016/2/...
{ Common stuff for SFNT-based fonts } {$MODE OBJFPC} {$H+} {$INLINE ON} unit fi_sfnt_common; interface uses fi_common, fi_info_reader, fi_utils, classes, sysutils; const TAG_BASE = $42415345; TAG_GDEF = $47444546; TAG_GPOS = $47504f53; TAG_GSUB = $47535542; TAG_JSTF = $4a535446; TAG_NAME = ...
unit VideWizard; interface uses ViBindings, Classes, System.SysUtils, ToolsAPI, Vcl.AppEvnts, Vcl.Forms, Winapi.Windows, Winapi.Messages; type TVIDEWizard = class(TNotifierObject, IOTAWizard) private FEvents: TApplicationEvents; FViBindings: TViBindings; procedure D...
unit functions; interface uses dataTypes, Sysutils; procedure drawTable(stats: TStatsArray; sort_name: str); function compareDates(d1, d2: TDate; var counter: integer): integer; procedure sortShuttle(var list: TDateArray; length: integer; var counter_cmp: integer; var counter_move: integer); procedure sortQuick(...
unit assemble; { Assembly unit } interface uses DateUtils, Classes, SysUtils, Contnrs, parser; type TLabelOffset = class(TObject) public Name: String; Ident, Offset: Cardinal; constructor Create(const Name: String; const Offset: Cardinal); end; procedure Finalize; procedure Init; procedure SetO...
{ To try and encourage more sales of the 5 different Harry Potter books they sell, a bookshop has decided to offer discounts of multiple-book purchases. One copy of any of the five books costs 8 EUR. If, however, you buy two different books, you get a 5% discount on those two books. If you buy 3 differen...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, IdIOHandler, IdIOHandlerSocket, IdIOHandlerStack, IdSSL, IdSSLOpenS...
{----------------------------------------------------------------------------- Package: Trig Package: Elementary Package: Numerical Package: Lists Package: Data -----------------------------------------------------------------------------} unit uFunctions; interface uses SysUtils, Classes, uMathIntf, uMath, uM...
unit HexFile; interface uses BufferedFile; TYPE HexRecord = Record RecLen : BYTE; Offset : WORD; RecTyp : BYTE; Data : Array[0..255] of Byte; CheckSum: BYTE; end; RecLBA = Record case integer of 0:( LBA : Cardinal ); ...
// Language Bath // 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 // The code unit splits a string into multiple sentences. // Original use case is: // - the u...
unit UFrmCadEmpregados; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmPadrao, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Mask, Vcl.DBCtrls, UDMEmpregados; ...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2009 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools * } ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.3.4-6, FILE=DEV083, C...
unit eeBeatLoopAnalyser.BeatChopperStrategy; interface uses Contnrs, eeSampleFloat, VamLib.MoreTypes, eeBeatLoopAnalyser.CoreTypes, eeBeatLoopAnalyser.GenericChopperStrategy; type TBeatChopperA = class(TGenericChopper) private fRequiredSliceCount: integer; function FindTransientNeare...
unit eeIniFile; interface uses Classes, Contnrs; type TValuePair = class public Ident:string; Value:string; end; TSection = class private fValueList:TObjectList; fName: string; function GetValueCount: integer; procedure SetValueCount(const Value: integer); ...
unit BOsU; interface uses EventBus; type TLoginDTO = class(TObject) private FPassword: string; FUsername: string; procedure SetPassword(const Value: string); procedure SetUsername(const Value: string); public constructor Create(AUsername: string; APwd: string); property Username: st...
{****************************************************************** * 项目名称: * 单元名称:除魔任务面板内容 * 单元作者: * 摘 要: * 备 注: *******************************************************************} program Mir2; {$I common.pas} //本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复 const CurrentTaskID = 10007; //TASK_TYPE_MAIN 任务类型为主...
{ Copyright (C) Alexey Torgashin, uvviewsoft.com License: MPL 2.0 or LGPL } unit ATSynEdit_Form_Complete_HTML; {$mode objfpc}{$H+} interface uses Classes, SysUtils, Graphics, StrUtils, ATSynEdit, ATSynEdit_Carets, ATSynEdit_RegExpr, Dialogs, Math; //it needs file html_list.ini from SynWrite distro pro...
unit Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.StdCtrls, Xml.xmldom, Xml.XMLIntf, Xml.Win.msxmldom, Xml.XMLDoc, Data.DB, ZAbstractRODataset, ZDataset, ZAbstractConnection, ZConnecti...
{* * 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 UCL.Classes; interface {$IF CompilerVersion > 29} {$LEGACYIFEND ON} {$IFEND} uses SysUtils, Messages, Classes, Controls, StdCtrls, ExtCtrls, Forms, UCL.ThemeManager; type IUIDEAware = interface ['{5DA6292C-87B7-4434-93CD-BFDF4852DA4B}'] function IsCreating: Boolean; ...
unit Visual1; interface uses Windows, Dialogs, Graphics, SysUtils, Classes, MVars; const VerticalSpacing = 2; const NumberOfSquare = 10; const SideLength = 4; type TVisual1 = class (TObject) private DrawFFT : TBitmap; He : Integer; Wi : Integer; PeackWide : Integer; ...
unit Model.Main; interface uses System.Generics.Collections, Model.Main.Interfaces, Model.Declarations; function CreateMainModelClass: IMainModelInterface; implementation uses System.SysUtils, System.DateUtils, Model.DataBase, Model.DataBase.Interfaces, Model.ThreadLoadDataBase, Model.ProSu.Notification; ty...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.5-10, FILE=DEV092, CL...
unit Samples.Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, RESTRequest4D.Request.Intf, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC...
unit uStrings; interface uses Uni, UTableBase, System.Generics.Collections; type TString = class(TEntityBase) private // Felder private, durch property veröffentlichen fId: Integer; fStringKey: string; fTextDE: string; fTextEN: string; fTextFR: string; public property id: integer ...
{ MIT License Copyright (c) 2017-2018 Marcos Douglas B. Santos Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, cop...
object SearchDlg: TSearchDlg Left = 329 Top = 171 BorderStyle = bsDialog Caption = 'Dialog' ClientHeight = 95 ClientWidth = 312 Color = clBtnFace ParentFont = True OldCreateOrder = True Position = poScreenCenter OnShow = FormShow PixelsPerInch = 96 TextHeight = 13 object Label1...
unit CalcularPreco.Parametros; interface uses CalcularPreco.Interfaces; type TCalculadoraDePrecoParametros = class(TInterfacedObject, ICalculadoraDePrecoParametros) private [weak] FCalculadoraDePreco: ICalculadoraDePreco; FPercent: Currency; public constructor Create(_ACalculadoraDePreco: ICa...
unit uClasse; interface type TClasse = class public procedure exibeMessage(const p1 : String); overload; procedure exibeMessage(const p1 : String; const p2 : Integer); overload; procedure exibeMessage(const p1 : String; const p2 : Integer; const p3 : Double); overload; end; implementation uses Vcl...
unit LucidityGui.Scope.FreqAnalyzer; interface uses Types, RedFoxColor, RedFoxImageBuffer, VamLib.MoreTypes; type IFreqAnalyzer = interface ['{DD43662C-FBFE-4B6D-8797-78482805DABE}'] procedure GetAnalysisData(out MagnitudeData:PSingle; out SampleFrames : integer); end; TFreqDisplay = class p...
unit ArqSql; interface resourcestring // sql aux strings GlobalSelectCountF = 'select Count(*) from '; GlobalSelectCount = 'select Count(*)'; GlobalSelect = 'select * from '; GlobalWhere = ' where '; GlobalLike = ' like '''; GlobalNull = ' is Null...
{$D+} UNIT Liste; INTERFACE PROCEDURE Add_Folgend(inhalt: LONGINT); PROCEDURE Add_Sortiert(inhalt: LONGINT); PROCEDURE Ersetze_Sortiert(inhalt: LONGINT); PROCEDURE Zeige; PROCEDURE Leere; PROCEDURE Heap_Info; IMPLEMENTATION USES Stdio; CONST memovoll : LONGINT = 0; anzahl : LON...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.1-4, FILE=DEV055, CLA...
unit ValEdit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, HaxList, StdCtrls, ExtCtrls, Errors; type TValForm = class(TForm) eBigEndian: TCheckBox; eType: TRadioGroup; GroupBoxValue: TGroupBox; eValue: TEdit; GroupBoxNewValue: TGroupBox;...
unit Unit_Configuration; interface uses Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls, Buttons, Grids,Common; type { TF_Configuration } TF_Configuration = class(TForm) B_Save: TBitBtn; B_Exit: TBitBtn; CB_Langue: TComboBox; GroupBox1: TGroupBox; ...
program ZAK_vytvoreni_zak; info Title = 'Vytvoření zakázky'; // Script Title Keywords = 'Vytvoření zakázky'; // Script Keywords Author = 'BT'; // Script Author end; //modules zak:TD_ZAK; uses u_book, u_zak; begin try zak := TD_Zak(AktDM); ...
{***********************************************************************} { TAdvSmoothDatePicker component } { for Delphi & C++ Builder } { } { written by : ...
unit Freqlut; interface uses math; const LG_N_SAMPLES = 10; N_SAMPLES = 1 shl LG_N_SAMPLES; SAMPLE_SHIFT = 24 - LG_N_SAMPLES; MAX_LOGFREQ_INT = 20; type TFreqlut = record class var lut: array [0 .. (N_SAMPLES + 1) - 1] of integer; class procedure init(sample_rate: Double); static; ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.10-19, FILE=DEV261, CLA...
unit ViewForm; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, OpenGL, OpenGLUnit, FontUnit, ViewUnit; type TFormView = class(TForm) procedure FormResize(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure FormCreate(Sender: TObject...
unit ClassCliente; interface type Tcliente = Class private FId : integer; FNome : string; FSexo : string; FRg : string; FCpf : string; FEmail : string; FNascimento : string; FC...
unit uFunctionsStatistics; interface uses SysUtils, uMathIntf, uMath; type TPackageStatistics = class(TFunctionPackage) published // http://en.wikipedia.org/wiki/Error_function function Erf_1(Context: IContext; args: TExprList): IExpression; function ErfC_1(Context: IContext; args: TExprList): IExpre...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.3.1-14, FILE=DEV248, ...
unit Iocp.FileClient; interface uses Windows, Messages, SysUtils, Classes, IoUtils, Math, Iocp.VariantPacket, Iocp.VariantSocket, Iocp.FileConst, Iocp.Utils, Iocp.Logger; const BLOCK_SIZE = 16 * 1024; type EFileException = class(Exception); TTransportMode = (tmAbort, tmOverwrite, tmResume); TClientG...
unit uGroupBoxMongo; interface uses FMX.StdCtrls, System.Classes; type TGroupBoxMongo = class(TGroupBox) private FMongoCampo: String; FValueText: string; procedure EnableSelectedItem; procedure CheckSelectedItem; procedure SetValueText(const Value: string); function GetValueText: string...
unit eePluginBase; interface {$INCLUDE Defines.inc} uses VamLib.ZeroObject, eeSyncObjects, eePublishedVstParameters, eeTypes, eeMidiEvents, eePluginSettings, eeVstMidiTypes, eeBufferedEventList, Classes, VamLib.MoreTypes, eeGlobals; {$IFDEF VER230} {$ELSE} {$ENDIF} type...
unit uCayanPOSServerMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.SvcMgr, Cayan.POS.Server, Cayan.XSuperObject; type TCayanPOSSvr = class(TService) procedure ServiceStart(Sender: TService; var Started: Boolean); procedure ServiceStop(Sender: TService; ...
{----------------------------------------------------------------------------- Implementations for the value interfaces -----------------------------------------------------------------------------} unit uMathValues; interface uses SysUtils, Math, uMath, uMathIntf, uFPUSupport, uMathDimensions; type TE_Atom = c...
{******************************************************************************* Title: T2Ti ERP Description: Classe de controle da NF2. 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 fi...
Program KnightsTourOneMoveLookAhead; {Erick Nave DS&A II 1-27-94 OneMoveLookAhead is a heuristic approach to solving the Knight's Tour problem. From a current position on the board, the possible moves are examined. If a move is legal, then it counts the number of legal moves that can be made from ...
unit TestRoyalDuck; interface uses TestFramework, System.SysUtils, SwimUtils, QuackQuack, FlyUtils, SwimSwim, DuckUtils, FlyWings, RoyalDuck, QuackUtils; type TestTRoyalDuck = class(TTestCase) strict private FRoyalDuck: TRoyalDuck; published procedure TestTypeDuckRoyal; procedure TestFlyDuck...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.1-1, FILE=CONF092, CLASS=...
{ A very simple gate class with attack & release times for smoothing the gate on/off signal. } unit eeSimpleGate; interface type TGateStage = (gsOff, gsAttack, gsSustain, gsRelease); TSimpleGate = class private fAttackSamples: integer; fReleaseSamples: integer; fValue: single; ...
unit eeRedFoxDropFileTarget; interface { TODO:LOW instead of explicit references to particular components, I wonder if an interface could be used instead. } uses Controls, Classes, Types, Contnrs, WinApi.ActiveX, DragDrop, DropTarget, DragDropFile, DragDropText, eeOleDropHandler, Re...
unit Classes.Conversao.ConverteOrdenado; interface uses Classes.Conversao.ConverteTexto; type TConverteOrdenado = class(TConverteTexto) private function RetirarEspacosEmBranco(const ATexto: string): string; protected function getTextoConvertido: String;override; end; implementation uses SysUtils, C...
unit ufrmDelivery; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmBase, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.ImgList, System.Actions, Vcl.ActnList, Vcl.ExtCtrls, Vcl.Mask, Vcl.DBCtrls, Vcl.Imaging.pngimage, D...
unit UnitMyMessageBoxes; interface uses Winapi.Windows; function MyMessageBoxYesNo(CaptionWindow, TextMessage: String; IsWarning: Boolean = False) : Boolean; procedure MyMessageBoxInfo(CaptionWindow, TextMessage: String; IsWarning: Boolean = False); implementation uses UnitMainForm; function MyMessageBoxYesNo...
unit uPeople; interface uses System.Classes, System.SysUtils, uAddress; type TPeople = class(TPersistent) private FName: string; FAge: Integer; FAddress: TAddress; public constructor Create(AOwner: TComponent); destructor Destroy; override; function AgeStr: string; procedure Ass...
unit FileManager.Controllers.FileControl; interface uses System.SysUtils, System.Classes, FileManager.Providers.Controllers.Base, FileManager.Providers.Frames.FileUpload, FileManager.Providers.Response.Default, FileManager.Providers.Response.Intf, FileManager.Providers.Aguarde.Impl, FileManager.Providers.Reques...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.5-9, FILE=DEV165, C...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.6-11, FILE=ERR09T, CL...
unit WSOCProduct; interface uses System.SysUtils ,Classes, WSProductCommon, System.Generics.Collections, JPEG; type TWSOCProduct = class(TInterfacedObject, IWSProduct) private FProdData: TWSProductData; FProdspec: TStringList; FLanguageID: integer; FID: integer; FImage: TJPEGImage; func...
unit CmdFacade; interface uses Document, DocumentCmds, System.Classes, System.Contnrs, Vcl.StdCtrls, System.Generics.Collections; type TCmdFacade = class(TObject) private FCmdList: TObjectList<TDocumentCmd>; FCmdIdx: Integer; // Possibly this should be registered, rather th...
unit DataConverter; interface uses AvL, avlUtils; type TTextMode = (tmDisable, tmASCII, tmASCIIC, tmASCIILF, tmASCIICR, tmASCIICRLF, tmASCIIZ, tmHex, tmInt8, tmInt16, tmInt32); TOnConvert = procedure(Sender: TObject; const ConvData: string) of object; TConverter = class protected FResult: s...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.9-11, FILE=DEV226, ...
unit GR32_Paths; (* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 or LGPL 2.1 with linking exception * * 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 Li...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.3-24, FILE=DEV149, ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.3-4, FILE=EXTEND1, CL...
{**************************************************************************************************} { } { Project JEDI Code Library (JCL) } { ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.2-13, FILE=LEV1F01,...
{******************************************************************************* * Vladimir Georgiev, 2014 * * * * Types used by the "Memory Loader" units ...
unit PrcSysTypes; interface uses SysUtils, Classes, ProcUtils, GridRow, Variants; type TOnVerifyIDEvent = procedure (Sender: TObject; const Value: Integer; var Allowed: Boolean) of object; TOnUpdateRow = procedure (Sender: TObject; Row: TDataRow) of object; TOnCheckRecord = function (co...
unit PlugLib.AirControl.TaskQueue; interface uses Classes, VamLib.Collection.DoubleLinkedList, VamLib.Collection.List, VamLib.UniqueID, VamLib.Types; type PTaskData = ^TTaskData; TTaskData = record InUse : boolean; ID : TUniqueID; Task : TThreadProcedure; end; PTaskQueue = ^TTaskQu...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.4-14, FILE=LEV1F51,...
unit LUX.Geometry.D2; interface //#################################################################### ■ uses LUX, LUX.D2, LUX.Geometry, LUX.M2; type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】 //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【レコード】...
unit VclEx.PopupListEx; interface // http://users.atw.hu/delphicikk/listaz.php?id=364&oldal=13 // http://delphi.about.com/od/adptips2006/qt/popuplistex.htm uses Controls; const CM_MENU_CLOSED = CM_BASE + 1001; CM_ENTER_MENU_LOOP = CM_BASE + 1002; CM_EXIT_MENU_LOOP = CM_BASE + 1003; implementation uses Me...
unit FifoStack; interface uses Classes; type TFifioStackThread = class(TThread) private FObjectStack: TThreadList; protected procedure Execute; override; procedure ClearStack; procedure DoAfterExecute; virtual; function DoObject(AObject: TObject): Boolean; virtual; abstract; public ...
unit FormUnit; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Controls, Vcl.Forms, Vcl.AppEvnts, Vcl.StdCtrls, IdHTTPWebBrokerBridge, WebServerUnit; type TForm1 = class(TForm) ButtonStart: TButton; ButtonStop: TButton; EditPor...
unit VektorBasedObject; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, IniFiles, StrUtils, Global, Generics.Collections, symbolHelper, Types; const _MAX_DATA = 256; type TSeparType = (stNone, stVert, stHor); TVBOData = record Count: Integer; Data: array [0 .....
{ ------------------------------------------------------- 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 d...
unit FontProporties; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, Spin; type TPropForm = class(TForm) GroupBox1: TGroupBox; eHeight: TSpinEdit; GroupBox2: TGroupBox; eBitCount: TSpinEdit; Label1: TLabel; GroupBox3: TGroupBo...
unit uMainSvc; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IniFiles, uScanThread, IdContext, IdCustomHTTPServer, FireDAC.Phys.OracleDef, FireDAC.Stan.Intf, FireDAC.Phys, FireDAC.Phys.Oracle, IdBaseComponent, IdComponent,...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.9.3-2, FILE=IMDEFB47, C...
unit DelphiMaps.GeoCoder; interface uses Classes, SysUtils, Generics.Collections, DelphiMaps.GeoCoderXML, DelphiMaps.GoogleMaps; type EGeoCoding = Exception; TAddressRec=record StreetName:String; HouseNumer:String; City:String; ZipCode:string; Province:String; ...
unit DContacts.Tests.Repositories.Contact; interface uses SQLiteTable3, DUnitX.TestFramework, Spring.Persistence.Core.Interfaces, DContacts.Models.Entities.Contact; type [TestFixture] TContactRepositoryTest = class private FContactRepository: IPagedRepository<TContact, Integer>; public [Setu...
unit eeMidiMap; interface uses eeIniFile, Classes; type // TTargetType allows different types of parameters to be automated. // // ttVSTParameter automates public vst parameters. ie those accessed by // GetParameter and SetParameterAutomated. ParameterId should be equal to // ParameterIndex i...
unit AppTools; interface uses Windows, Messages, SysUtils, Classes, DateUtils, IniFiles; type //注册记录包 T46Register = class(TObject) private FProdit: String; //包装序号 FAccount: String; //服务帐号 FRegisterNo: String; //注册号码 // FLanguage: Integer; //语言 0: 国际; 1: 英文; 2: 简体; 3: 繁体; 4: ...
unit PluginsSearch_Demo; interface uses Classes, ApConst, InfoBox, uBaseIntf, Buttons, SysUtils, DBGrids, ErpTools, Controls, Forms, Dialogs, XmlIntf, StdCtrls, ExtCtrls; type {$I '..\..\Include\plugins.h'} TFrmFAToDA_Demo = class(TComponent, IPlugins, IZLSearchService) private //计划要改变的组件 Panel11: ...
{==============================================================================| | Project : Ararat Synapse | 001.002.000 | |==============================================================================| | Content: SysLog client ...
// 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 // This unit contains a form to edit (or add) settings for a book: // - meta i...
{ NOTE: OtlSync contains Compare-and-swap functions which may be useful. } unit eeThreadv2.Sync; interface uses Contnrs, WinApi.Windows; type // TeeCritcalSection needs to be replaced by TFixedCriticalSection. // It is found in VamLib.Types.pas TeeCriticalSection = class private cs...
program alg006; { #-------------------------------------------# # Autor: Samuel T. C. Santos # # Data: 24-04-2014 # # Free Pascal Compiler # #-------------------------------------------# } Uses Math; const PI = 3.1415; var raio, area, volume: real; begin ...
unit NovaLotacao; {*************************************************************************} {* *} {* Author: CSD Informatica Ltda. *} {* Copyright: © 2003 by CSD Informatica Ltda. All rights reserve...