text stringlengths 14 6.51M |
|---|
unit Gatecash.Integration;
interface
type
{$SCOPEDENUMS ON}
TResponse = (COMMANDFAILURE, SUCCESS, COMMANDNOTINITIALIZED, INVALIDPARAMS);
{$SCOPEDENUMS OFF}
TResponseHelper = record helper for TResponse
/// <summary>
/// Retorna o valor que representa o tipo selecionado do enum.
/// </summary>
fun... |
unit xElecMeter;
interface
uses SysUtils, Classes, xElecLine, xElecFunction, xElecOrgan, FMX.Types, Math;
type
/// <summary>
/// 电表相线
/// </summary>
TEPhase = (epSingle, // 单相
epThere, // 三相三线
epFour, // 三相四线
epThereReactive, // 三相三线... |
//
// Copyright (c) 2009-2010 Mikko Mononen memon@inside.org
//
// This software is provided 'as-is', without any express or implied
// warranty. In no event will the authors be held liable for any damages
// arising from the use of this software.
// Permission is granted to anyone to use this software for any purpose... |
unit UnitFunctions;
interface
uses
Windows, WinSock, ShlObj, TlHelp32, ShellAPI;
const
faReadOnly = $00000001;
faHidden = $00000002;
faSysFile = $00000004;
faVolumeID = $00000008;
faDirectory = $00000010;
faArchive = $00000020;
f... |
unit regexp;
interface
uses pcre;
type
RCapture = record
captured: string;
pos: cardinal;
len: cardinal;
end;
RCaptureArr = array of RCapture;
RegExpFlags = set of (IgnoreCase, MultiLine, SingleLine, Extended, Global, Anch);
TRegExp = class
private
FboundString: str... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit IdentifyDiagnosis;
interface
uses
SysUtils, Classes, ClipBrd, Windows,
Device.PhysicalDrive.List, Device.PhysicalDrive, Global.LanguageString,
Global.Constant, Getter.PhysicalDrive.ListChange, OS.Version.Helper,
Getter.DeviceDriver, Support;
type
TIdentifyDiagnosis = class
public
procedure Diagn... |
unit Command.DiceRoll;
interface
uses
System.SysUtils,
System.Classes,
System.Math,
System.Diagnostics,
Pattern.Command,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.ComCtrls;
type
TDiceRollCommand = class(TCommand)
const
MaxDiceValue = 6;
private
fRolls: TArray<Integer>;
fResultDistribution: TArra... |
unit RecordMethodsForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.Memo, FMX.Controls.Presentation, FMX.ScrollBox;
type
TForm1 = class(TForm)
Memo1: TMemo;
... |
unit Unit1;
interface
uses
System.SysUtils, System.Classes,
Vcl.Controls, Vcl.Forms, Vcl.StdCtrls,
//GLS
GLScene, GLVectorFileObjects, GLObjects, GLWin32Viewer,
GLVectorGeometry, GLGeomObjects, GLCrossPlatform, GLCoordinates,
GLBaseClasses, GLFile3DS, GLUtils;
type
TForm1 = class(TForm)
... |
{$I ACBr.inc}
unit Unit1;
interface
uses ShellAPI, Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, ComCtrls,
OleCtrls, SHDocVw, FileCtrl, XMLIntf, XMLDoc, zlib, StrUtils, Math,
TypInfo, DateUtils,
// ACBr
synacode, ACBrBase, AC... |
PROGRAM Hello(INPUT, OUTPUT);
BEGIN
REPEAT{
WRITELN('Hello world!');
UNTIL FALSE;
|
unit cCliente;
interface
type
Cliente = class (TObject)
protected
codCli : integer;
nomeCli : string;
endCli : string;
bairroCli : string;
cidCli : string;
emailCli : string;
obsCli : string;
statusCli : String;... |
unit ImmHeadDetail;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, BasePopupDetail, RzButton, RzTabs,
Vcl.StdCtrls, RzLabel, Vcl.Imaging.pngimage, Vcl.ExtCtrls, RzPanel, Vcl.Mask,
RzEdit, RzDBEdit;
type
T... |
unit formConfigServer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TfrmConfigServer = class(TForm)
mmoServer: TMemo;
btnSave: TButton;
btnClose: TButton;
lblHint: TLabel;
procedure btnSaveClick(Sender: TObject);
proce... |
unit SimpleLoggerUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, SyncObjs, MTUtils, TimeIntervals, MTLogger;
type
TDemoLoggerForm = class(TForm)
Button1: TButton;
Label1: TLabel;
Edit1: TEdit;
Button2: TButton;
Label2: TLabe... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
{$O+,F+}
unit CGABTESTS;
{Contains all of the benchmarking tests/procedures for the CGA compatibility tester}
interface
Procedure BenchReadSpeed;
Procedure BenchWriteSpeed;
Procedure BenchReadSpeedOpcodes;
Procedure BenchWriteSpeedOpcodes;
implementation
uses
strings,m6845ctl,totmsg,ztimer,support,totIO1,totfast,... |
unit IdHeaderCoderIndy;
interface
{$i IdCompilerDefines.inc}
uses
IdGlobal, IdHeaderCoderBase;
type
TIdHeaderCoderIndy = class(TIdHeaderCoder)
public
class function Decode(const ACharSet: string; const AData: TIdBytes): String; override;
class function Encode(const ACharSet, AData: String): TIdBytes; ... |
unit fPCELex;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, uCore,
fAutoSz, StdCtrls, ORFn, ORCtrls, ExtCtrls, Buttons, VA508AccessibilityManager,
ComCtrls, fBase508Form, CommCtrl, mTreeGrid, rCore, StrUtils;
type
TfrmPCELex = class(TfrmBase508Form)
txtSearch: T... |
{*********************************************************************
*
* 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... |
{
* X11 (MIT) LICENSE *
Copyright © 2013 Jolyon Smith
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, copy, mod... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
PROGRAM Kaffeeautomat;
TYPE Coins = RECORD
OneEuro: integer;
FiftyCent: integer;
TenCent: integer;
END;
const coffeePrize = 40;
var changeBank: Coins;
var totalChange: Coins;
var coinsInput: Coins;
var coinsOutput: Coins;
var totalCredit: in... |
unit record_overload_operators;
interface
implementation
type
TRec = record
F: int32;
operator Add(const Left, Right: TRec): TRec;
end;
var
R: TRec;
operator TRec.Add(const Left, Right: TRec): TRec;
begin
Result.F := Left.F + Right.F;
end;
procedure Test;
var
X, Y: TRec;
begin
X.F := 1;
Y.F :... |
{*
FrameFileSelector.pas/dfm
-------------------------
Begin: 2005/08/04
Last revision: $Date: 2010-11-03 18:41:47 $ $Author: rhupalo $
Version number: $Revision: 1.14 $
Project: APHI General Purpose Delphi Libary
Website: http://www.naadsm.org/opensource/delphi/
Author: Aaron Reeves <aaron.reeves@naadsm.org>
---------... |
unit IWCompButton;
{PUBDIST}
interface
uses
Classes,
IWControl, IWHTMLTag, IWScriptEvents;
type
TIWButtonType = (btSubmit, btButton, btReset);
TIWCustomButton = class(TIWControl)
protected
FButtonType: TIWButtonType;
FOnClick: TScriptEvent;
FHotKey: string;
procedure HookEvents(AScriptEve... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit Ths.Erp.Database.Singleton;
interface
{$I ThsERP.inc}
uses
System.IniFiles, System.SysUtils, System.Classes, System.StrUtils,
System.Math, System.Variants,
Winapi.Windows, Winapi.Messages,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ImgList,
Vcl.Imaging.PngImage, Vcl.DBGrids,... |
unit u_xpl_custom_listener;
{==============================================================================
UnitName = uxPLListener
UnitDesc = xPL Listener object and function
UnitCopyright = GPL by Clinique / xPL Project
==========================================================================... |
unit ASN1.X509;
interface
uses
ASN1;
type
X509_PublicKeyInfo_RSA = record
strict private
modulus: TASN1_Integer;
publicExponent: TASN1_Integer;
public
constructor Create(aModulus, apublicExponent: TASN1_Integer);
class function &Label: string; static;
function Value: TASN1_Sequence;
c... |
unit PascalCoin.RPC.Test.Account;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Layouts, FMX.ListBox, FMX.Controls.Presentation, FMX.Edit, PascalCoin.RPC.Interfaces;
type
TAccoun... |
unit Ths.Erp.Database.Table.SysUser;
interface
{$I ThsERP.inc}
uses
SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils,
FireDAC.Stan.Param, Data.DB,
Ths.Erp.Constants,
Ths.Erp.Database,
Ths.Erp.Database.Table;
type
TSysUser = class(TTable)
private
FUserName: TFieldDB;
FUser... |
{
Maximum Weighted Bipartite Matching
Hungarian Algorithm O(N4) but acts like O(N3)
Input:
G: UnDirected Simple Bipartite Graph (No Edge = Infinity)
N: Number of vertices of each part
Output:
Mt: Match of Each Vertex (Infinity = Not Matched)
NoAnswer: Graph does not have complete matching
Reference:
... |
unit BriefcaseMain;
{ This program demonstrates how to do disconnected briefcase applications
with ADO. When the Connected checkbox is unchecked the application is
switched into offline mode. If the application is exited at that point
then the data is persisted to a file on disk (along with any edits to the
... |
unit fOptions;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ComCtrls, ExtCtrls, RxCombos, RXSpin,
FlexBase, FlexUtils, ColorComboEdit;
type
TOptionEditPage = ( opDocument, opGrid, opDuplicates );
TOptionEditPages = set of TOptionEdi... |
unit caAppConfig;
interface
uses
// standard Delphi units...
Windows,
Classes,
SysUtils,
TypInfo,
ActiveX,
ShlObj,
// ca units...
caXml,
caRtti,
caClasses,
caUtils;
type
//---------------------------------------------------------------------------
// IcaAppConfig
//------------------... |
unit uFuncoesData;
interface
uses SysUtils, Classes, Forms, Menus, Dialogs, ExtCtrls, Graphics, WIndows,
Variants, ComCtrls, StdCtrls, Controls, fcPanel, fcLabel, CMDateTimePicker,
wwdbdatetimepicker;
function retornaMesInteiro(AMes: string): Integer;
function retornaMesString(AMes: Integer): string;
func... |
unit Persistence.Entity.Person;
interface
uses
System.Classes,
Spring,
Spring.Persistence.Mapping.Attributes,
Persistence.Consts;
type
TCommonPerson = class(TObject)
strict private
FId: int;
FFirstName: string;
FLastName: string;
FBirthday: Date;
FPhone: string;
FEmail: string;
... |
unit ACCtrls;
interface
uses
Windows, Types, UITypes, Classes, Graphics, SysUtils, ExtCtrls,
FlexBase, FlexProps, FlexUtils;
type
TACControls = ( acNone, acZone, acDoor );
TDoorState = ( dsClosed, dsOpened );
TDoorOrientation = ( doVertical, doHorizontal );
TDoorAccessDirection = ( ddUnknown, ddForward,... |
unit MapRangeCodeSelectDialogUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Buttons, DB, DBTables;
type
TMapRangeCodeSelectDialog = class(TForm)
OKButton: TBitBtn;
CancelButton: TBitBtn;
CodeListBox: TListBox;
procedure OKButto... |
unit FIToolkit.Logger.Default;
interface
uses
System.SysUtils,
FIToolkit.Logger.Intf;
procedure InitConsoleLog(DebugMode : Boolean);
procedure InitFileLog(const FileName : TFileName);
function Log : IAbstractLogger;
type
{$RTTI EXPLICIT METHODS([vcPrivate, vcProtected, vcPublic, vcPublished])}
TLog... |
unit ncaFrmTipos;
{
ResourceString: Dario 11/03/13
}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ncClassesBase, StdCtrls, CheckLst, cxLookAndFeelPainters, cxButtons, Menus,
cxGraphics, cxLookAndFeels, cxControls, cxContainer, cxEdit, cxCheckBox,
LMDControl, LMD... |
unit DTurn;
interface
uses Windows, SysUtils, classes, WinSock, DSSocket, DSMessage;
type
TDTurnClient = class(TObject)
private
FBindAddr: TSockAddrIn;
FLocalIP: string;
FLocalPort: word;
FStartLocalPort: word;
FTimeOut: Integer;
FUdpSocket: THandle;
procedure BindSocke... |
unit FIToolkit.Commons.Exceptions;
interface
uses
System.SysUtils;
type
ECustomExceptionClass = class of ECustomException;
ECustomException = class abstract (Exception)
private
function GetClassType : ECustomExceptionClass;
protected
function GetDefaultMessage : String; virtual;
publ... |
unit UnitMessage;
{
OSS Mail Server v1.0.0 - Message Form
The MIT License (MIT)
Copyright (c) 2012 Guangzhou Cloudstrust Software Development Co., Ltd
http://cloudstrust.com/
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (... |
<h3>Track sanitizer pattern overview</h3>
@using (Html.BeginForm("Save", "GDPRApiDemoPage", null, FormMethod.Post, new { id = "PatternForm" }))
{
<div class="row">
<div class="span4">
<div>
<h4>Plain Text Pattern</h4>
<textarea cols="40" rows="5" name="plaintextFi... |
unit MyMessenger;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TMsgForm = class(TForm)
MemPanel: TPanel;
pnlGridHeader: TPanel;
... |
PROGRAM Zaehlproblem;
const
MAX = 100;
type
IntegerArray = ARRAY [1..MAX] OF integer;
FUNCTION DifferentValues(a: IntegerArray; n: integer): integer;
var i, numberOfIntegers: integer;
BEGIN (* DifferentValues *)
numberOfIntegers := 0;
FOR i := 1 TO n DO BEGIN
IF (i > 1) THEN BEGIN
... |
unit Stats.DBConnectionHandler;
interface
uses
Stats.Constant,
Variants,
//Connection/Drivers
FireDAC.Comp.Client,
FireDAC.Stan.Def,
FireDAC.Phys,
//PostgreSQL
FireDAC.Phys.PG,
//MySQL
FireDAC.Phys.MySQL,
//SQLite
FireDAC.Phys.SQLite,
//Insert
FireDAC.Stan.Async,
FireDAC.VCLUI.Wait, F... |
unit Vigilante.Infra.Build.JSONDataAdapter;
interface
uses
Vigilante.Aplicacao.SituacaoBuild, Vigilante.Build.Model, Module.ValueObject.URL;
type
IBuildJSONDataAdapter = interface(IInterface)
['{8B2C90E7-4B1A-4A49-9878-F249046D2488}']
function GetNome: string;
function GetURL: string;
function Ge... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ }
... |
unit fGMV_EnteredInError;
{
================================================================================
*
* Application: Vitals
* Revision: $Revision: 1 $ $Modtime: 12/20/07 12:43p $
* Developer: ddomain.user@domain.ext/doma.user@domain.ext
* Site: Hines OIFO
*
* Desc... |
unit rDCSumm;
interface
uses SysUtils, Classes, ORNet, ORFn, rCore, uCore, TRPCB, rTIU, uConst, uTIU, uDCSumm;
{ Discharge Summary Titles }
procedure ResetDCSummTitles;
function DfltDCSummTitle: Integer;
function DfltDCSummTitleName: string;
procedure ListDCSummTitlesShort(Dest: TStrings);
function SubSetOfDCSumm... |
program rxfpc_gen_help;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes, SysUtils, CustApp,
dom, XMLRead;
type
{ TLazPkgData }
TLazPkgData = class
private
procedure DoLoadData;
public
constructor Create(AFileName:string);
end;
{ TRxHelpApplication }
TRxHelpAppli... |
unit Test_FIToolkit.Commons.Types;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework,
FIToolkit.... |
unit gExpressionLiterals;
{ Author: Steve Kramer, goog@goog.com }
interface
Uses
Classes
, SysUtils
, StrUtils
, gExpressionEvaluator
;
Type
TLiteral = class(TgExpressionToken)
Protected
Value: Variant;
public
Procedure Evaluate(AStack : TgVariantStack);Override;
End;
THex = Class(TL... |
unit IdMappedPortTCP;
interface
uses
Classes, IdTCPClient, IdTCPServer;
const
ID_MAPPED_PORT_TCP_PORT = 0;
type
TIdMappedPortTCPData = class
public
OutboundClient: TIdTCPClient;
ReadList: TList;
constructor Create;
destructor Destroy; override;
end;
TBeforeClientConnectEvent = procedure... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit uInfoBoxWithBtnControls;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls,
VA508AccessibilityManager, ORFn, VAUtils;
function DefMessageDlg(const Msg: string; DlgType: TMsgDlgTyp... |
unit Hints;
{
В данном модуле реализованы собственные всплывающие подсказки.
Автор модуля - Сергей Королев.
Я взял данный модуль к себе в помощь, и исправил ошибки,
связанные с неправильным вызовом FOldMessageEvent
(раньше функция OnMessage могла рекурсивно вызывать сама себя, из-за чего
стэк сра... |
unit DockedFormIntf;
interface
type
IDockedForm = interface(IInterface)
['{6D86BA7A-40C4-4165-86C1-AA319496F6D7}']
procedure SetTitle(const title: string);
end;
implementation
end.
|
{****************************************************************************************
StringTestBenchMark & ManyThreadsTestBenchMark v1.0
By Ivo Tops for FastCode Memory Manager BenchMark & Validation
****************************************************************************************}
unit StringThrea... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{ : GLBaseMeshSilhouette<p>
Silhouette classes for GLBaseMesh and FaceGroups.<p>
<b>History : </b><font size=-1><ul>
<li>16/11/10 - Yar - Added mesh visibility checking in TGLBaseMeshConnectivity.SetGLBaseMesh (thanks to dalex65)
<... |
{
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.Threadsafe;
{$I ADAPT.inc}
interface
uses
{$IFDEF ADAPT_USE_EXPLIC... |
unit tlist_1;
interface
uses System;
type
TList<T> = class
private
type
TItems = array of T;
var
FItems: TItems;
FCount: Int32;
procedure Grow;
procedure SetCapacity(Value: Int32);
procedure MoveUpItems(FromIdx, ToIdx: Int32);
function GetCapacity: Int32;
public
p... |
{===============================================================================
Copyright(c) 2014, 北京北研兴电力仪表有限责任公司
All rights reserved.
学员信息单元
+ TStudentAction 学员数据库操作类
===============================================================================}
unit xStudentAction;
interface
uses
Sys... |
unit unstCadastroVeterinario;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Mask, Vcl.DBCtrls, Vcl.StdCtrls,
Vcl.Buttons, Vcl.ExtCtrls;
type
TfrmCadastroVeterinario = class(TForm)
pnlCentro: TPanel... |
unit UnitFormProductsCalcTable;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, thrift.collections, apitypes,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Grids, UnitFormPopup2, Vcl.Menus;
type
TFormProductsCalcTable = class(TForm)
... |
unit WisePort;
interface
uses
Windows, cbw, WiseHardware, WiseDaq, StopWatch;
type TWiseMultiPortSpec = record
daqid: TDaqId;
mask: word;
shiftR: integer;
shiftL: integer;
end;
type TWiseMultiPortSpecs = array of TWiseMultiPortSpec;
{
TWiseMultiPort - A specialized type o... |
unit ltr25api;
interface
uses SysUtils, ltrapitypes, ltrapidefine, ltrapi;
const
// Количество каналов АЦП в одном модуле LTR25
LTR25_CHANNEL_CNT = 8;
// Количество частот дискретизации.
LTR25_FREQ_CNT = 8;
// Количество частот, для которых сохраняются калибровочные коэффициенты
LTR25_CBR_... |
unit int_not_u16;
interface
implementation
var I: UInt16;
procedure Test;
begin
I := 65534;
I := not I;
end;
initialization
Test();
finalization
Assert(I = 1);
end. |
unit uObjectDXFEntity;
interface
uses Classes, SysUtils, Contnrs, uMyTypes;
type
TDXFEntity = class(TObject)
private
objVlastnosti: TStringList;
objSubEntities: TObjectList;
function objGetPair(index: integer): TDXFPair;
function objGetSubEntity(Index: Integer): TDXFEntity;
procedure objSetS... |
{**********************************************}
{ TeeChart Components - Custom Actions }
{ Copyright (c) 2000-2004 by David Berneda }
{ All Rights Reserved }
{**********************************************}
unit TeeChartActions;
{$I TeeDefs.inc}
interface
uses {$IFNDEF LINUX}
... |
unit opcoursesqlite3;
{$mode objfpc}{$H+}
{$WARN 6058 off : Call to subroutine "$1" marked as inline is not inlined}
interface
uses
Classes, SysUtils, SchoolEntities, dOpf, dsqldbbroker, sqlite3conn, eventlog
;
type
{ TopCoursesDB }
TopCoursesDB = class(TObject, IORMInterface)
public type
TopInvitati... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: TGA<p>
Simple TGA formats supports for Delphi.<br>
Currently supports only 24 and 32 bits RGB formats (uncompressed
and RLE compressed).<p>
Based on David McDuffee's document from www.wotsit.org<p>
<b>History : </b><font... |
unit int_not_u64;
interface
implementation
var I: UInt64;
procedure Test;
begin
I := Low(UInt64);
I := not I;
end;
initialization
Test();
finalization
// Assert(I = High(UInt64)); // не работает UInt64 нормально
end. |
{$I-}
unit Log;
interface
procedure logInit;
procedure logDone;
procedure logCreate(Name, FName: String); {$IFNDEF SOLID}export;{$ENDIF}
procedure logWrite(Name, S: String); {$IFNDEF SOLID}export;{$ENDIF}
procedure logKill(Name: String); {$IFNDEF SOLID}export;{$ENDIF}
procedure _ssGetLogs(Proc: Pointer);
procedure ... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit frmLiquidacionFiniquito;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, DateUtils,
Grids, DBGrids, ExtCtrls, DBCtrls, ZAbstractRODataset, ZAbstractDataset,
ZAbstractTable, ZDataset, NxScrollControl, NxCustomGridControl, NxCustomGrid,
NxDBGrid, NxD... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLConsole <p>
The console is a popdown window that appears on a game for text output/input.<p>
<b>History : </b><font size=-1><ul>
<li>16/03/11 - Yar - Fixes after emergence of GLMaterialEx
<li>02/04/07 - DaStr - All c... |
{*******************************************************}
{ }
{ Delphi REST Client Framework }
{ }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit xProtocolPacksDL645_97;
interface
uses System.Types, xProtocolPacks, System.Classes, system.SysUtils, xDL645Type,
xFunction, xMeterDataRect, xProtocolPacksDl645;
type
TProtocolPacksDl645_97 = class(TProtocolPacksDl645)
private
protected
function CreatePackReadNextData: TBytes;override; ... |
unit ucadTransCxControls;
interface
uses
SysUtils,
classes,
ufmTranslator;
type
TcxPageControlTranslator = class ( TcadCompTranslator )
function Translate(const aObj: TObject; var Translated:boolean):boolean; override;
class function Supports(const aObj: TObject): Boolean; override;
end;
TcxCus... |
{-------------------------------------------------------------------------------
// EasyComponents For Delphi 7
// 一轩软研第三方开发包
// @Copyright 2010 hehf
// ----------------------------... |
unit eSocial.Views.Styles;
interface
uses
System.UITypes,
eSocial.Views.Styles.Colors;
const
FONT_NAME = 'Tahoma';
FONT_SIZE_H1 = 18;
FONT_SIZE_H2 = 16;
FONT_SIZE_H3 = 14;
FONT_SIZE_H4 = 12;
FONT_SIZE_H5 = 10;
FONT_SIZE_H6 = 8;
FONT_SIZE_H7 = 6;
... |
unit UBarraBotoesItens;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons,
Data.DB;
type
TFBarraBotoesItens = class(TFrame)
sbBotoes: TScrollBox;
btAnterior: TBitB... |
{*****************************************************************}
{ This is a component for placing icons in the notification area }
{ of the Windows taskbar (aka. the traybar). }
{ }
{ It is an expanded version of my CoolTrayIc... |
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+}
{$M 1024,0,0}
{
by Behdad Esfahbod
Algorithmic Problems Book
April '2000
Problem 168 O(N2) Dynamic Method
}
program
FliesDance;
const
MaxN = 240{100};
var
N : Integer;
P, Per : array [0 .. MaxN] of Integer;
PN : Integer;
D : array [0 .. 1, 0 .. Max... |
unit Tecon_Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ScktComp, StdCtrls, Sockets, IdBaseComponent, IdComponent,
IdUDPBase, IdUDPServer, IdSocketHandle, IdUDPClient, IdGlobal;
type
TForm1 = class(TForm)
Memo1: TMemo;
Id... |
unit ActnFld;
interface
uses DBAdapt, WebAdapt, AdaptReq, Classes;
type
TBaseDataSetAdapterActionField = class(TAdapterNamedField, ICheckValueChange, IExecuteValue,
IDataSetAdapterFieldClass)
private
function GetAdapter: TCustomDataSetAdapter;
protected
{ ICheckValueChange }
function CheckValue... |
unit MemMap;
interface
uses
Windows, SysUtils, Classes;
{
const
fmCreate = $FFFF;
fmOpenRead = $0000;
fmOpenWrite = $0001;
fmOpenReadWrite = $0002;
fmShareCompat = $0000;
fmShareExclusive = $0010;
fmShareDenyWrite = $0020;
fmShareDenyRead = $0030;
fmShareDenyNone = $0040;
}
type
... |
unit Unit8;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, xThreadUDPSendScreen, jpeg,
Vcl.ExtCtrls;
type
TForm8 = class(TForm)
mmo1: TMemo;
rdgrp1: TRadioGroup;
proce... |
program LIST0105;
uses Graph, GrafLib0, CRT;
VAR
radius : REAL;
NumPoints,
GMode : INTEGER;
center : Vector2;
(* ------------------------------------------------------------------- *)
PROCEDURE Circle(r :REAL);
{ Listing 1.5 }
CONST
segments = 100;
VAR
theta,thinc : REAL;
i : INTEGER... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.XPMan,
Vcl.Menus, Vcl.Imaging.pngimage, Vcl.ExtCtrls, Vcl.ImgList, System.ImageList;
type
TfrmMain = class(TForm)
... |
unit fODAuto;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
fODBase, StdCtrls, ComCtrls, ExtCtrls, ORFn, ORCtrls,
VA508AccessibilityManager;
type
TfrmODAuto = class(TfrmODBase)
Label1: TLabel;
public
procedure InitDialog; override;
procedure SetupDialo... |
unit FIToolkit.Config.Manager;
interface
uses
System.SysUtils, System.Rtti,
FIToolkit.Config.Data, FIToolkit.Config.Storage, FIToolkit.Config.Types, FIToolkit.Commons.Types;
type
TConfigManager = class sealed
strict private
FConfigData : TConfigData;
FConfigFile : TConfigFile;
private
... |
unit uFuncionarioController;
interface
uses uFuncionario, uDependente, uFuncionarioDAO, Vcl.Forms,
System.Generics.Collections;
type
TFuncionarioController = class
protected
FFuncionarioDAO: TFuncionarioDAO;
FView: TForm;
FViewDependente: TForm;
FLista: TList<TFuncionario>;
public
constru... |
UNIT Mathunit;
INTERFACE
TYPE
PolyPtr = ^Polynom;
RootStack = ^EachRoot;
Complex = RECORD
Re : DOUBLE;
Im : DOUBLE;
END;
Polynom = RECORD
Link : PolyPtr;
Coeff : Complex;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.