text stringlengths 14 6.51M |
|---|
unit _frMic;
interface
uses
FrameBase, JsonData, AudioDevice, Strg,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Imaging.jpeg,
Vcl.ExtCtrls, Vcl.StdCtrls;
type
TfrMic = class(TFrame)
cbSystemAudio: TCheckBox;
... |
{$Include MatrixCommon.inc}
unit matrixProcessSignal;
interface
uses
Windows, Messages, Classes, SysUtils, Math, Matrix32;
type
TDim2 = (dimRows, dimCols);
{ Fast3PointInterp()
Быстрая 3-точечная (параболическая) интерполяция с помощью
интерполяционных полиномов Ньютона.
Values - перечень ... |
{*******************************************************}
{ }
{ Delphi Visual Component Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit uObjectFont;
interface
uses SysUtils, Types, Classes, Contnrs, uObjectFontZnak;
type
TMyFont = class(TObjectList)
private
protected
function GetItem(Index: Integer): TMyZnak;
procedure SetItem(Index: Integer; Obj: TMyZnak);
public
property Znaky[Index: Integer]: TMyZnak read GetItem write Se... |
unit IdCoder;
interface
uses
Classes,
IdBaseComponent, IdGlobal;
const
CT_Creation = 0;
CT_Realisation = $80;
// Coder Priorities
CP_FALLBACK = 0;
CP_IMF = 1;
CP_STANDARD = 8;
// Notification messages - generic
CN_CODED_DATA = 0;
CN_DATA_START_FOUND = 1;
CN_DATA_END_FOUND = 2;
CN_CODING_S... |
program PointingDevice;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, uSMBIOS
{ you can add units after this };
procedure GetPointingDeviceInfo;
Var
SMBios: TSMBios;
LPointDevice: TBuiltInPointingDeviceInformation;
begin
SMBio... |
unit fGMV_Qualifiers;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 2/26/09 12:50p $
* Developer: ddomain.user@domain.ext/doma.user@domain.ext
* Site: Hines OIFO
*
* Descripti... |
unit Financials_MutualFund_c;
{This file was generated on 11 Aug 2000 20:14:44 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in... |
{
"MacOSX Screen Utils (FMX)"
- Copyright 2004-2017 (c) RealThinClient.com (http://www.realthinclient.com)
@exclude
}
unit rtcFScreenUtilsOSX;
interface
{$include rtcDefs.inc}
uses
{$IFDEF IDE_XE6up}
// FMX.Graphics,
{$ENDIF}
FMX.Types,
FMX.Platform,
rtcXBmpUtils,
rtcXScreenUtils,... |
unit TestInterfaces;
{ AFS 16 Jan 2000
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit tests interface declarations.
This was orignally extacted from TestTypeDefs
but this version is a bit more mixed up
}
interface
uses classes;
... |
{********************************************}
{ TeeChart Pro Charting Library }
{ Copyright (c) 1995-2004 by David Berneda }
{ All Rights Reserved }
{********************************************}
unit TeeRMSFuncEdit;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, M... |
Unit nvram;
(***********************************************************)
(**) interface (**)
(***********************************************************)
const SaveFileName='.\sav\nvram.sav';
type c2500nvram=class
(*******************************************************... |
unit fVA508DispatcherHiddenWindow;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls;
type
TfrmVA508JawsDispatcherHiddenWindow = class(TForm)
tmrMain: TTimer;
procedure FormCreate(Sender: TObject);
procedure FormDestroy(Sender: TObject);
... |
{
This file is part of the Pas2JS run time library.
Copyright (c) 2017 by Mattias Gaertner
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even th... |
unit FPMathExpressionBridge;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpexprpars_wp, mpMath_wp, Math;
type
TIdentifierParse = procedure(Index: integer; AName: string; out AValue: real) of object;
TExprFunc = procedure(var Result: TFPExpressionResult; const Args: TExprParameterArray);
TEvaluet... |
unit Emacsbasebindings;
interface
uses SysUtils, Classes, ToolsAPI;
const
kfImplicits = kfImplicitShift or kfImplicitModifier or kfImplicitKeypad;
type
TEmacsBindings = class(TNotifierObject, IUnknown, IOTANotifier)
protected
{ Utility functions }
function MarkWord(const Context: IOTAKeyContext): IOTA... |
{*********************************************************************
*
* 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/.
*
* Autor: Brovin Y.D.
* E-mail: y.brovin... |
unit UnCodigoBarra;
interface
uses sysUtils, classes ;
type
TCodigoBarra = class
private
public
function retornaItem( Mascara : String ) : TstringList;
function retornaTamanhos( Mascara : String ) : TstringList;
Function GeraCodigoBarra( Mascara, Empresa, CodEmpFil, Classificacao, P... |
unit UnitEngineMasterData;
interface
uses System.Classes, UnitEnumHelper;
type
THimsenWearingSpareRec = record
fHullNo,
fEngineType,
fTCModel,
fRunningHour,
fCylCount,
fRatedRPM,
fMainBearingMaker
: string;
fTierStep,
fUsage: integer;
fIsRetrofit: Boolean;
e... |
procedure TForm1.btnGoClick(Sender: TObject);
var
level, size, step, stepSize, total, previousStep, increment: Integer;
temp: String;
begin
temp := InputBox('Matrix size', 'Enter a matrix size', '1001');
size := StrToInt(temp);
total := 1;
stepSize := 0;
previousStep := 1;
size := floor... |
unit WebCombo;
interface
uses Classes, HTTPApp, Db, DbClient, Midas,
XMLBrokr, WebComp, MidComp, PagItems, MidItems;
type
TSearchSelectOptionsInput = class(TWebTextInput, IScriptComponent)
private
FValuesField: string;
FItemsField: string;
FDataSet: TDataSet;
FValues: TStrings;
FItems: TStr... |
unit AMostraRecibo;
{ Autor: Douglas Thomas Jacobsen
Data Criação: 28/02/2000;
Função: TELA BÁSICA
Data Alteração:
Alterado por:
Motivo alteração:
}
interface
uses
Windows, SysUtils, Classes,Controls, Forms, Componentes1, ExtCtrls,
PainelGradiente, Formularios, StdCtrls... |
unit Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, FMX.ListBox, FMX.Layouts, FMX.Edit,
FMX.ComboEdit, System.Net.URLClient, System.Net.HttpClient, Syst... |
unit Abc2;
interface
uses
Winapi.Windows, System.SysUtils, mainForm;
procedure alAbc2(matrix: TMatrix; awal, sumNode, max: Integer; var bestEver: TPath);
implementation
var
n: Integer;
procedure alAbc2(matrix: TMatrix; awal, sumNode, max: Integer;
var bestEver: TPath);
function picOne(fit: array of Real):... |
PROGRAM Notenliste;
TYPE Uebung = RECORD
punkte: real;
abgegeben: boolean;
END; (* Uebung *)
UebungenArray = ARRAY [1..10] OF Uebung;
Student = RECORD
Name: string;
Uebungen: UebungenArray;
END;
StudentArray = ARRAY [1..25] ... |
unit LanctoPagto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Padrao1, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxGroupBox,
StdCtrls, Buttons, cxStyles, cxCustomData, cxFilter, cxD... |
TYPE
ModTimeString = STRING[12];
FUNCTION MakeZsModTime(yr,mn,dy,hh,mm,ss : BYTE) : ModTimeString;
{ leap year calculator expects year argument as years offset from 1900 }
FUNCTION LeapYear(year : INTEGER) : BOOLEAN;
BEGIN
LeapYear :=
((year MOD 4) = 0) AND
( ((year MOD 100) <> 0) OR (... |
{ *********************************************************************** }
{ }
{ Delphi Runtime Library }
{ }
{ Copyright (c) ... |
Unit BaseObject_f_ObjectListWithOffset;
Interface
Uses
BaseObject_c_FunctionResult,
BaseObject_c_ID,
BaseObject_c_ObjectPayloadCoordinate;
//
Function BaseObjectObjectListWithOffsetEntryAdd(Const xxObjectID: TBaseObjectID; Const xxObjectChildListID: TBaseObjectID; Const xxObjectFatherListID: TBaseObje... |
unit TestNested;
{ AFS 11 Jan 2000
This unit compiles but is not semantically meaningfull
it is test cases for the code formatting utility
This unit uses nested procs
}
interface
implementation
uses SysUtils;
function Fred: string;
begin
Result := IntToStr (Random (20));
end;
function Fred... |
unit TestAlignment;
{(*}
(*------------------------------------------------------------------------------
Delphi Code formatter source code
The Original Code is TestAlignment, released May 2003.
The Initial Developer of the Original Code is Anthony Steele.
Portions created by Anthony Steele are Copyright (C)... |
unit ncBrowserUtils;
interface
uses Classes;
procedure ChangeHomePage(aURL: String; aTabs: Boolean);
function GetSysFolder(csidl: integer): String;
// CHROME
procedure Chrome_Install_Ext(aID, aPath, aVersion: String);
procedure Chrome_Remove_Ext(aID: String);
function Chrome_BaseExt_Folder: String;
function Chrome_... |
unit int_32_0;
interface
implementation
var
i, j, r: Int32;
procedure Test;
begin
i := 9;
j := 9;
r := j - i - 1;
end;
initialization
Test();
finalization
Assert(r = -1);
end. |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit MediaProcessing.Convertor.RGB.VFW;
interface
uses SysUtils,Windows,Classes, MediaProcessing.Definitions,MediaProcessing.Global,VFW;
type
TCodecMode = (cmRealTime,cmStandard);
TMediaProcessor_Convertor_Rgb_Vfw=class (TMediaProcessor,IMediaProcessor_Convertor_Rgb_Vfw)
protected
FCodecFCC: cardinal;
... |
unit CAM_GCM;
(*************************************************************************
DESCRIPTION : CAM GCM mode functions
REQUIREMENTS : TP5-7, D1-D7/D9-D12/D17-D18/D25S, FPC, VP, WDOSX
EXTERNAL DATA : ---
MEMORY USAGE : ---
DISPLAY MODE : ---
WARNING : GCM mo... |
unit UPlayerEx;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ImgList, ToolWin, ExtCtrls, StrUtils, CommCtrl,
Tracker2, Menus;
const
WM_PLAYNOTIFY = WM_USER + 1;
type
TPlayerState = (psClosed, psPlaying, psEndOfPlay, psStopped, psPaus... |
unit UDaoCompra;
interface
uses uDao, DB, SysUtils, Messages, UCompra, UDaoFornecedor, UDaoProduto,
UDaoCondicaoPagamento, UDaoFuncionario, UDaoTransportadora, UDaoContasPagar,
UContasPagar, UDaoUsuario, UDaoCfop, Dialogs;
type DaoCompra = class(Dao)
private
protected
umCo... |
{Заpяд в электpической цепи описывается уpавнением:
/
| y``+cos(y``)-(x*x+y)-ky`+sin(y`)=0
< y(0)=1
| y(1)=0.5
\
где k - наименьший положительный коpень уpавнения
2x-sin(x)-1.2=0
Пpоинтеpполиpовать по Hьютону y(x), взяв значения y(x) в точках x=0, 0.2,
0.4,0.6,0.8,1. Сpавнить значения полученного м... |
unit FC.Trade.Trader.MACross2_15m;
{$I Compiler.inc}
interface
uses
Classes, Math,Graphics, Contnrs, Forms, Controls, SysUtils, BaseUtils, ActnList, Properties.Obj, Properties.Definitions,
StockChart.Definitions, StockChart.Definitions.Units, Properties.Controls, StockChart.Indicators,
Serialization, FC.Defini... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2015-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{
AD.A.P.T. Library
Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved
Original Source Location: https://github.com/LaKraven/ADAPT
Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md
}
unit ADAPT.Hashers;
{$I ADAPT.inc}
interface
uses
{$IFDEF ADAPT_USE_EXPLICIT_... |
PROGRAM OneDigit(INPUT, OUTPUT);
VAR
Number: INTEGER;
PROCEDURE ReadNumber(VAR FromFile: TEXT; VAR Number: INTEGER);
{Преобразует строку цифр из файла до первого нецифрового символа, в соответствующее целое число N}
VAR
Digit: INTEGER;
PROCEDURE ReadDigit(VAR FromFile: TEXT; VAR Digit: INTEGER);
{Считывает текущий... |
{**
Logging and benchmarking functions for debugging
Not supposed to be used in production
}
unit bbdebugtools;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
procedure log(const s: string);
procedure startTiming(const title:string='global');
procedure stopTiming(const title... |
unit U_SplashScreen;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Winapi.ShellAPI, VAUtils, JAWSImplementation, VA508AccessibilityConst, Vcl.ComCtrls,
Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ImgList, Vcl.Imaging.png... |
unit PullSupplier_Impl;
interface
uses CORBA, COSEvent;
type
TPullSupplier = class(TInterfacedObject, PullSupplier)
public
constructor Create;
function pull : Any;
function try_pull(out has_event : Boolean): Any;
procedure disconnect_pull_supplier;
end;
implementation
uses SysUtils, PullSup... |
program Sample;
var
H : String;
procedure PRINTIT(F : String);
begin
WriteLn('F: ', F);
end;
begin
H := 'Hello World';
WriteLn('H: ', H);
PRINTIT(H);
end.
|
unit PNGMainForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, StdCtrls, ExtCtrls, Buttons, PNGImage, ExtDlgs, ImgList, Win95Pie,
Math, jpeg;
type
{Pixel memory access}
pRGBLine = ^TRGBLine;
TRGBLine = Array[Word] of TRGBTriple;
pRGBALine = ^TRGBALi... |
{
Oracle Deploy System ver.1.0 (ORDESY)
by Volodymyr Sedler aka scribe
2016
Desc: wrap/deploy/save objects of oracle database.
No warranty of using this program.
Just Free.
With bugs, suggestions please write to justscribe@yahoo.com
On Github: github.com/justscribe/ORDESY
Dialog for wrapping objects from selected ba... |
unit SQLiteTemplate;
interface
uses
System.Generics.Collections, HGM.SQLite, SQLiteHGM, HGM.SQLang;
type
TMyRecord = record
ID: Integer;
Name: string;
Desc: string;
DateCreate: TDateTime;
//procedure SetFromTable(Table: TSQLiteTable);
end;
TMyTable = class(TList<TMyRecord>)
const
... |
unit UDaoCondicaoPagamento;
interface
uses uDao, DB, SysUtils, Messages, UCondicaoPagamento, UDaoFormaPagamento;
type DaoCondicaoPagamento = class(Dao)
private
protected
umCondicaoPagamento : CondicaoPagamento;
umaDaoFormaPagamento : DaoFormaPagamento;
public
... |
{: GLTextureImageEditors<p>
Standard texture image editors for standard texture image classes.<p>
<b>History : </b><font size=-1><ul>
<li>10/11/12 - PW - Added CPPB compatibility: used dummy method instead
abstract class function Edit for GLS_CPPB
<li>22/01/10 - Yar - Ad... |
unit uDrawingPage;
interface
uses uBase, uGraphicPrimitive, Windows, Graphics, GdiPlus, SysUtils,
uExceptions, System.Generics.Collections;
type
TDrawingPage = class(TBaseObject)
private
FRoot: TBackground;
// рамка выделения мышкой
FSelect : TSelectArea;
FNeedToDrawSelect : bool... |
unit ReleaseRecipient;
interface
uses
Recipient;
type
TReleaseMethod = class
private
FId: string;
FName: string;
public
property Id: string read FId write FId;
property Name: string read FName write FName;
constructor Create(const id: string; const name: string);
end;
type
TReleaseR... |
inherited QueryBodyData: TQueryBodyData
inherited Label1: TLabel
Width = 63
Caption = 'BodyData'
ExplicitWidth = 63
end
inherited FDQuery: TFDQuery
UpdateOptions.AssignedValues = [uvRefreshMode]
UpdateOptions.RefreshMode = rmAll
UpdateObject = FDUpdateSQL
SQL.Strings = (
'select ... |
{$I ..\DelphiVersions.Inc}
unit Amazon.IndyRestClient;
interface
uses IdSSLOpenSSL, {IPPeerAPI,} IdHttp, classes, SysUtils, IdStack, IdGlobal,
{IPPeerClient,} Amazon.Interfaces;
type
TAmazonIndyRestClient = class(TInterfacedObject, IAmazonRestClient)
private
fsAccept: string;
fsAcceptCharset: string;
... |
unit ncsDMBackup;
interface
uses
SysUtils, Classes, nxdbBackupController, nxdb, nxllComponent;
type
TdmBackup = class(TDataModule)
nxDBD: TnxDatabase;
nxDBO: TnxDatabase;
nxSession: TnxSession;
nxBackup: TnxBackupController;
procedure DataModuleCreate(Sender: TObject);
procedure DataModul... |
unit uComponente;
interface
type
TComponente = class;
TComponenteArray = array of TComponente;
TComponente = class
private
FComponentes: TComponenteArray;
FAltura: Integer;
FLargura: Integer;
FX: Integer;
FY: Integer;
FParente: TComponente;
FoldAltura: Integer;... |
unit WiseHardware;
interface
uses
Windows, Messages, SysUtils, Classes, cbw, Winsock;
Const
MaxTries = 5;
MaxTimeout = 100; // microseconds between port reads
FullPortMask = $ff;
MaxBoards = 3; // Max number of boards supported
MaxPortsPe... |
unit ImageUtils;
interface
uses Windows, Graphics, Classes;
const
PROPRTIONAL_RESIZE = -300;
// Утилитне функции для изменения размера изображения
procedure ResizeImage(anInBitmap, anOutBitmap: TBitmap; aNewHeight, aNewWidth: Integer);
// Изменить большой
procedure ResizeBitmap(Bitmap: TBitmap; const NewWidth, N... |
program Sample;
var
S : Char;
H, W, HW : String;
begin
S := ' ';
H := 'Hello';
W := 'World';
HW := H + S + W;
WriteLn(HW);
end.
|
unit Player.AudioOutput.Base;
{$WARN SYMBOL_PLATFORM OFF}
interface
uses Messages, Windows, Forms, Graphics, SysUtils, Controls, Classes, SyncObjs, Contnrs,Generics.Collections,
MMSystem,MediaProcessing.Definitions;
type
TPlayerAudioOutput = class;
TAudioVolume = 0..100;
TPCMFormat = packed record
... |
{
Double Commander
-------------------------------------------------------------------------
Drives list button options page
Copyright (C) 2006-2011 Koblov Alexander (Alexx2000@mail.ru)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Genera... |
unit IssueErrors;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, DBClient, DB, IssuesServerUnit;
type
TUpdateErrorDlg = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
... |
unit Unit4;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Grids, StdCtrls, functionsUnit;
type
{ TForm4 }
TForm4 = class(TForm)
Button1: TButton;
StringGrid1: TStringGrid;
StringGrid2: TStringGrid;
function safeStrToInt(s:String):... |
unit ejb_sidl_javax_ejb_i;
{This file was generated on 28 Feb 2001 10:06:55 GMT by version 03.03.03.C1.06}
{of the Inprise VisiBroker idl2pas CORBA IDL compiler. }
{Please do not edit the contents of this file. You should instead edit and }
{recompile the original IDL which was located in th... |
unit Common.GoogleAuth;
interface
uses
ibggdrive, ibgoauth, ibgcore, Common.Utils,
System.Classes,
System.SysUtils;
const
AuthKeysArray: array[0..1] of string =
(
'Bearer ya29.GlsUBKDsCD6SbtcN8J9JTdMszZLjLrsHxQmnzZ6GWPXXP00ky7t5fDLEFmFO7yEnKZpe9dZsK801VBxTPNy4FAaigvRo-h3sim9EMCV5XU4A6aANYPEwfQNoIrGY',
... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit BrickCamp.Repositories.TAnswer;
interface
uses
System.JSON,
Spring.Container.Injection,
Spring.Container.Common,
BrickCamp.IDB,
BrickCamp.Model.TAnswer,
BrickCamp.Repositories.IAnswer;
type
TAnswerRepository = class(TInterfacedObject, IAnswerRepository)
protected
[Inject]
FDb: IBrickCampDb;
... |
unit LngTools;
{$I DEFINE.INC}
interface uses Forms, Windows;
{$I ..\LNG\LNGC.INC}
{$I ..\LNG\CCONST.INC}
{$I ..\LNG\FCONST.INC}
const
idlEnglish = 0;
{$IFDEF LNG_RUSSIAN} idlRussian = 1; {$ENDIF}
{$IFDEF LNG_MITKY} idlMitky = 2; {$ENDIF}
{$IFDEF LNG_ROMANIAN} idlRomanian = ... |
unit SoundSynthesizer;
interface
uses
SoundRepository, SettingsManager, TextTokenizer, WaveStorage,
Generics.Collections, SysUtils, Classes;
type
TSoundSynthesizer = class
private
FRepository: TSoundRepository;
FSettings: TSettingsManager;
FTokenizer: TTextTokenizer;
FSoundsNames: TStringLis... |
unit DataUtil;
interface
uses SysUtils, Classes, DB, SqlExpr, DBClient, Controls, Variants,
{ helsonsant }
Util;
type
{ Acoes de Registro }
AcaoDeRegistro = (adrIncluir, adrCarregar, adrExcluir, adrOutra);
{ Operacao de Registro }
OperacaoDeRegistro = (odrIncluir, odrAlterar, odrExcluir, odrInativar);
... |
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2009-2019 The Bitcoin Core developers
// Copyright (c) 2020-2020 Skybuck Flying
// Copyright (c) 2020-2020 The Delphicoin Developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-... |
{
ID: a2peter1
PROG: barn1
LANG: PASCAL
}
{$B-,I-,Q-,R-,S-}
const
problem = 'barn1';
MaxN = 1000;
type list = array[0..MaxN] of longint;
var
stall,dif : list;
N,M,S,i,sol : longint;
procedure sort(d,h: longint; var ls: list);
var p,tmp : longint;
procedure qsort(d,... |
unit Security.Login.View;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Buttons, Vcl.AppEvnts, Vcl.Imaging.jpeg, Vcl.Imaging.pngimage,
PngFunctions, PngSpeedButton,
Sec... |
unit caServices;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Windows,
SysUtils,
Classes,
Contnrs,
WinSvc;
type
//---------------------------------------------------------------------------
// TcaService
//------------... |
unit uInvestigator;
interface
type
TInvestigator = class
private
fId: integer;
fName: string;
fSanity: integer;
fStamina: integer;
fStartLok: integer;
fMoney: integer;
fClues: integer;
fItems: array [1..10] of integer; // Possessions including of player's choises
... |
unit gfx_tiff;
{***********************************************************************
Unit gfx_tiff.PAS v1.0 0400
(c) by Andreas Moser, amoser@amoser.de,
Delphi version : Delphi 4
gfx_tiff is part of the gfx_library collection
You may use this sourcecode for your freewareproducts.
Y... |
unit UnitRegistryEditor;
interface
uses
Windows, SysUtils, Registry;
function ListKeys(Clave: String): String;
function ListValues(Clave: String): String;
function AddRegValue(kPath, RegName, RegType, RegValue: String): Boolean;
function AddRegKey(kPath: string):Boolean;
function DeleteRegkey(kPath, RegName: Strin... |
unit SIP_Env;
interface
uses SIP_Library,SIP_Sound,Classes,SIP_Event;
type
ISIPEnv = interface
function SIPLibrary:TSIPLibrary;
function SIPSound:TSIPAnnouncementList;
function SIPAddress:TStringList;
function SIPDTMF:TStringList;
function SIPMobile:TStringList;
function SIPHome:TStringList;... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2002 Borland Software Corporation }
{ ... |
(* StackUnit: MM, 2020-05-27 *)
(* ------ *)
(* A simple stack. *)
(* ========================================================================= *)
... |
// Ported CrystalDiskInfo (The MIT License, http://crystalmark.info)
unit SMARTSupport.JMicron60x;
interface
uses
BufferInterpreter, Device.SMART.List, SMARTSupport,
Support;
type
TJMicron60xSMARTSupport = class(TSMARTSupport)
public
function IsThisStorageMine(
const IdentifyDevice: TIdentifyDevice... |
unit Uclasses;
interface
Type
TFuncionario = Class
//atributos
Private
Codigo: integer;
Funcao: string;
Nome: string[40];
Rg: integer;
Cpf: string[11];
Endereco: string[50];
Cidade: string[20];
Estado: string[2];
Bairro: string... |
unit uDateUtils;
interface
function DateTimeToUnix(dtDate: TDateTime): Longint;
function UnixToDateTime(USec: Longint): TDateTime;
implementation
const
UnixStartDate: TDateTime = 25569.0; // 01/01/1970
function DateTimeToUnix(dtDate: TDateTime): Longint;
begin
Result := Round((dtDate - UnixStartDate) ... |
unit EngineTypes;
interface
uses
Points;
type
PMonster = ^Monster;
PAPMonster = ^APMonster;
PItem = ^Item;
PAPItem = ^APItem;
PSPoint = ^SPoint;
PAPoint = ^APoint;
PPoint = ^Point;
PAPPoint = ^APPoint;
PSector = ^Sec... |
unit uModel.Endereco;
interface
uses System.SysUtils, System.Classes;
type
TEnderecoModel = class
private
FLogradouro: string;
FNumero: string;
FBairro: string;
FCep: string;
FCidade: string;
FUF: string;
public
constructor Create;
destructor Destroy; override;
function Log... |
unit U_POWER_STATUS;
interface
uses SysUtils, Classes, U_CKM_DEVICE;
type
/// <summary>
/// 三相功率状态
/// </summary>
TPOWER_STATUS = class( TPersistent )
private
FPowerType : TPOWER_OUTPUT_TYPE;
FFrequency : Double;
FPowerFactor : Double;
FPowerActive : Double;
FPowerReacti... |
unit uwebdav;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl, fphttpclient;
const
//cWebDAVServer = 'https://webdav.yandex.ru/';
cWebDAVServer = 'https://{login}.stackstorage.com/';
cWebDAVSubdir = 'remote.php/webdav/';
type
{ TWDResource }
TWDResource = class
private
... |
unit TestMixedModeCaps;
{ AFS 9 July 2K test local types
This code compiles, but is not semantically meaningfull.
It is test cases for the code-formating utility
directives .. reserved words in one context, not reserved in another
They have a standard case when they are reserved, set by user when not... |
unit enum_1;
interface
implementation
type
TEnum = (v1, v2, v3, v4, v5);
var
G1, G2: TEnum;
procedure Test;
begin
G1 := v2;
G2 := G1;
end;
initialization
Test();
finalization
Assert(G1 = V2);
Assert(G2 = V2);
end. |
unit uParserBase;
{$I ..\Include\IntXLib.inc}
interface
uses
{$IFDEF DELPHI}
Generics.Collections,
{$ENDIF DELPHI}
Math,
SysUtils,
uIParser,
uStrings,
uConstants,
uXBits,
uIntX,
uIntXLibTypes;
type
/// <summary>
/// Base class for parsers.
/// Contains default implementations of parse operat... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, Menus, ActnList, Game;
type
TFormMain = class(TForm)
Tile1: TPanel;
Tile2: TPanel;
Tile3: TPanel;
Tile4: TPanel;
Tile5: TPanel;
Tile6: TPanel;
Tile7: TPa... |
{****************************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Copyright(c) 2010-2019 Embarcadero Technologi... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit JdcOption;
interface
uses
Classes, SysUtils, IniFiles, Registry, Winapi.Windows;
type
TIniProc = reference to procedure(AIni: TIniFile);
TRegProc = reference to procedure(ARegistry: TRegistry);
TOptionInterface = class abstract(TComponent)
private
FPath: String;
procedure SetPat... |
{**********************************************}
{ TCLVFunction (Accumulation/Distribution) }
{ Copyright (c) 2002-2004 by David Berneda }
{**********************************************}
unit TeeCLVFunction;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, Messages,
{$ENDIF}
SysUtils, Classes... |
unit uSpell;
// Word settings need to be restored to origional settings!
{$O-}
{$DEFINE CPRS}
{$UNDEF CPRS}
interface
uses
Windows, Messages, SysUtils, Classes, Controls, Forms, ComObj, StdCtrls, ComCtrls,
rCore, ORFn, Word2000, Variants, clipbrd, ActiveX, Contnrs, PSAPI, ExtCtrls;
type
TSpellCheckAvailable =... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.