text stringlengths 14 6.51M |
|---|
unit CA2Tree;
interface
uses SysUtils, Classes,
CARules2, BuildTree;
type
TDecNeib = array of integer;
CA3Build = class(TreeBuilder)
FCARul : LocRul2CA;
constructor Create(CA : LocRul2CA);
function CalcCells(var Cells : TLocCells) : XCell; override;
end;
CA3BuildDec = class(TreeBuilder)
FCARul... |
unit caRandom;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
SysUtils,
Windows,
// ca units
caClasses,
caUtils;
const
cAdditiveRandomSize = 55;
cShuffleRandomSize = 97;
cCombinedMaxInt1 = MaxInt - 84;
cCombinedMaxInt2 = MaxInt - 248;
type
PcaRandomTable = ^TcaRan... |
(*!------------------------------------------------------------
* [[APP_NAME]] ([[APP_URL]])
*
* @link [[APP_REPOSITORY_URL]]
* @copyright Copyright (c) [[COPYRIGHT_YEAR]] [[COPYRIGHT_HOLDER]]
* @license [[LICENSE_URL]] ([[LICENSE]])
*------------------------------------------------------------- *)
program... |
unit Vigilante.Build.Service.Impl;
interface
uses
System.JSON, Vigilante.Build.Service, Vigilante.Build.Model,
Vigilante.Build.Repositorio, Vigilante.Build.Event;
type
TBuildService = class(TInterfacedObject, IBuildService)
private
FBuildRepositorio: IBuildRepositorio;
FBuildEvent: IBuildEvent;
f... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit Fillrate;
interface
uses
Bitmaps,Render,Points,EngineTypes;
procedure Fill (var SI: ShowSectorInfo; F : PFace; const L1,L2 : ScreenLine);
var
opId : integer = 0;
implementation
uses
Textures;
function GetRenderFuncValue (const R : RenderFunc; x,y : integer) : float;
begin
Result := R... |
unit UfrmCalculadora;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TOperacoes = (toNone, toAdicao, toSubtracao, toMultiplicacao, toDivisao);
TfrmCalculadora = class(TForm)
edtValo... |
unit SHL_XaMusic; // SemVersion: 0.2.0
// Contains TXaDecoder unfinished class.
// Changelog:
// 0.1.0 - test version
// 0.2.0 - class functions
interface // SpyroHackingLib is licensed under WTFPL
uses
SysUtils, Classes, SHL_Types, SHL_WaveStream, SHL_IsoReader;
type
TXaDecoder = class(TStream)
... |
program g2048;
uses
GraphABC, ABCObjects, ABCButtons, timers, controlUtils;
const
/// размер поля
n = 4;
///размер фишки
tile = 100;
/// зазор между фишками
zz = 5;
/// отступ от левого и правого краев
x0 = 5;
/// отступ от верхнего и нижнего краев
y0 = 5;
///Степень округления... |
unit nkResizer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ExtCtrls;
type
{ TnkResizer }
TnkResizer = class(TImage)
private
FTopForm:TForm;
FResizing:boolean;
FPos:TPoint;
protected
procedure Loaded;override;
procedure _onMou... |
{ Copyright (C) 1998-2008, written by Mike Shkolnik, Scalabium Software
E-Mail: mshkolnik@scalabium
WEB: http://www.scalabium.com
Const strings for localization
freeware SMComponent library
- SMComponents Danish Language File translated by Hüseyin Aliz, haliz@consit.dk
}
unit SMCnst;
interfa... |
unit ncaFrmProduto_PrecoAuto;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
cxContainer, cxEdit,
StdCtrls, cxRadioGroup, LMDControl, LMDCustomControl,
LMDCustomPanel, LMDCustomBevelPanel, LMD... |
unit uAtributosCustomizados;
interface
type
TCampoTabelaExterna = class(TCustomAttribute)
private
FNome: string;
public
constructor Create(const psNome: string);
property Nome: string read FNome;
end;
implementation
{ TCampoTabelaExterna }
constructor TCampoTabelaExterna.Create(const psNome: st... |
unit main;
{$mode objfpc}{$H+}
interface
uses
{$IFDEF LINUX}clocale,{$ENDIF}
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Spin, StdCtrls, Grids,
ExtCtrls, ComCtrls, JvYearGrid;
type
{ TMainForm }
TMainForm = class(TForm)
btnFont: TButton;
cmbAutoSize: TCheckBox;
cmbMonthFormat: TCo... |
type
tACString = String[20];
tStrings = array[1..maxString] of String[255];
tStrIdx = array[1..maxString] of Word;
tInFlag = ( { Input flags for "dReadString" }
inNormal, { No case conversion is performed. }
inCapital, ... |
unit DataSetConverter4D.Util;
interface
uses
System.SysUtils,
System.DateUtils,
System.JSON,
Data.DB,
DataSetConverter4D;
function NewDataSetField(dataSet: TDataSet; const fieldType: TFieldType; const fieldName: string; const size: Integer = 0; const origin: string = '';
const displaylabel: s... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2014-2018 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit DAO_Membro;
interface
uses PRFWK_DAO, PRFWK_Atributo, DB, Classes, PRFWK_Modelo, SysUtils,
StrUtils, MD_Membro, PRFWK_Utilidades;
type
TDAO_Membro = class(TPRFWK_DAO)
private
public
constructor Create(); override;
destructor Destroy; override;
function obterOrdemNome(o... |
unit U_POWER_ANALYSIS_FUN;
interface
uses U_POWER_LIST_INFO, U_CKM_DEVICE;
/// <summary>
/// 功率状态转成成功率信息
/// </summary>
procedure PowerStatusToInfo(APstatus : TPOWER_STATUS; APInfo : TObject);
implementation
procedure PowerStatusToInfo(APstatus : TPOWER_STATUS; APInfo : TObject);
function GetAngle(... |
{***********************************<_INFO>************************************}
{ <Проект> Медиа-сервер }
{ }
{ <Область> 16:Медиа-контроль ... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, XLSReadWriteII5, StdCtrls, ExtCtrls, IniFiles, ShellApi,
// XLSReadWriteII5 units
XLSComment5, XLSDrawing5, Xc12Utils5, Xc12DataStyleSheet5, XLSSheetData5,
XLSCmdFormat5, XPMan;
// ***************... |
unit ReflectorsU;
interface
uses
System.Generics.Collections, System.IniFiles, Winapi.Windows, Winapi.Messages,
Winapi.ShlObj, System.SysUtils, System.Variants, System.Classes,
IdBaseComponent, IdMappedPortTCP, IdUDPBase, IdMappedPortUDP, IdSocketHandle,
IdContext, ToolsU;
type
EReflectorException = class(... |
unit Test_FIToolkit.Runner.Tasks;
{
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,
System.SysU... |
unit ImageAltercationUnit;
////////////////////////////////////////////////////////////////////////////////
// //
// Description: Routines for processing images and returning a specific type //
// ... |
unit untStdRegEditors;
interface
uses
DesignIntf, DesignEditors, DB, dxorgchr, dxdborgc, dxorgced, SqlEdit,
Windows, Classes, Forms, ShellApi, cxDBShellComboBox, cxEditPropEditors,
cxEditRepositoryEditor, cxExtEditConsts, cxShellBrowserDialog, cxShellComboBox,
cxShellCommon, cxShellEditRepositoryItems... |
unit uAbout;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, xFunction,
FMX.StdCtrls, FMX.Objects, FMX.Layouts,
FMX.ListBox, FMX.Controls.Presentation;
type
TfAbout = class(TForm)
i... |
unit Threads.Pool;
interface
uses Windows, Classes, GMGlobals, Generics.Collections, Threads.Base, GmSqlQuery,
Threads.ReqSpecDevTemplate, SysUtils, GMConst, GM485;
type
TMultiObjectRequestThread = class(TGMThread)
private
FThreadPool: TGMThreadPool<TRequestSpecDevices>;
procedure UpdateOneObjectTh... |
PROGRAM ListRec;
TYPE ListNodePtr = ^ListNode;
ListNode = RECORD
val: integer;
next: ListNodePtr;
END;
List = ListNodePtr;
PROCEDURE AppendRec(var l: List; n: ListNodePtr);
BEGIN (* AppendRec *)
if l = NIL then
l := n
else
AppendRec(l... |
unit PascalCoin.URI;
interface
uses PascalCoin.Utils.Interfaces;
type
TPascalCoinURI = class(TInterfacedObject, IPascalCoinURI)
private
FAccountNumber: String;
FAmount: Currency;
FPayload: string;
FPayloadEncode: TPayloadEncode;
FPayloadEncrypt: TPayloadEncryption;
FPassword: string;
p... |
unit BrickCamp.TService;
interface
uses
MARS.Core.Engine,
MARS.http.Server.Indy,
MARS.Core.Application,
BrickCamp.IService;
type
TCbdService = class(TInterfacedObject, IBrickCampService)
private
FEngine: TMARSEngine;
FServer: TMARShttpServerIndy;
procedure RegisterClasses;
procedure Ini... |
{
Map Viewer Download Engine for Synapse library
Copyright (C) 2011 Maciej Kaczkowski / keit.co
License: modified LGPL with linking exception (like RTL, FCL and LCL)
See the file COPYING.modifiedLGPL.txt, included in the Lazarus distribution,
for details about the license.
See also: https://wiki.lazarus.... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.DAO.QueryGenerator
Description : DAODatabase ADO Provider
Author : Kike Pérez
Version : 1.0
Created : 22/06/2018
Modified : 02/07/2019
This file is part... |
{
(c) 2014 ti_dic@hotmail.com
Parts of this component are based on :
Map Viewer Copyright (C) 2011 Maciej Kaczkowski / keit.co
License: modified LGPL with linking exception (like RTL, FCL and LCL)
See the file COPYING.modifiedLGPL.txt, included in the Lazarus distribution,
for details about the license... |
unit TblMgrUnt;
interface
uses
DdeExlUnt, Types, Classes, Math, Controls, Sysutils;
type
TTableChangeEvent = procedure(Topic: string; NewCells: TVariantTable; NewAddr: TRect) of object;
TqkTable = class
SubScriber: TTableChangeEvent;
NewAddr: TRect;
Active: Boolean;
end;
TTableManager = clas... |
{$INCLUDE ..\cDefines.inc}
unit cURL;
{ }
{ URL Utilities 3.07 }
{ }
{ This unit is copyr... |
unit uInfoForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Buttons, StdCtrls, ComCtrls, ShellAPI, uFileVersion;
type
TInfoForm = class(TForm)
sBackground: TShape;
sbOk: TSpeedButton;
iLogo: TImage;
Label1: TLabel;
... |
unit uPrincipal;
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.ScrollBox, FMX.Memo, FMX.Controls.Presentation,
System.Net.HttpClient,
System.JSON, IdIOHandler, IdIOHan... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLSRedBlackTree <p>
USAGE
The TRedBlackTree generic class behaves somewhat like a TList:
it stores _Value_ by _Key_
and uses the same comparison function as TList.Sort (TListSortCompare).
Functions Clear, Add, Delete, First and... |
{*******************************************************}
{ }
{ Delphi DBX Framework }
{ }
{ Copyright(c) 1995-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit U_Temp;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, U_Multi, U_Disp, U_Protocol, U_MyFunction,
ExtCtrls, Spin;
type
TF_Temp = class(TForm)
scrlbx0: TScrollBox;
scrlbx1: TGroupBox;
btn_write_param: TButton;
scrlbx2:... |
{*********************************************************************
*
* 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... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit TestClasses;
interface
uses
Generics.Collections,
Classes;
type
TQuizPart = (qpnone, qpListening, qpWriting, qpSpeaking, qpReading);
TTest = class
private
public
Idx: integer;
Title: string;
end;
TQuizNumber = class
private
public
QuizNumber: integer;
end;
TQuiz = class(... |
unit UProperties;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics, Controls, StdCtrls, typinfo, Spin, ExtCtrls,
UFigures;
const
PenStyles: array [0..4] of TPenStyle = (psSolid, psDash, psDot, psDashDot,
psDashDotDot);
BrushStyles: array [0..7] of TBru... |
{: GLStarRecord<p>
Unit to interface with simple star records aimed for background skies.<p>
<b>History : </b><font size=-1><ul>
<li>05/07/03 - EG - Creation
</ul></font>
}
unit GLStarRecord;
interface
uses
GLVectorGeometry;
type
TGLStarRecord = packed record
RA : Word; ... |
unit ncaDMDemonstrativoDeb;
interface
uses
Forms, System.SysUtils, System.Classes, frxClass, frxDBSet, Data.DB, kbmMemTable, ncDebito,
nxdb, frxDMPExport, Windows, frxDesgn;
type
TdmDemonstrativoDeb = class(TDataModule)
mtCab: TkbmMemTable;
mtItem: TkbmMemTable;
mtItemCodigo: TStringField;
mtIt... |
{ 25/05/2007 10:26:30 (GMT+1:00) > [Akadamia] checked in }
{ 25/05/2007 10:26:12 (GMT+1:00) > [Akadamia] checked out /}
{ 14/02/2007 08:26:50 (GMT+0:00) > [Akadamia] checked in }
{ 14/02/2007 08:26:39 (GMT+0:00) > [Akadamia] checked out /}
{ 12/02/2007 10:10:28 (GMT+0:00) > [Akadamia] checked in }
{ 08/02/2007 14... |
unit IdDayTime;
{*******************************************************}
{ }
{ Indy QUOTD Client TIdDayTime }
{ }
{ Copyright (C) 2000 Winshoes WOrking Group }
{ Start... |
{
Copyright (c) 2010, Loginov Dmitry Sergeevich
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditio... |
unit uGMV_ScrollListBox;
interface
uses
StdCtrls
, Windows
, Messages;
type
// List Box without vertical scrollbar
TNoVScrolllistbox = class( Tlistbox )
private
procedure WMNCCalcSize( Var msg: TMessage );
message WM_NCCALCSIZE;
procedure WMVScroll (var Message: TWMVScroll);
message ... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Forms, ActiveX, DirectShow9;
const
WM_GRAPH_NOTIFY = WM_USER + 1;
type
EDirectShowPlayerException = class(Exception)
private
FErrorCode: HRESULT;
public
constructor Create(ErrorCode: HRESULT);
property ErrorCod... |
unit UnitStats;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Gauges, ExtCtrls, Math, AudioIO;
type
TFormStats = class(TForm)
Label1: TLabel;
TimerRefresh: TTimer;
LbZeroTime: TLabel;
Label2: TLabel;
LbTimeProgress: TLabel;
... |
unit FIToolkit.Commons.StateMachine;
interface
uses
FIToolkit.Commons.Exceptions{, FIToolkit.Commons.FiniteStateMachine.FSM};
type
EStateMachineError = class (ECustomException);
//TODO: implement {F2084 Internal Error: URW1175}
// IStateMachine<TState, TCommand> = interface (IFiniteStateMachine<TState, TCo... |
{ ******************************************************************************
___ __ ____ _ _ _ ____ __ ____ ____ ____
/ __)/ \( _ \( \/ ) / ) ( _ \ / _\ / ___)(_ _)( __)
( (__( O )) __/ ) / / / ) __// \\___ \ )( ) _)
\___)\__/(__) (__/ (_/ (__) \_/\_/(__... |
unit rMisc;
interface
uses SysUtils, Windows, Classes, Forms, Controls, ComCtrls, Grids, ORFn, ORNet,
Menus, Contnrs, StrUtils;
const
MAX_TOOLITEMS = 30;
type
TToolMenuItem = class
public
Caption: string;
Caption2: string;
Action: string;
MenuID: string;
SubMenuID: string;
MenuItem... |
unit GameLibrary_ServerAccess;
{$I RemObjects.inc}
interface
uses
{$IFDEF DELPHIXE2UP}System.SysUtils{$ELSE}SysUtils{$ENDIF},
{$IFDEF DELPHIXE2UP}System.Classes{$ELSE}Classes{$ENDIF},
uROComponent,
uROMessage,
uROBaseConnection,
uROTransportChannel,
uROBinMessage,
uROBaseHTTPClient,
... |
unit CryptChat;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, MailCrypt, ExtCtrls, StdCtrls, Graphics, Dialogs, Controls,
CryptMessage, FileUtil, Forms, Menus, ComCtrls, MainCrypt
// My controls
{$IFDEF WINDOWS}
, Windows
{$ENDIF WINDOWS} ;
type
TFiles = pointer;
type
TPageContact = record... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLProjectedTextures<p>
Implements projected textures through a GLScene object.
<b>History : </b><font size=-1><ul>
<li>10/11/12 - PW - Added CPP compatibility: changed const cBase matrix
<li>23/08/10 - Yar - Added Open... |
unit uXML;
{
================================================================================
*
* Application: CliO
* Revision: $Revision: 1 $ $Modtime: 12/20/07 12:44p $
* Developer: doma.user@domain.ext
* Site: Hines OIFO
*
* Description: Contains global XML text utilit... |
unit ncDebCredSaver;
interface
type
TncDebCredSaverData = class
public
Cliente: Integer;
Cancelado: Boolean;
Debito: Currency;
DebitoPago: Currency;
Credito: Currency;
CreditoUsado: Currency;
constructor Create;
function Igual(B: TncDebCredSaverData): Boolean;
function ... |
unit vr_timer;
{$mode delphi}{$H+}
interface
//ToD0 ? use TFPTimer(fptimer.pp) -> default NOT WINDOW
//{$IFNDEF WINDOWS}{$DEFINE LCL_TIMER}{$ENDIF}
uses {$IFDEF WINDOWS}Windows,{$ENDIF}Classes, SysUtils, vr_fpclasses, vr_SysUtils
{$IFDEF LCL_TIMER}, CustomTimer{$ENDIF};
type
{$IFDEF LCL_TIMER}
TC... |
unit Teste.Build.Adapter;
interface
uses
DUnitX.TestFramework, System.JSON, Vigilante.Infra.Build.JSONDataAdapter;
type
[TestFixture]
TBuildJSONDataAdapterTest = class
private
FJson: TJsonObject;
FBuildAdapter: IBuildJSONDataAdapter;
public
[Setup]
procedure Setup;
[TearDown]
proce... |
unit CH341PTDLL;
interface
// 2005.07.28
//****************************************
//** Copyright (C) W.ch 1999-2005 **
//** Web: http://www.winchiphead.com **
//****************************************
//** DLL for USB interface chip CH341 **
//** C, VC5.0 **
//********... |
unit u_xpl_settings;
{==============================================================================
UnitDesc = xPL Registry and Global Settings management unit
UnitCopyright = GPL by Clinique / xPL Project
==============================================================================
0.97 : Application... |
unit uParserBase;
interface
uses classes, Generics.Collections, uIntfaceFull;
type
TParserBase = class(TObject)
private
protected
//class var FMaxId: Int64;
FList: TList;
FMapProp: TDictionary<String, String>;
FMapColumn: TDictionary<String, String>;
FColumns: TStrings;
FFormName: stri... |
unit Amazon.Client;
interface
uses Amazon.Interfaces,
{$IFNDEF FPC}
System.SysUtils,
{$ELSE}
SysUtils,
{$ENDIF}
Amazon.Credentials,
Amazon.Utils, Amazon.Response, //System.Rtti,
Amazon.Request, Amazon.SignatureV4;
type
TAmazonClient = class(TInterfacedObject, IAmazonClient)
protected
FAmazonRESTCli... |
namespace RemObjects.Elements.System;
interface
type
LCMapStringTransformMode = assembly enum (None, Upper, Lower);
String = public class(Object)
assembly {$HIDE H6}
fLength: Integer;
fFirstChar: Char;{$SHOW H6}
method get_Item(i: Integer): Char;
constructor; empty; // not callable
method ... |
{ **************************************************************
Package: XWB - Kernel RPCBroker
Date Created: Sept 18, 1997 (Version 1.1)
Site Name: Oakland, OI Field Office, Dept of Veteran Affairs
Developers: Danila Manapsal, Don Craven, Joel Ivey
Description: Contains TRPCBroker and related components.
Unit:... |
unit sanPersistence;
{
Abstract persistent object classes
v. 0.01
(c) 2002 Andrey V. Sorokin
St-Petersburg, Russia
anso@mail.ru, anso@paycash.ru
http://anso.virtualave.net
}
interface
type
TsanOID = integer;
TsanClassID = byte;
TsanObject = class;
isanObject = interface;
TsanObjectStorage = class
p... |
unit Utils;
interface
uses
System.Types;
type
IStrArrayIterator = interface
['{BDDEE013-5FD0-4049-8F96-23F3FAA2F175}']
function Next(var Line: string): Boolean;
end;
function BuildStrArrayIteratorNonEmptyLines(Arr: TStringDynArray): IStrArrayIterator;
procedure SaveStrToFile(const FilePath, Content: ... |
unit uStackForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Grids, Menus, uResourceStrings, uProcessor, uView,
Buttons, StdCtrls, uEditForm, Registry, uMisc;
type
TStackPointerUpdateRequestEvent = procedure(Value: Byte) of object;
... |
unit uZipUtils;
interface
uses
Windows, Classes, Messages, SysUtils, JclCompression;
function ExtractZip(aZip, aDir:string; const progressEvt: TJclCompressionProgressEvent=nil):boolean;
function ExtractZipPath (aZip:string):string;
implementation
uses
uCommonProc, uPrintException;
function Extract... |
unit UnPetiscoDashboardView;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, JvExExtCtrls, JvExtComponent, JvPanel, ExtCtrls, ToolWin, JvExForms,
JvScrollPanel, DateUtils, JvExControls, JvButton, JvTransparentButton, Grids,
DBGrids, JvExDBGrids, JvDBGrid, JvD... |
Unit WlanBssEntry;
Interface
Uses
Windows, WlanNetwork, WlanAPI;
Type
TWlanBssEntry = Class
Private
FSSID : WideString;
FMacAddress : DOT11_MAC_ADDRESS;
FBssType : TWlanNetworkBssType;
FLinkQuality : ULONG;
FFrequency : ULONG;
Public
Class Function NewInstance(ARecord:... |
unit NtUtils.Objects.Security;
interface
uses
Winapi.WinNt, NtUtils.Exceptions, NtUtils.Security.Acl, NtUtils.Security.Sid;
type
TAce = NtUtils.Security.Acl.TAce;
IAcl = NtUtils.Security.Acl.IAcl;
TAcl = NtUtils.Security.Acl.TAcl;
ISid = NtUtils.Security.Sid.ISid;
{ Query security }
// Query security d... |
unit dao;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, model, sqldb, sqlite3conn, IBConnection;
type
TDAO = class
public
constructor Create(ConnParams: String);
destructor CleanUp();
function FindUser(Nickname: String): PUser;
private
AConnection : TSQLite3Connection;
end;
{$I s... |
unit Vigilante.Controller.Base;
interface
uses
Module.ValueObject.URL;
type
IBaseController = interface(IInterface)
['{1298B18E-98D1-42C8-A613-3CB39BF0D30C}']
procedure AdicionarNovaURL(const AURL: IURL);
procedure VisualizadoPeloUsuario(const AID: TGUID);
procedure BuscarAtualizacoes;
functi... |
unit Ownership;
interface
uses
System.SysUtils, System.SyncObjs, System.Rtti, System.TypInfo;
type
IRcContainer<T> = Interface
function Unwrap : T;
function Move : T;
End;
TRcDeleter = reference to procedure(Data : Pointer);
//TRcDeleter<T> = procedure(data : T)にすると内部エラーが出るので致し方なし
TRcContainer<... |
unit PascalCoin.RPC.Client;
interface
uses System.JSON, PascalCoin.RPC.Interfaces, PascalCoin.Utils.Interfaces;
type
TPascalCoinRPCClient = Class(TInterfacedObject, IPascalCoinRPCClient)
private
FNodeURI: string;
FHTTPClient: IRPCHTTPRequest;
FResultStr: String;
FResultObj: TJSONObject;
FEr... |
unit f12_statistik;
interface
uses
user_handler,
buku_handler;
{ DEKLARASI FUNGSI DAN PROSEDUR }
procedure getStatistik(data_user: tabel_user; data_buku: tabel_buku);
{ IMPLEMENTASI FUNGSI DAN PROSEDUR }
implementation
procedure getStatistik(data_user: tabel_user; data_buku: tabel_buku);
{ DESKRIPSI : Me... |
//
// Created by the DataSnap proxy generator.
//
unit UDBAccess;
interface
uses DBXCommon, DBXJSON, Classes, SysUtils, DB, SqlExpr, DBXDBReaders,
DBClient, Variants;
type
TDBAccess = class(TComponent)
private
FConnection: TDBXConnection;
FInstanceOwner: Boolean;
FErrorCode: stri... |
function WordNumberCase(Number: Integer; IfOne, IfTwo, IfFive: String; AddNumber: Boolean = False): String;
var
Num, m: Integer;
begin
Num := Number;
If Number < 0 then
Num := -Number;
m := Num mod 10;
Case m of
1: Result:=IfOne;
2..4: Result:=IfTwo;
Else
Result:=IfFive;
En... |
unit Unit5;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs,Grids,StdCtrls, Types;
type
{ TForm5 }
TForm5 = class(TForm)
Button1:TButton;
StringGrid1:TStringGrid;
procedure Button1Click(Sender:TObject);
procedure FormCreate(Sender:TObject);
p... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLMeshLines<p>
Line implementation by means of a Triangle strip.<p>
<b>History : </b><font size=-1><ul>
<li>05/14/07 - PVD - initial unit proposal (thanks Lord CRC for help)
}
unit GLMeshLines;
interface
uses
Syste... |
// 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-... |
unit MainCrypt;
{$mode objfpc}{$H+}
interface
uses
Classes, Controls, CustomCrypt,
Dialogs, ExtCtrls, FileUtil, Forms, Graphics,
md5, Menus, SQLiteWrap, SysUtils;
const
// Названия столбцов таблиц
SQL_COL_ID_USER = 'ID_USER';
SQL_COL_ID_FRIEND = 'ID_FRIEND';
SQL_COL_AUTH = 'AUTH';
SQL_COL_UUID = 'U... |
{
Copyright (c) 2005-2006, Loginov Dmitry Sergeevich
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of con... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 2011 Embarcadero Technologies, Inc. }
{ ... |
unit ejb_sidl_javax_ejb_impl;
{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... |
unit caHTMLParser;
{$INCLUDE ca.inc}
interface
uses
// Standard Delphi units
Windows,
SysUtils,
Classes,
// ca units
caClasses,
caUtils;
type
TcaOnHTMLTagEvent = procedure(Sender: TObject; const ATag: string; AParams: Tstrings) of Object;
TcaOnHTMLTextEvent = procedure(Sender: TObject; const A... |
unit uAppSettings;
interface
type
TmyVKApp = record
class function ID: string; static;
class function Key: string; static;
class function OAuthURL: string; static;
class function RedirectURL: string; static;
class function BaseURL: string; static;
class function Scope: string; static;
cl... |
unit AConhecimentoTransporte;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, formularios,
StdCtrls, Componentes1, Localizacao, ComCtrls, Buttons, ExtCtrls,
PainelGradiente, Grids, DBGrids, Tabela, DBKeyViolation, DB, DBClient, UnNotasFiscaisFor;
type
TFConh... |
unit URepositorioAgente;
interface
uses
UAgente
, UEntidade
, URepositorioDB
, SqlExpr
;
type
TRepositorioAgente = class(TRepositorioDB<TAGENTE>)
private
public
constructor Create;
//destructor Destroy; override;
procedure AtribuiDBParaEntidade(const coAGENTE: TAGENTE); override;
... |
// auteur : Djebien Tarik
// date : Janvier 2010
// objet : Compter les opérations dans un algorithme
(* Question 4 *)
PROGRAM TP1_partie2;
uses U_Tableaux,
U_Element;
// Nombre de test pour une taille fixée
const Nb_Test=10;
var tab : TABLEAU;
m : ELEMENT;
nb_comp,
nbc_max,
nbc_min,
taille,i: CA... |
// 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-... |
{ Copyright (C) 1998-2018, written by Mike Shkolnik, Scalabium Software
E-Mail: mshkolnik@scalabium.com
WEB: http://www.scalabium.com
In this unit I described the visual dialog for Dataset's Filter/Where clause property editing.
}
unit SMDBFltr;
interface
{$I SMVersion.inc}
uses
Windows, Messa... |
{******************************************}
{ TDBChart Component }
{ Copyright (c) 1995-2004 by David Berneda }
{ All rights Reserved }
{******************************************}
unit DBChart;
{$I TeeDefs.inc}
interface
uses
{$IFNDEF LINUX}
Windows, Messages,
{$ENDI... |
unit HexToInt_1;
interface
implementation
function TryHexToInt64(const Hex: string; out Value: Int64): Boolean;
function Multiplier(Position: Int32): Int64; inline;
var
I: Int32;
begin
Result := 1;
for I := 1 to Position do
Result := 16 * Result;
end;
var
A, B, I: Int32;
M: Int64;
begin... |
unit int_32_1;
interface
uses System;
var
G1, G2: Int32;
implementation
procedure Test;
begin
G1 := MinInt32;
G2 := MaxInt32;
end;
initialization
Test();
finalization
Assert(G1 = MinInt32);
Assert(G2 = MaxInt32);
end. |
unit ncClassesBase;
{
ResourceString: Dario 12/03/13
}
interface
{$I NEX.INC}
uses
cxFormats,
Classes,
CacheProp,
ClasseCS,
SysUtils,
Messages,
Windows,
Dialogs,
DB,
uFaixaInteger,
uLicEXECryptor,
ncMsgCom,
SyncObjs,
Variants,
uThreadStringList,
ncErros,
uNexTransResourceString... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.