text stringlengths 14 6.51M |
|---|
unit Class_KeyValue;
//主键检测.
//kvctPALL:1.必须全部不为空.
//kvctPONE:2.至少一项不为空.
//过滤检测.
//kvctFONE:1.有一项为空.则过滤.
interface
uses
Classes,SysUtils,Uni,UniEngine;
type
TKeyValueCheckType=(kvctPALL,kvctPONE,kvctFONE);
TKeyValue=class(TUniEngine)
private
FGKJGFLID: Integer;
FK... |
//
// Generated by JavaToPas v1.5 20171018 - 171159
////////////////////////////////////////////////////////////////////////////////
unit java.util.Objects;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
java.util.function.Supplier;
type
JObjects = interface;
JObjectsClass = interface(JObj... |
{@author: Lara Carrión}
program ppt;
USES crt;
TYPE
tSeleccion = (Piedra, Papel, Tijeras);
tResultado= (GanaMaquina, GanaHumano, Empate);
rangoEnteros= 1..3;
VAR
cEmpate, cMaquina, cUser, contador: integer;
r... |
{************************************************}
{* *}
{* AIMP Programming Interface *}
{* v4.50 build 2000 *}
{* *}
{* Artem Izmaylov *}
{* ... |
Program escultores;
uses Windows;
// AMBIENTE
const
numerosChar = ['0'..'9']; // del 0 al 9.
a_dir = './escultores-secuencia.txt';
var
a_sec : File of Char;
v_sec : Char;
continente, nombre, anioChar : ShortString;
eleccion_usuario : Char;
total_escultores, anioInt, total_incorrectos : Integer;
porcent... |
program SortingAlgo;
uses wincrt;
type
TAB = array [0..50] of integer; {define the list}
var
T : TAB;
n, i: integer;
procedure fill(var T:TAB; n:integer);
{procedure to fill the list}
begin
for i:=1 to n do
begin
write('T[',i,'] = ');
readln(T[i]);
... |
unit UFrmNoteEditorConfig;
interface
uses Vcl.Forms, Vcl.Dialogs, Vcl.Controls, Vcl.StdCtrls, Vcl.ExtCtrls,
Vcl.Buttons, System.Classes;
type
TFrmNoteEditorConfig = class(TForm)
BtnOK: TButton;
BtnCancel: TButton;
FD: TFontDialog;
RzLabel1: TLabel;
AlteraFonte: TSpeedButton;
... |
{ ****************************************************************************** }
{ * Generic hash Library * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
{ ****************************************************************************** }
{ * fast File query in Package * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
unit uMainDM;
interface
uses
SysUtils, Classes, DB, WideStrings, Forms, FireDAC.Phys.IB, 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.Comp.Client, FireDAC.DBX.Migrate, Fire... |
unit SDFilesystemCtrls;
interface
uses
ComCtrls, Classes, Contnrs, Controls, Windows,
Menus,
SysUtils,
SDUGeneral,
SDUComCtrls,
SDFilesystem;
type
{$M+} // Required to get rid of compiler warning "W1055 PUBLISHED caused RTTI ($M+) to be added to type '%s'"
TFilesystemListViewColumn = (... |
{==============================================================================
Copyright (C) combit GmbH
-------------------------------------------------------------------------------
File : picfm.pas, picfm.dfm, picture.dpr
Module : picture box sample
Descr. : D: Dieses Beispiel demonstriert die Übergabe vo... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
{
PureMVC Delphi Port by Jorge L. Cangas <jorge.cangas@puremvc.org>
PureMVC - Copyright(c) 2006-11 Futurescale, Inc., Some rights reserved.
Your reuse is governed by the Creative Commons Attribution 3.0 License
}
unit PureMVC.Interfaces.IProxy;
interface
uses RTTI;
type
/// <summary>
/// The in... |
program console;
{$mode objfpc}{$H+}
uses {$IFDEF UNIX} {$IFDEF UseCThreads}
cthreads, {$ENDIF} {$ENDIF}
Classes,
SysUtils,
CustApp, { you can add units after this }
StrUtils, DateUtils;
type
THrecord = Record
Stunde : integer;
Anzahl : integer;
downloadrate : double;
end;
THrecordListe = ... |
unit uDb;
interface //
uses ulang ,uparser,SysUtils;
type
TLispDb = class(TLispPackageBase)
private
function ldbQuery(lispNodes : TLispList) : TlispNode ;
function ldbUpdate(lispNodes : TLispList) : TlispNode ;
function dbupdate(aDsn ,aSql : string ;password:string ='';username:string =''):... |
unit OTFEUnified_U;
// Description: Delphi Unified OTFE Component
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Contr... |
unit RegExUtils;
interface
uses RegularExpressions, RegularExpressionsCore, Generics.Collections;
const
//Standard unicode zones - names not supported by PCRE
pHiragana = '\x{3040}-\x{309F}';
pKatakana = '\x{30A0}-\x{30FF}';
pCJKUnifiedIdeographs = '\x{4E00}-\x{9FFF}';
pCJKUnifiedIdeographsExtA = '... |
unit GLForceFields;
interface
uses
System.Classes,
GLVectorGeometry,
GLXCollection,
GLScene,
GLCoordinates,
GLBehaviours,
GLInertias,
GLPhysics
{ GLRigidBodyInertia};
type
TGLUniformGravityEmitter = class(TGLBaseForceFieldEmitter)
private
fGravity:TGLCoordinates;
protected
... |
program UpperCaseConvert;
uses
SysUtils;
var
InputString: String;
begin
Write('Enter a string: ');
Readln(InputString);
Writeln(UpperCase(InputString));
Readln
end.
|
unit ImageRGBIntData;
interface
uses Windows, Graphics, BasicDataTypes, Abstract2DImageData, RGBIntDataSet, dglOpenGL;
type
T2DImageRGBIntData = class (TAbstract2DImageData)
private
FDefaultColor: TPixelRGBIntData;
// Gets
function GetData(_x, _y, _c: integer):integer;
... |
{-----------------------------------------------------------------------------
Unit Name: D2DSVGHandler
Author: PyScripter
Purpose: High-level encapsuation of Direct2D Svg functionality
History:
-----------------------------------------------------------------------------}
unit PasSVGFactory;
interface
Uses
... |
unit pasmysql;
{$IFDEF FPC}
{$MODE Delphi}
{$H+}
{$ELSE}
{$IFNDEF LINUX}
{$DEFINE WIN32}
{$ENDIF}
{$ENDIF}
interface
uses
{$IFDEF WIN32}
Windows,
{$ENDIF}
Classes, SysUtils,
libmysql,
passql,
sqlsupport;
//This library is compliant with arbitrary
//ver... |
unit uDM;
interface
uses
{Windows,} Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Db, DBTables, WinTypes, WinProcs, Grids, DBGrids, IBCustomDataSet,
jvProgressDlg, IBQuery, IBDatabase, uGTSUICommonDlg;
type
TDBType = (dbtPOS, dbtStore);
type
TDM = class(TForm)
dbPOS: TIBDatabase;
... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvMemo, Vcl.StdCtrls;
const
DEMO_TITLE = 'FNC Core Utils - URL encoding/decoding';
DEMO_BUTTON = 'Execute';
type
TFrmMain = class(TForm)
... |
unit uQueryInventory;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
PAIDETODOS, Grids, DBGrids, DBCtrls, StdCtrls, Mask,
LblEffct, ExtCtrls, DBTables, DB, Buttons, ComCtrls, ADODB, SuperComboADO, siComp,
siLangRT, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,... |
//------------------------------------------------------------------------------
//BufferIO UNIT
//------------------------------------------------------------------------------
// What it does-
// Unit contains all incoming and outgoing packet proce... |
unit PublishSubscribe;
interface
uses
System.SysUtils, System.Generics.Collections, System.SyncObjs;
type
TPubSub = class
public type
TCallback = TProc<integer>;
TLockingScheme = (lockNone, lockCS, lockMonitor, lockMREW, lockLightweightMREW);
strict private
FLockCS: TCriticalSection;
FLockMRE... |
{==============================================================================|
| Project : Delphi HTML/XHTML parser module | 1.1.2 |
|==============================================================================|
| Content: ... |
program dosidcli;
{$APPTYPE CONSOLE}
uses
windows, Classes, SysUtils;
const
AGROW_ALLOC = 256;
ADEFAULT_SIZE = 1024;
type
tfile = record
sf:string; //filename
parent:string; //parent file if is inside a packed file
hit:boolean;
size:cardinal;
container:string; //container type if inside ... |
unit uFrmConexao;
interface
uses
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.FB,
FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Com... |
unit ufrmDialogCompany;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterDialog, System.Actions,
Vcl.ActnList, ufraFooterDialog3Button, Vcl.ExtCtrls, uInterface, uModCompany,
Vcl.StdCtrls;
type
Tf... |
unit uEnviarMail;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Buttons, StdCtrls,
XMailer, uDAOSolicitar ;
type
{ TFormEmail }
TFormEmail = class(TForm)
edtMail: TEdit;
Label1: TLabel;
SpeedButton1: TSpeedButton;
SpeedButtonEnviar: TSpeedButton... |
unit MsgPick;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buttons, StdCtrls, ExtCtrls;
type
TMsgPicker = class(TForm)
Panel1: TPanel;
MsgList: TListBox;
BNOK: TButton;
BNCancel: TButton;
SBHelp: TSpeedButton;
LBDetails: TLabel;
BNFind: TB... |
unit ibSHDataBlobFrm;
interface
uses
SHDesignIntf, ibSHDriverIntf, ibSHDesignIntf, ibSHDataCustomFrm, ibSHConsts,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, ExtCtrls, StdCtrls, ComCtrls, DBCtrls, ToolWin,
VirtualTrees, ImgList, DB, SynEdit, pSHSynEdit, p... |
unit SqliteConnection;
interface
uses classes, DatabaseConnection;
type
// SQLite database connection
TSqliteConnection = class(TDatabaseConnection)
public
// Creates a new instance with default database name
constructor Create(AOwner: TComponent); reintroduce; overload;
// Creates a new i... |
(*
Desciption: Input score and then rate it. Excellent: 9, 10. Good: 7, 8. Average: 5, 6. Bad: 4. Useless: 0, 1, 2, 3
Programmer: Loc Pham
Date: 22/11/2016
Version: v1.0
*)
(* Program name *)
program HomeWork5;
(* Unit's inclusion *)
uses crt;
(* Variable's declration *)
var score : integer;
(* Fun... |
program Main_blending;
uses
UBlending; // Имя модуля,содержащего описание расчетов
const
flow_count = 6;
comp_count = 64;
var
comp_RON: TArrOfDouble;
flow_composition: TArrOfArrOfDouble;
mix_composition: TArrOfDouble;
RONc: double;
treb_RON: double;
i: integer;
procedure get_data(var RON:TArrO... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls;
type
TForm1 = class(TForm)
btnConvertToJson: TButton;
edtNome: TLabeledEdit;
edtIdade: TLabeledEdit;
ed... |
unit emr_Compiler;
interface
uses
System.Classes, System.SysUtils, HCCompiler, PaxRegister, HCEmrElementItem,
emr_Common;
type
TEmrCompiler = class(THCCompiler)
private
TDePropTypeID, TDeItemTypeID, TPatientInfoTypeID, TRecordInfoTypeID: Integer;
public
constructor CreateByScriptType(A... |
{ a helper function: quicksort in descending order }
procedure quicksort_descending(N : longint; var a : array of longint);
procedure sort(l,r: longint);
var i,j,x,y: longint;
begin
i:=l; j:=r; x:=a[(l+r) div 2];
repeat
while a[i]>x do inc(i);
while x>a[j] do dec(j);
if... |
unit ExecOnTime;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, ExtCtrls;
type
TExecOnTime = class(TComponent)
private
CheckTimer : TTimer;
FDayTimeHour : word;
FDayTimeMinute : word;
FOnDayTimeExecute : TNotifyEvent;
FActive : boolean;
_Interva... |
{*****************************************************}
{ CRUD orientado a objetos, com banco de dados Oracle }
{ Reinaldo Silveira - reinaldopsilveira@gmail.com }
{ set/2019 }
{*****************************************************}
unit U_BaseCadastro;
interface
uses
... |
unit uGenericSubtitleFile;
{ base generic class for a text based subtitle file. has some abstract methods
for descendant classes. look at uSubripFile for example.
Copyright (C) 2017 Mohammadreza Bahrami m.audio91@gmail.com
This library is free software; you can redistribute it and/or modify it
under the terms... |
//~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
//
// Unidad: Buscador.pas
//
// Propósito:
// Se implementa un componente no visual (heredado de TComponent) que realiza una serie de
// búsquedas simultaneas utilizando programación multi-hilo.
// El compo... |
namespace RemObjects.Elements.EUnit;
interface
type
BaseException = public class({$IF NOUGAT}Foundation.NSException{$ELSE}Exception{$ENDIF})
public
constructor (aMessage: String);
{$IF NOUGAT}
property Message: String read reason;
{$ENDIF}
end;
implementation
constructor BaseExce... |
unit udmNFe;
interface
uses
SysUtils, Classes, ACBrNFeDANFEClass, ACBrNFeDANFERave, ACBrNFe, ACBrNFeNotasFiscais, pcnNFE, pcnConversao,
Dialogs;
const
NFE_RESULT_LOT_SUCESSO = 103;
NFE_RESULT_DUPLICIDADE = 204;
NFE_RESULT_SUCESSO = 106;
NFE_TEMP_FILE = 'C:\temp.xml';
type
TdmNFe = class(... |
unit uSprQuery;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ADODB, StdCtrls, Grids, DBGrids, StrUtils, ImgList, uSprFilter,
uSprJoin, Math, Buttons, uSprOrder;
type
TsprDateFormat = (dfDate, dfMonth);
TsprQuery = class;
TEnabledMethod = functio... |
unit PromoDAO;
interface
uses
ADODb, PromoDTO, db, SysUtils, Classes, contnrs, variants, DateUtils, dialogs, CouponCls;
type
TPromoDAO = class
private
fConnection: TADOConnection;
stores: TObjectList;
function convertPercentRewardValue(arg_amountType: String; arg_value: double): double;
functio... |
(*
* FPG EDIT : Edit FPG file from DIV2, FENIX and CDIV
*
*
* 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... |
{
publish with BSD Licence.
Copyright (c) Terry Lao
}
unit helpfun;
{$MODE Delphi}
interface
uses iLBC_define,constants,C2Delphi_header;
{----------------------------------------------------------------*
* calculation of auto correlation
*---------------------------------------------------------------... |
unit TpImage;
interface
uses
Windows, Classes, Controls, StdCtrls, ExtCtrls, Graphics, Messages, SysUtils,
Types,
ThTag, ThImage, ThAnchor,
TpControls, TpAnchor;
type
TTpCustomImage = class(TThCustomImage)
private
FOnGenerate: TTpEvent;
FUseAbsoluteUrl: Boolean;
protected
function GetI... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmTaskBar
Purpose : To allow window control from a central location. Also has support
in it to fix the M$ MDI window bugs.
Date : 12-01-1998
Author : Ryan J. M... |
unit Test.Core.ObjectMapping.Order;
interface
{$M+}
uses
System.SysUtils,
DUnitX.TestFramework,
Test.Order.Classes,
Nathan.ObjectMapping.Core,
Nathan.ObjectMapping.Config;
type
[TestFixture]
TTestObjectMapping = class
private
FCut: INathanObjectMappingCore<TOrder, TOrderDTO>;
function GetCo... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clUriUtils;
interface
{$I clVer.inc}
{$IFDEF DELPHI6}
{$WARN SYMBOL_PLATFORM OFF}
{$ENDIF}
uses
clWinInet;
type
TclUrlType = (utUnknown, utFTP, utGOPHER, utHTTP, utHTTPS, utFILE, utNEWS, utMA... |
unit UnitFormCDMapper;
interface
uses
Winapi.Windows,
System.SysUtils,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.ComCtrls,
Vcl.ExtCtrls,
Vcl.Imaging.pngimage,
Vcl.PlatformDefaultStyleActnCtrls,
Vcl.ActnPopup,
Vcl.ImgList,
Vcl.Menus,
Data.... |
namespace proholz.xsdparser;
interface
type
XsdAttributeVisitor = public class(XsdAnnotatedElementsVisitor)
private
// *
// * The {@link XsdAttribute} instance which owns this {@link XsdAttributeVisitor} instance. This way this visitor
// * instance can perform changes in the {@link XsdAttribute} ob... |
unit Unit1;
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;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4:... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit UStore;
interface
type
TStore = class
private
name: string;
address: string;
end;
implementation
end.
|
unit GdiPlusHelpers;
{$IFDEF FPC}{$MODE DelphiUnicode}{$ENDIF}
{ Delphi GDI+ Library for use with Delphi 2009 or later.
Copyright (C) 2009 by Erik van Bilsen.
Email: erik@bilsen.com
Website: www.bilsen.com/gdiplus
License in plain English:
1. I don't promise that this software works. (But if you find any bugs... |
unit uNotepad;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Menus;
type
TfmMain = class(TForm)
MainMenu: TMainMenu;
N1: TMenuItem;
miNewFile: TMenuItem;
miOpenFile: TMenuItem;
miSaveFile: TMenuItem;
N5: TMenuItem;
miSav... |
unit uPctMicrochipFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentModalForm, XiButton, ExtCtrls, cxStyles, cxCustomData,
cxGraphics, cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel,
cxClasses, cxControls, cxGridCustomView, cxGridCustomTableVie... |
unit Memory;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, XDebugFile, XDebugItem, ComCtrls, XDebugMemory, stringhash;
type
TMemoryForm = class(TForm)
lvMemory: TListView;
procedure lvMemoryCompare(Sender: TObject; Item1, Item2: TListItem;
... |
{*******************************************************************************
Title: T2Ti ERP
Description: Controller do lado Cliente relacionado à tabela [VENDA_CABECALHO]
... |
unit MVVM.Messages.Engine.Interfaces;
interface
uses
System.Generics.Defaults,
Spring,
MVVM.Types,
MVVM.Interfaces;
type
{$REGION 'IMessage'}
IMessage = interface(IObject)
['{8C6AE8E2-B18D-41B4-AAED-88CF3B110F1D}']
function GetCreationDateTime: TDateTime;
function GetSender: TObject;
pr... |
unit ThSpacer;
interface
uses
Windows, SysUtils, Types, Classes, Controls, Graphics,
ThTag, ThWebControl;
type
TThSpacer = class(TThWebGraphicControl)
private
FShowHash: Boolean;
procedure SetShowHash(const Value: Boolean);
protected
procedure Paint; override;
public
constructor Create(... |
// ##################################
// ###### IT PAT 2018 #######
// ###### GrowCery #######
// ###### Tiaan van der Riel #######
// ##################################
unit frmTransactions_u;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
unit uAssociativeArray;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
PAssocArrayItem = ^TAssocArrayItem;
TAssocArrayItem = packed record
Name : AnsiString;
Value: Variant;
Next : PAssocArrayItem;
end;
{ TAssociativeArray }
TAssociativeArray = class
private
ffirst : P... |
unit ModflowCfpFixedUnit;
interface
uses Classes, RbwParser, GoPhastTypes, ModflowBoundaryUnit, SubscriptionUnit,
FormulaManagerUnit, Contnrs, SysUtils;
type
// @name is used to control data set 27 in the CFP process via the
// @link(TDataArray) "CfpFixedHeads."
TCfpFixedBoundary = class(TModflowSteadyBound... |
namespace com.example.android.wiktionary;
{*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.... |
unit ibSHDBObjectActions;
interface
uses
SysUtils, Classes, Controls, StrUtils, DesignIntf, TypInfo, Dialogs, Menus,
SHDesignIntf, ibSHDesignIntf;
type
TibSHDDLObjectPaletteAction = class(TSHAction)
private
function GetClassIID: TGUID;
public
constructor Create(AOwner: TComponent); ove... |
namespace RemObjects.Elements.Linq;
interface
uses
java.util;
type
Predicate<T> = public delegate (aItem: T): Boolean;
&Selector<T, R> = public delegate (aItem: T): R;
Comparer<T> = public delegate(aItem1, aItem2: T): Integer;
ForSelector<T> = public delegate(aIndex: Integer): T;
extension met... |
unit LessOpTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntXLibTypes,
uIntX;
type
{ TTestLessOp }
TTestLessOp = class(TTestCase)
published
procedure Simple();
procedure SimpleFail();
procedure Big();
procedure BigFail();
procedure EqualValues();
proc... |
PROGRAM storygen;
USES
Crt, sysutils; (* sysutils for filesexits *)
CONST
EF = CHR(0); (*END of file character*)
maxWordLen = 30; (*max. number of characters per word*)
chars = ['a' .. 'z', 'ä', 'ö', 'ü', 'ß',
'A' .. 'Z', 'Ä', 'Ö', 'Ü'];
size = 100;
TYPE
Word = S... |
unit LookAt;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, aiOGL;
type
TLookAtForm = class(TForm)
Panel1: TPanel;
OKBtn: TBitBtn;
ApplyBtn: TButton;
EyeBox: TGroupBox;
Label3: TLabel;
Label1: TLabel;
... |
unit IsoSurfaceFile;
interface
uses Voxel;
type
CIsosurfaceFile = class
public
// I/O
procedure SaveToFile(const _Filename: string; const _Voxel: TVoxelSection);
end;
implementation
uses VoxelMap, BasicConstants, SysUtils, Dialogs, BasicDataTypes;
// http://www.matmi... |
unit uImageLoader;
interface
uses
System.SysUtils,
System.Classes,
System.DateUtils,
System.Math,
Winapi.Windows,
Vcl.Graphics,
Vcl.Imaging.PngImage,
CCR.Exif,
CCR.Exif.XMPUtils,
Dmitry.Utils.System,
GraphicEx,
GraphicCrypt,
UnitDBDeclare,
uTiffImage,
uConstant... |
unit FmImInfo;
interface
uses WinProcs, WinTypes, SysUtils, Classes, Graphics, Forms, Controls,
StdCtrls, Buttons, ExtCtrls, Spin,
GifUnit, FmSubImg;
type
TGifImageInfoDialog = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
V87a: TRadioButton;
V89a: TRadioButton;
Grou... |
unit HS4Bind.Get;
interface
uses
System.Net.URLClient,
System.Net.HttpClient,
System.Net.HttpClientComponent,
IdBaseComponent,
IdComponent,
IdTCPConnection,
IdTCPClient,
IdHTTP,
Vcl.ExtCtrls,
Vcl.Imaging.jpeg,
Vcl.Graphics,
HS4Bind.Interfaces;
type
THS4bindGet = class(TInterfacedObject, iHS... |
unit UnitViewerCommon.FMX;
// ------------------------------------------------------------------------------
//
// SVG Control 2.0
// Copyright (c) 2015 Bruno Verhue
//
// ------------------------------------------------------------------------------
// [The... |
unit AST.Parser.Messages;
interface
{$I compilers.inc}
uses SysUtils, Generics.Collections, AST.Lexer;
type
IUnit = interface
['{80A26C85-754B-4D35-BFA4-5FFFBA78322B}']
end;
TCompilerMessageType = (cmtHint, cmtWarning, cmtError, cmtInteranlError);
{ TCompilerMessage }
TCompilerMessage = record
... |
(* ABSBUFF.PAS - Copyright (c) 1995-1996, Eminent Domain Software *)
unit AbsBuff;
{-Abstract buffer manager for EDSSpell component}
{-also includes native Delphi CustomEdit buffer manager}
interface
uses
Classes, Controls, Graphics, SysUtils, Forms, Dialogs, StdCtrls,
WinProcs, WinTypes,
{$IFDEF Win32}
{$IF... |
unit uModJurnal;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls, Forms, Dialogs,
uModApp, uModCostCenter, uModUnit, uModRekening, System.Generics.Collections;
type
TModJurnalItem = class;
TModJurnal = class(TModApp)
private
FJUR_CREDIT: Double;
FJUR_DATE: TDatetime;
FJU... |
unit Classes.Player;
interface
uses
Interfaces.Player,
Vcl.ExtCtrls,
System.Classes,
System.Types,
Vcl.Imaging.pngimage,
Vcl.Controls;
type
TPlayer = class(TInterfacedObject, IPlayer)
strict private
var
FPosition: TPoint;
FImage: TImage;
FOwner: TGridPanel;
FDirection: TPlayerDirect... |
uses UConst, UGeneticAlgorythm;
function read_txt(filename: string): array of array of real;
begin
foreach var (i, line) in ReadLines(filename).Numerate() do
begin
SetLength(result, i);
result[i-1] := line.ToReals();
end
end;
function mixing(ratio: array of real;
flows_compositio... |
unit uEditInLang;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,AArray, cxTextEdit, cxMaskEdit, cxButtonEdit, cxControls,
cxContainer, cxEdit, cxLabel, cxLookAndFeelPainters, StdCtrls, cxButtons,
ActnList;
type
TFormEditInLang = class(TForm)
cxLabelIN... |
(*
Version : (292 - 293)
Date : 06.06.2011
Author : Antonio Marcos Fernandes de Souza (amfsouza)
Issue : avoid decrease when parameter ( new parameter ) is set to true.
Solution: set up correct mask to display format properfield object.
Version : (293 - 294)
-------------------------------------------------------... |
unit InflatablesList_Data;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
Graphics,
InflatablesList_Types;
type
TILItemManufacturerInfo = record
Str: String;
Tag: String;
LogoResName: String;
Logo: TBitmap; // 256 x 96 px, white background, loaded from resou... |
unit LangUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, comctrls, grids,
FIBDatabase, pFIBDatabase;
type
TLanguage = class(TComponent)
private
LangFile : TStringList;
LangHeader : array [32..255] of integer;
function GetNewString(oldStr : string): ... |
unit BVE.XMLTreeView.FMX;
// ------------------------------------------------------------------------------
//
// SVG Control 2.0
// Copyright (c) 2015 Bruno Verhue
//
// ------------------------------------------------------------------------------
// [The "BSD licence"]
//
// Copyright (c) 2013 Bruno Verhue
// All ... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
(*
* DGL(The Delphi Generic Library)
*
* 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 ab... |
unit iStart;
{$mode objfpc}{$H+}
interface
uses
rtti_broker_iBroker, rtti_idebinder_iBindings, Controls, Forms;
type
{ IAppFactory }
IAppFactory = interface
['{F73EFD7D-6F3F-4ED9-BFE2-F02DF1690E87}']
function CreateObject(const AClass: string): TObject;
function FindClass(const AClass: String): TC... |
unit Pospolite.View.CSS.UserAgentStyleSheet;
{
+-------------------------+
| Package: Pospolite View |
| Author: Matek0611 |
| Email: matiowo@wp.pl |
| Version: 1.0p |
+-------------------------+
Comments:
...
}
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
const CPLUs... |
unit TestDolar;
interface
uses
DUnitX.TestFramework, uFact;
type
[TestFixture]
TestTDolar = class(TObject)
strict private
uDolar: TFact;
MaiorZero: Boolean;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
procedure TestesDolar();
end;
implementation
... |
unit OpenCV.Lib;
interface
const
CV_VERSION_EPOCH = '2';
CV_VERSION_MAJOR = '2';
CV_VERSION_MINOR = '0';
CV_VERSION_REVISION = '0';
CV_VERSION = CV_VERSION_EPOCH + '.' + CV_VERSION_MAJOR + '.' + CV_VERSION_MINOR + '.' + CV_VERSION_REVISION;
// * old style version constants*/
CV_MAJOR_VER... |
unit StringFactory;
interface
type
IStringBuilder = Interface(IInterface)
['{58C64C93-9F29-470D-AEEF-4ECEF0D3D684}']
function LoadFromFile(const PathFile: string): IStringBuilder;
function ToString: string;
End;
TStringBuilder = class(TInterfacedObject, IStringBuilder)
strict private
var
FStr... |
unit SDUSystemTrayIconShellAPI;
// Description: Shell API functions relating to tasktray Icon
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows,
Messages;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.