text stringlengths 14 6.51M |
|---|
program Hello;
begin
writeln ('Today is Monday.');
end. |
unit OTFETrueCryptStructures_U;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Classes, SysUtils, Windows;
type
ETrueCryptError = Exception;
... |
unit StereoFrm;
interface
uses
Winapi.OpenGL,
Winapi.OpenGLext,
Winapi.Windows,
Winapi.Messages,
System.Classes,
System.SysUtils,
System.Math,
Vcl.Controls,
Vcl.Menus,
Vcl.Graphics,
Vcl.Forms,
Vcl.Dialogs,
WGLext,
GLKeyboard,
GLScene,
GLWin32Viewer,
GLMaterial,... |
unit AOCBase;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, system.Diagnostics, ClipBrd, system.UITypes;
type TProcedureToRun = procedure of object;
type TFunctionToRun = function: Variant of object;
type TAd... |
unit Form.Main;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.JSON,
Vcl.Forms, Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Controls,
ChromeTabs, ChromeTabsClasses, ChromeTabsTypes,
Utils.General,
Messaging.EventBus,
ExtGUI.ListBox.Books,
Action.ImportFro... |
unit uLanguageForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
uCommonForm, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, DBGridEh,
RXDBCtrl,uOilQuery,Ora, uOilStoredProc;
type
TLanguageForm = class(TCommonForm)
cbInterfaceLang: TComboBox;
cbReportsLang: T... |
unit gr_StudentCards_Filter;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxCheckBox, StdCtrls, cxButtons,
cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxButtonEdit, cxControls,
cxGroupBox, cxSpinEdit, cxDropDownEdit, Unit_ZGlobal_Co... |
//
// Generated by JavaToPas v1.5 20180804 - 082421
////////////////////////////////////////////////////////////////////////////////
unit android.location.GnssMeasurementsEvent_Callback;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.location.GnssMeasurementsEvent;
type
JGnssMeasureme... |
unit NSqlFirebirdApiHelpersImpl;
{$I ..\..\NSql.Inc}
interface
uses
NSqlFirebirdApiHelpersIntf;
function CreateDpb: IDpbBuilder; overload;
function CreateTpb: ITpbBuilder; overload;
implementation
uses
{$IFDEF NSQL_XE2UP}
System.SysUtils,
{$ELSE}
SysUtils,
{$ENDIF}
NSqlFirebirdBa... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (C) 2016 Peter Dyson. Initial Lazarus port
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either versi... |
unit St_sp_Build_livers_registration_view;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, cxTextEdit, cxCalendar, cxCurrencyEdit, DB,
cxDBData, cxLookAndFeelPainters, FIBDataSet, pF... |
unit gif; {Header zu gif.asm}
Interface
uses modexlib; {wg. SetPal}
var
vram_pos, {aktuelle Position im VGA-Ram}
rest, errornr:word; {restliche Bytes im Hauptspeicher und Fehler}
gifname:String; {Name, erweitert um #0}
Proced... |
unit Nathan.ObjectMapping.Core;
interface
uses
System.IOUtils,
System.SysUtils,
System.Rtti,
System.Generics.Collections,
Nathan.ObjectMapping.Config,
Nathan.ObjectMapping.Types;
{$REGION 'Info'}{
** Work in progres ** This project is a work in progress, check back soon for updates here.
}{$ENDREGION}
... |
unit BDEToFIBSP;
interface
uses
SysUtils, Classes;
type
TBDEToFIBSP = class(TComponent)
private
FMappings: TStrings;
procedure SetMappings(Value: TStrings);
protected
{ Protected declarations }
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
{ ... |
unit Address_EditForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uAddModifForm, uInvisControl, uSpravControl, uFormControl,
StdCtrls, Buttons, uFControl, uLabeledFControl, uCharControl, DB,
FIBDataSet, pFIBDataSet, uAdr_DataModule, cxControls, cxContain... |
namespace RemObjects.Elements.EUnit;
interface
uses
Sugar;
type
Assert = public partial static class {$IF NOUGAT}mapped to Object{$ENDIF}
public
method AreEqual(Actual, Expected : Object; Message: String := nil);
method AreNotEqual(Actual, Expected: Object; Message: String := nil);
m... |
unit uParentButtonSubList;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentCustomSubList, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxEdit, DB, cxDBData, dxPSGlbl, dxPSUtl, dxPSEngn,
dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dx... |
unit uDM_RepositoryPostgreSQL;
interface
uses
Forms, Dialogs, uiRepositories, uiRepoSystem,
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.PG,
... |
unit sys_Connect_Log;
interface
uses pFIBDatabase, pFIBQuery, pFIBStoredProc, pFIBDataSet, Dialogs, FIBDataBase,
Controls, Forms, IB_Externals, Classes, Registry, Windows, ExtCtrls,
IBase, SysUtils;
type
TConnectLog = class
private
S_id_User : integer;
Connect_PK_ID : int64;
STransaction : ... |
{-$Id: AddMovingTypeUnit.pas,v 1.1.1.1 2005/07/07 10:35:05 oleg Exp $}
{******************************************************************************}
{ Автоматизированная система управления персоналом }
{ (c) Донецкий национальный университет, 2002-2004 }
{****... |
Program pembuatanRekeningBank;
//uses crt;
const
gold = 1000000;
platinum = 2000000;
nMax = 100;
type
idn = record
id : integer;
nama : string;
jenisTabungan : string;
jumlahSetoranAwal : longint;
biayaAdminBulanan : integer;
biayaPenarikanlain : integer;
end;
nasabah = array[1..nMax] of idn;
var
i,n, num:... |
unit UCardPackHand;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses sysutils, math, Generics.Collections;
type
TCard = class
private
Rank: 1 .. 13;
Suit: 0 .. 3;
public
constructor Create(r: integer; s: integer);
function GetRank: integer;
function GetSuit: integer;... |
var
TimeZoneInfo: TTimezoneinformation;
Minutes: Integer;
Sign: string;
begin
if not (GetTimezoneInformation(TimeZoneInfo) in [TIME_ZONE_ID_UNKNOWN, TIME_ZONE_ID_STANDARD, TIME_ZONE_ID_DAYLIGHT]) then
Result('');
Minutes := (TimeZoneInfo.Bias + TimeZoneInfo.DaylightBias) * -1;
if Minutes < 0 then
... |
unit AST.Delphi.Options;
interface
uses AST.Parser.Options;
type
TWarnOption = class(TOption)
public
class function ArgsCount: Integer; override;
end;
TDelphiOptions = class(TOptions)
private
fOptSCOPEDENUMS: TBoolOption;
fOptPOINTERMATH: TBoolOption;
function GetSCOPEDENUM... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
The object manager is used for registering classes together with a category,
description + icon, so that they can be displayed visually. This can then
be used by run-time or design-time scene editors for choosing which... |
unit Spielen_Klassen;
interface
uses
SysUtils;
type
TMensch = class(TObject)
private
sName: String;
iAlter: Integer;
public
constructor Create(name: String; alter: Integer);
property Name: String read sName write sName;
property Alter: Integer read iAlter write iAlter;
end;
TBerufsta... |
unit UnitRegistro;
interface
uses
Windows,
UnitComandos,
StreamUnit;
type
TSysLocale = packed record
DefaultLCID: Integer;
PriLangID: Integer;
SubLangID: Integer;
FarEast: Boolean;
MiddleEast: Boolean;
end;
TMbcsByteType = (mbSingleByte, mbLeadByte, mbTrailByte);
function ListarClave... |
unit uParams;
interface
uses
classes;
type
TParamItem = class(TCollectionItem)
private
FName: string;
FValue: variant;
public
property Name: string read FName;
property Value: variant read FValue write FValue;
end;
TParamCollection = class(TCollection)
private
fu... |
var
oneX, twoX: real;
functionY, functionZ: real;
a, b, c, y, z: real;
dublicate: real;
begin
writeln('Enter numbers:');
write('a -> ');
readln(a);
write('b -> ');
readln(b);
write('c -> ');
readln(c);
writeln;
dublicate:= sqrt( abs( sqr(b) - 4 * a * c ) );
oneX:= (b + dublicate) / 2 * a... |
unit ufrmDialogCreditCard;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ufrmMasterDialog, ExtCtrls, StdCtrls, cxGraphics, cxControls,
cxLookAndFeels, cxLookAndFeelPainters, cxContainer, cxEdit, cxTextEdit,
cxCurrencyEdit, System.Actions, Vcl.ActnList, ufra... |
unit Tiny.Rtti;
{******************************************************************************}
{ Copyright (c) Dmitry Mozulyov }
{ }
{ Permission is hereby granted, free of charge, to any perso... |
namespace org.me.listviewapp;
{
This is a ListActivity descendant and so has no layout file
It automatically gets an item click virtual method, but also hooks up an item long click handler
This is also hooked up to an adapter to give fast-scrolling
The adapter is either a standard array adapter or a cus... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit uFhtHelper;
{$I ..\Include\IntXLib.inc}
interface
uses
uConstants,
uXBits,
uDigitHelper,
{$IFDEF DEBUG}
uIntX,
{$ENDIF DEBUG}
uIntXLibTypes;
type
/// <summary>
/// Contains helping methods to work with FHT (Fast Hartley Transform).
/// FHT is a better alternative of FFT (Fast ... |
unit uStudentEditDialog;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, ComCtrls, uModel;
type
EValidationError = class(Exception);
TStudentEditDialog = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
edName: TEdit;
edEmai... |
namespace SqliteApp;
interface
uses
Foundation,
UIKit;
type
DetailViewController = public class (UIViewController, IUISplitViewControllerDelegate)
private
fDetailItem: id;
method setDetailItem(newDetailItem: id);
method configureView;
protected
public
property detailItem... |
unit Dmitry.PathProviders.Network;
interface
uses
System.SysUtils,
System.SyncObjs,
System.Classes,
Winapi.Windows,
Vcl.Graphics,
Dmitry.Memory,
Dmitry.Utils.Files,
Dmitry.Utils.Network,
Dmitry.Utils.ShellIcons,
Dmitry.PathProviders,
Dmitry.PathProviders.MyComputer;
type
TNe... |
unit fre_accesscontrol_app;
{$mode objfpc}{$H+}
{$modeswitch nestedprocvars}
interface
uses
Classes, SysUtils,
FOS_TOOL_INTERFACES,
FRE_DB_INTERFACE,
FRE_DB_COMMON,
fre_accesscontrol_common
;
const
CHIDE_INTERNAL = true;
type
{ TFRE_COMMON_ACCESSCONTROL_APP }
TFRE_COMMON_ACCESSCONTROL_APP=class... |
unit MenuPrincipal;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, LblEffct, DB, DBTables, Buttons, Grids, DBGrids, Registry,
inifiles, jpeg, ComCtrls, ToolWin, ADODB, ShellAPI, siComp,
siLangRT, uSystemObj, uSystemConst, uOperationSystem, Menus;
... |
unit VRS;
interface
uses
Errors;
type
TVRSInfo = record
wID_VRS:word;
sText:string[256];
sSitLink:word;
end;
TVRSFile = file of TVRSInfo;
TVRS = class
private
viVRSInfo:TVRSInfo;
fVRSFile:TVRSFile;
iCurFilePos:int64;
isFileAssigned:boolean;
isFileOpened:boolean;
... |
unit Handlebars;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fpjson, HandlebarsParser, DataContext;
type
{ THandlebarsTemplate }
THandlebarsTemplate = class
private
FProgram: THandlebarsProgram;
FSource: String;
procedure DoCompile;
procedure SetSource(const AValue: String);
pu... |
unit FormWeatherMobile3Unit;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls,
System.Actions, FMX.ActnList, FMX.ListView.Types, FMX.ListView, System.Rtti,
System.Bindings.Output... |
unit TrafficSignal;
{$mode delphi}
interface
uses
SysUtils, Graphics, Classes, LCLIntf,
Entity;
type
TSignalSequence = (Go, Stop);
TSignalEntity = class(TEntity)
protected
CurrentSequence: TSignalSequence;
procedure SetSequence(s: TSignalSequence); virtual;
public
ID: String;... |
unit LocationDemoUnit;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Sensors, FMX.StdCtrls,
System.Sensors, FMX.WebBrowser, FMX.Layouts, FMX.Memo, FMX.ListBox;
type
TLocationDemoForm = class(TForm)... |
unit uOrderItems;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableView,
cxGridD... |
unit UUnidade;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UtelaCadastro, Vcl.StdCtrls,
Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Mask, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, UUnidadeVO, UGenericVO,
Generics.Collecti... |
unit Form.Option;
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.ComCtrls,
Objekt.Option, Vcl.Samples.Spin;
type
Tfrm_Option = class(TForm)
Label1: TLabel;
Label2: TL... |
unit StackTrackDemoMain;
interface
{.$DEFINE ShowAllExceptions}
// If ShowAllExceptions is defined then all exceptions (including those which
// are not handled by TApplication object will be logged.
// Otherwise, only exceptions handled by TApplication object will be logged.
uses
Windows, Messages, SysUtils, Cla... |
unit NotYetImplementedException;
interface
uses SysUtils;
type
ENotYetImplementedException = class(Exception)
public
constructor Create; reintroduce;
end;
implementation
{ ENotYetImplemented }
constructor ENotYetImplementedException.Create;
begin
inherited Create('not yet implemente... |
unit E_ThreadManager;
//------------------------------------------------------------------------------
// Модуль реализует класс менеджера потоков
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
//-------... |
unit TestFloatEdit;
interface
uses
TestFramework, UFloatEdit, Controls, StdCtrls, Forms, Messages, Windows;
type
// Test methods for class TFloatEdit
TestTFloatEdit = class(TTestCase)
strict private
FFloatEdit: TFloatEdit;
FForm: TForm;
FEdit: TEdit;
public
procedure SetUp; override;
pr... |
namespace MonoConsoleDBApplication;
//Sample Mono console application
//by Brian Long, 2009
//Console application compiled against Mono assemblies.
//Uses MySQL Connector/Net to talk to MySQL:
// - creates a DB & table
// - runs a SELECT statement
// - drops the table & DB
//Works under .NET or Mono if MyS... |
unit Aurelius.Commands.Exceptions;
{$I Aurelius.inc}
interface
uses
Aurelius.Global.Exceptions;
type
ESelectAlreadyOpen = class(EOPFBaseException)
public
constructor Create;
end;
ESelectNotOpen = class(EOPFBaseException)
constructor Create;
end;
ECursorNotFetching = class(EOPFBaseException)
... |
program WATEM_DK;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, fileutil, Dos, gdata, idrisi_proc, lateralredistribution,
rdata, surface, vector, CustApp, variables, Stat_output, tillage,
CarbonCycling, model_implementation;
type
... |
unit Bind4D.Component.Edit;
interface
uses
{$IFDEF HAS_FMX}
FMX.StdCtrls,
FMX.Edit,
{$ELSE}
Vcl.ExtCtrls,
Vcl.StdCtrls,
{$ENDIF}
Bind4D.Component.Interfaces,
Bind4D.Attributes, System.JSON;
type
TBind4DComponentEdit = class(TInterfacedObject, iBind4DComponent)
private
FComponent ... |
unit fStyle;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.UITypes,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Buttons,
uGlobal;
type
TStyleNameForm = class(TForm)
BitBtn1: TBi... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
(* CodeGen: HDO, 2004-02-06
-------
Byte code generator for the MiniPascal compiler.
===================================================================*)
UNIT CodeGen;
(*$I Chooser.inc*)
INTERFACE
USES
CodeDef;
PROCEDURE InitCodeGenerator;
PROCEDURE Emit1(op... |
{
Laz-Model
Copyright (C) 2002 Eldean AB, Peter Söderman, Ville Krumlinde
Portions (C) 2016 Peter Dyson. Initial Lazarus port
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either versi... |
namespace RemObjects.Elements.EUnit;
interface
type
BaseAction = assembly abstract class
private
Prev: BaseAction;
protected
method DoExecute(Context: RunContext); virtual; abstract;
method HandleException(Context: RunContext; Ex: Exception): ITestResult;
public
constructor;
... |
unit feedHTML;
interface
uses eaterReg, VBScript_RegExp_55_TLB, jsonDoc;
type
THTMLFeedProcessor1=class(TFeedProcessor)
private
FURL:WideString;
FPostItem,FPostBody:RegExp;
public
procedure AfterConstruction; override;
function Determine(Store:IFeedStore;const FeedURL:WideString;
var Feed... |
unit frm_Update;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UPClient, UPMsgPack,
Xml.XMLDoc, Xml.XMLIntf, System.IniFiles, Vcl.StdCtrls, Vcl.Grids;
type
TFileProcess = procedure(const APos, AS... |
unit Interfaces.Player;
interface
uses
System.Classes,
System.Types,
Vcl.ExtCtrls;
type
TPlayerDirection = (tpdNone, tpdUP, tpdDOWN, tpdLEFT, tpdRIGHT);
IPlayer = Interface(IInterface)
['{149FF061-A040-4770-BF31-D3EECB49E6AD}']
function Position(const Value: TPoint): IPlayer; overload;
function ... |
unit StatusFrameUnit;
{$mode delphi}
interface
uses
Classes, SysUtils, Forms, Controls, StdCtrls;
type
{ TStatusFrame }
TStatusFrame = class(TFrame)
GroupBoxStatus: TGroupBox;
Label10: TLabel;
Label12: TLabel;
Label14: TLabel;
Label16: TLabel;
Label18: TLabel;
Label20: TLabel;
... |
unit Uplasma;
{
Main loop in program should be:
while ( simulating ) do
begin
get_from_UI ( dens_prev, u_prev, v_prev ); <<--- program should update dens_prev, u_prev, v_prev (= density array, u and v velocities)
vel_step ( N, u, v, u_prev, v_prev, visc, dt ); <<--- step call
dens_step (... |
{Se tiene información sobre el equipaje de un conjunto de vuelos grabada en un
archivo de texto, de la siguiente forma:
En la misma línea:
código (si no se usa archivo, indicar con *** fin de vuelos)
cantidad de pasajeros,
y a continuación para el mismo vuelo una línea por cada pasajero:
Categoría (A, B, C)
Pes... |
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2009 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "License"); you may ... |
unit CdModelo;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FireDAC.Stan.Intf, FireDAC.Stan.Param,
FireDAC.Phys.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.DApt.Intf, FireDAC.Stan.... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clMailMessage;
interface
{$I clVer.inc}
uses
Classes, SysUtils, clEncoder;
type
TclMessagePriority = (mpLow, mpNormal, mpHigh);
TclMessageFormat = (mfNone, mfMIME, mfUUencode);
TclMailMess... |
{
@abstract(Logger)
The unit contains main logger interface and several default appenders
@author(George Bakhtadze (avagames@gmail.com))
}
unit g3log;
{$I g3config.inc}
interface
uses
g3types;
type
// Log level prefix string type
TLogPrefix = string;
// Log level class
TLogLevel = (llVerbose, llDebug, ll... |
unit DmdDatabase_Ant;
interface
uses
SysUtils, Classes, DBXpress, DB, SqlExpr, Forms, IniFiles, IdCoder, IdCoder3to4, IdCoderMIME, FMTBcd, IdBaseComponent,
DBClient, Provider;
type
TdmDatabase_Ant = class(TDataModule)
scoDados_Ant: TSQLConnection;
Decoder64: TIdDecoderMIME;
sdsExec: TSQLDataSet;
... |
unit typeDefGen;
interface
uses
// Windows,
SysUtils,
// StdCtrls,
Dialogs,
typeDefBase,
typeDefSucc,
// ComCtrls,
// operations,
TypInfo;
// Класс реализует очистку типов: TArrAppBaseFile, TAppFileArrayBM, TAppFileArrayJrnl
type
TErase = class(TObject)
public
class procedure Erase<T>(var a: ... |
program interpreter_6502;
uses
Sysutils;
const
MEM_SIZE = 40;
var
mem: array[0..(MEM_SIZE-1)] of byte; // RAM
PC: integer = 0; // program counter
A, X, Y: byte; // accumulator, registers
C, Z: boolean; ... |
unit UPlayer;
interface
uses
SysUtils, Classes, Generics.Collections, Generics.Defaults,
UPiece, UBoard, UDie, USquare;
type
TPlayer = class
private
name: string;
piece: TPiece;
board: TBoard;
dice: TList<TDie>;
published
constructor create(name: string; dice: TDie; board: TBoard);
pu... |
unit Card.Cards;
interface
uses
ECMA.TypedArray, W3C.DOM4, W3C.HTML5, W3C.WebAudio, W3C.Canvas2DContext,
Card.Framework, Card.Drawer;
type
TCardColor = (ccSpade, ccHeart, ccClub, ccDiamond);
TCardValue = (cvA, cv2, cv3, cv4, cv5, cv6, cv7, cv8, cv9, cv10, cvJ, cvQ, cvK);
TCard = class(TCanvas2DElement)
... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, OpenGL, ExtCtrls;
type
TPoint3D = record//Описание структуры для хранения точки в пространстве
x,y,z : double;
end;
TForm1 = class(TForm)
Timer1: TTimer;
procedure FormCreate(Sender: TO... |
unit cn_sp_SpecUnit_AE;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxCurrencyEdit, cxContainer, cxEdit,
cxTextEdit, StdCtrls, cxControls, cxGroupBox, cxButtons, cnConsts,
Buttons, cxCheckBox, cnConsts_Messages;
type
TfrmSpec_AE ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLTexCombineShader<p>
A shader that allows texture combiner setup.<p>
<b>History : </b><font size=-1><ul>
<li>24/07/09 - DaStr - TGLShader.DoInitialize() now passes rci
(BugTracker ID = 2826217)
... |
unit Chapter08._01_02_Solution1;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
DeepStar.UString,
DeepStar.Utils;
// 17. Letter Combinations of a Phone Number
// https://leetcode.com/problems/letter-combinations-of-a-phone-number/description/
// 时间复杂度: O(2^len(s))
// 空间复杂度: O(len(s))
type
TSolutio... |
unit Proposal;
interface
uses
System.Classes;
function Bytes2TXT(const AFileJPG: string): string;
function TXT2Bytes(const AContent: string): TStringStream;
implementation
uses
System.SysUtils;
function Bytes2TXT(const AFileJPG: string): string;
var
INFile : file of Byte;
bFragment: Byte;
begin
Assign... |
program poj1046;
var n,m,a,b,c,l,i,j,k,aa,bb:int64;
gg:int64;
x,y:int64;
d,t:int64;
function exgcd(a,b:int64; var x,y:int64):longint;
var t:int64;
begin
if b=0 then
begin
exgcd:=a;
x:=1;
y:=0;
end
else
begin
exgcd:=exgcd(b,a mod b,x,y);
t:=x;
x:=y;
y:=t-(a div b)*y;
end;
end;
be... |
{..............................................................................}
{ Summary Demonstration of the PCB's Undo system. }
{ }
{ Three procedures to demonstrate how the Undo system works - ... |
unit URepositorioEntEstoque;
interface
uses
UEntradaEstoque,
UEntidade,
URepositorioDB,
UDeposito,
URepositorioDeposito,
UProduto,
URepositorioProduto,
SqlExpr
;
type
TrepositorioEntEstoque = class (TRepositorioDB<TEntradaEstoque>)
private
FRepositorioDeposito: TRepositorioDepo... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
unit DzNoteEditorReg;
interface
uses DesignEditors, DesignIntf;
type
TDzNoteEditorStringsEdit = class(TPropertyEditor)
public
procedure Edit; override;
function GetAttributes: TPropertyAttributes; override;
function GetValue: string; override;
end;
TDzNotepadPropDbClick = class(TDefaultEditor)
... |
//////////////////////////////////////////////////////////////////////////
// This file is a part of NotLimited.Framework.Wpf NuGet package.
// You are strongly discouraged from fiddling with it.
// If you do, all hell will break loose and living will envy the dead.
/////////////////////////////////////////////////////... |
unit Forms.Config;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvGlowButton, AdvEdit, Vcl.StdCtrls, AdvEdBtn,
AdvDirectoryEdit;
type
TFrmConfig = class(TForm)
btCancel: TAdvGlowButton;
btOK: TAd... |
unit ProdutoDAO;
interface
uses
Classes, DBXCommon, SqlExpr, Produto, SysUtils, FornecedorProduto,
Generics.Collections, Fornecedor, Validade;
type
{$MethodInfo ON}
TProdutoDAO = class(TPersistent)
private
FComm: TDBXCommand;
procedure PrepareCommand;
public
function List: TDBXReader;
fu... |
unit uFrmEstimatedInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls,
DB, ADODB, PowerADOQuery, DBCtrls, DateBox, Mask, SuperComboADO, ComCtrls,
cxStyles, cxCustomData, cxGraphics, cxFilter, cx... |
namespace proholz.xsdparser;
interface
type
XsdAnnotationVisitor = public class(XsdAbstractElementVisitor)
private
// *
// * The {@link XsdAnnotation} instance which owns this {@link XsdAnnotationVisitor} instance. This way this visitor
// * instance can perform changes in the {@link XsdAnnotation} ... |
(*
-----------------------------------------------------------------------------------------------------
Version : (288 - 279)
Date : 01.17.2011
Author : Antonio Marcos Fernandes de Souza (amfsouza)
Issue : ( Changes ) buttons add and remove are missing
Solution: redraw screen.
Version : (288 - 280)
-------------... |
unit mymetafile;
{$MODE Delphi}
interface
uses
Windows, Classes, SysUtils, Graphics, dialogs;
type
TLRMetafile = class;
{ TMetafileCanvas }
TLRMetafileCanvas = class(TCanvas)
private
FMetafile: TLRMetafile;
public
constructor Create(AMetafile: TLRMetafile; ReferenceDevice:... |
(*
* Copyright (c) 2004
* HouSisong@gmail.com
*
* This material is provided "as is", with absolutely no warranty expressed
* or implied. Any use is at your own risk.
*
* Permission to use or copy this software for any purpose is hereby granted
* without fee, provided the above notices are retained on all copies... |
{
Mandel / Julia Explorer
Copyright 2000 Hugh Allen Hugh.Allen@oz.quest.com
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later v... |
unit frm_ImportRecord;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Vcl.ExtCtrls, HCEmrView, HCEmrViewLite;
type
TfrmImportRecord = class(TForm)
pnl1: TPanel;
btnImportAll: TButton;
btnImportSelect: TButton;
... |
unit luaAssociativeArray;
{$mode objfpc}{$H+}
interface
uses
Lua, Classes, SysUtils, uAssociativeArray;
procedure RegisterAssociativeArray(L : Plua_State);
procedure RegisterExistingAssociativeArray(L : Plua_State; ar : TAssociativeArray; instanceName : AnsiString);
implementation
uses
pLua, pLuaObject;
var
... |
unit DPM.IDE.Details.Interfaces;
interface
uses
Vcl.Themes,
ToolsApi,
Spring.Container,
Spring.Collections,
VSoft.Awaitable,
DPM.Core.Types,
DPM.Core.Configuration.Interfaces,
DPM.Core.Package.Interfaces,
DPM.Core.Options.Search,
DPM.Core.Dependency.Interfaces,
DPM.IDE.IconCache,
DPM.IDE.Types... |
unit uFMXMain;
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.Edit
, uObserver
, uTickTockTimer
, uFactory;
type
TFormFMXMain = class(TForm, IVMObserve... |
unit ibSHKeywordsManager;
interface
uses Classes, Graphics, SysUtils, Forms, Contnrs,
SHDesignIntf, ibSHDesignIntf, ibSHConsts,
pSHIntf, pSHHighlighter;
type
TibBTKeywordsManager = class(TSHComponent, IpSHKeywordsManager, IibSHKeywordsList)
private
FSubSQLDialect: TSQLSubDialect;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.