text stringlengths 14 6.51M |
|---|
{*******************************************************}
{ }
{ Delphi LiveBindings Framework }
{ }
{ Copyright(c) 2011-2018 Embarcadero Technologies, Inc. }
{ All rights rese... |
unit importprops;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, EditBtn, StdCtrls,
Grids, ExtCtrls, Spin, ComCtrls, Inifiles,
main, gozgraph;
const
NEW_ITEM = 'Element hinzufügen...';
type
{ TImportItemPropertiesForm }
TImportItemPropertie... |
{===================================================================
NPC Schematics 2016
Tutorial: Pirito in a Pinch
by Baharuddin Aziz
September 3, 2016
===================================================================}
program pirito_in_a_pinch;
{ DEKLARASI VARIABEL }
var
// input
m : integer; // jara... |
unit uCliente;
interface
type
TCliente = class
private
FIdCliente: integer;
FNome: string;
FCNPJ: string;
procedure SetCNPJ(const Value: string);
procedure SetIdCliente(const Value: integer);
procedure SetNome(const Value: string);
protected
public
constructor Create;
destru... |
{$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
August '1999
Problem 22 O(N3)? Trivial Method
}
program
BiPartiteSpanningSubGraph;
const
MaxN = 100;
var
N : Integer;
A : array [1 .. MaxN, 1 .. MaxN] of Integer;
P, D, Dp : array [1 .. Max... |
unit agmapxmltotable_classes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
type
TagMapTable = class;
TagMapTableField = class;
TagMapTableFields = class;
{ TagMapTable }
TagMapTable = class(TPersistent)
private
FBaseClassName: string;
Foid_type: string;
FPK: String;
Fpk_fiel... |
Unit MainForm;
Interface
Uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.StdCtrls, WLanAPI,
WlanAPIClient, WlanInterface, wlanNetwork, Vcl.ComCtrls,
WlanBssEntry, Vcl.OleCtrls, SHDocVw;
Type
TForm1... |
unit BuyStoreSelect;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Grids, DBGridEh, ComCtrls, ToolWin;
type
TBuyStoreSelectForm = class(TForm)
Panel1: TPanel;
CancelButton: TButton;
OKButton: TButton;
DBGridEh... |
{*******************************************************}
{ }
{ Delphi DataSnap Framework }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
(*
* (c) Copyright 1995, MAP Ltd., Veldhoven
*
* Function : SLV21.PAS
*
* Abstract : Source Lister Version 2.1
*
* Description : see Summary
*
* History : MV ð Menno A.P.J. Vogels
*
* Version 1.9 source, 93-11
*
* 940122, added the headers and comment, MV
* 940123, added c... |
{ *************************************************************************** }
{ }
{ Delphi and Kylix Cross-Platform Visual Component Library }
{ }
... |
unit IdTCPConnection;
interface
uses
Classes, IdException,
IdComponent, IdGlobal, IdSocketHandle, IdIntercept;
const
GRecvBufferSizeDefault = 32768;
GSendBufferSizeDefault = 32768;
type
TIdBuffer = class(TMemoryStream)
public
procedure RemoveXBytes(const AByteCount: integer);
end;
TIdTCPConnect... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.ExtCtrls,
Vcl.Menus, Vcl.Buttons, Vcl.Imaging.pngimage, Vcl.XPMan, UArrayList;
type
TForm1 = class(TForm)
Panel1... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{: GLShaderCombiner<p>
Allows to combine shaders in different sequences.
Note, that can't just take 2 random shaders and combine them, because
shaders often override the objects material and vertex data with a total
disregard... |
unit proc_type_obj_4;
interface
implementation
uses System;
type
TProc = procedure(V: Int32) of object;
TC = class
private
FData: Int32;
FProc: TProc;
procedure Test;
procedure SetData(Value: Int32);
end;
procedure TC.Test;
begin
FProc := SetData;
FProc(15);
end;
procedur... |
unit XMlToDataSet;
interface
uses
System.Win.ComObj, Winapi.msxml, System.SysUtils, System.IOUtils,
Datasnap.DBClient, Data.DB, InterfaceConversor;
type
EvalidationError = class(Exception);
TXMLToDataSet = class(TConversor)
private
DataSet: TClientDataSet;
CaminhoDoArqv: String;
public
funct... |
unit SIP_Thread;
interface
uses pjsua,logger,SysUtils,SyncObjs,Classes,SIP_Call, SIP_Sound;
type
TAccountInfo=record
id,uri,host,scheme,account:String;
end;
TSIPThread=class(TThread)
private
config:pjconfig;
logconfig:pjlogconfig;
transport:pjtransport;
media:pjmediaconfig;
mediatransp... |
unit ncDebCredValidator;
interface
uses Variants;
type
TncDebCredValidator = class
private
FOldCli: Integer;
FOldCliDebitoAtual: Currency;
FOldCliCreditoAtual: Currency;
FOldCliCredUsado: Currency;
FOldCliCreditado: Currency;
FNewCli: Integer;
FNewCliDebitoAtual: Currency;
FNewC... |
unit FrmVectorMapInfo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Spin, U_VECTOR_CONTROL, U_VECTOR_LIEN_INFO,
Math, System.Types;
type
TfVectorMapInfo = class(TForm)
pnl2: TPanel;
pnl3: TPanel;
spltr1: TSpli... |
unit uEncrypt;
interface
uses
SysUtils;
type TEncryption = class
private
password : string;
public
constructor Create();
function getPassword() : string;
procedure setPassword(pas : string);
end;
implementation
{ TEncryption }
{When constructed, the class sets the g... |
{
Heap Sort Algorithm
O(NLgN)
Input:
A: array of integer
N: number of integers
Output:
Ascending Sorted list
Notes:
Heap is MaxTop
Reference:
FCS
By Behdad
}
program
HeapSort;
const
MaxN = 32000;
var
N : Integer;
A : array [1 .. MaxN] of Integer;
HSize : Integer;
function BubbleUp (V :... |
unit StdHandlers;
interface
uses SysUtils, Entities, Rx;
var
PrintString: TOnNext<TZip<LongWord, string>>;
WriteLn: TOnNext<string>;
PressEnter: TOnCompleted;
RandomPersons: TOnSubscribe<TPerson>;
implementation
initialization
WriteLn := procedure(const Line: string)
begin
System.W... |
unit dmMainDM;
interface
uses
System.SysUtils, System.Classes, Data.DB, DBAccess, Uni, 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, FireDAC.Phys.PGDef, FireDAC.Com... |
unit task_unit;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, ExtCtrls, Contnrs, memoryBlock_unit, Dialogs;
type Task = class
TaskName: string;
TaskSize: integer;
TaskStartTime: string;
TaskTotalTime: integer;
TaskStatus: string;
TaskTimer: TTimer;
TaskUsedMemoryBlock: integer;
constructo... |
UNIT ZeichenkettenUnit;
INTERFACE
type CharNodePtr = ^CharNode;
CharNode = record
ch: char;
next: CharNodePtr;
end;
CharListPtr = CharNodePtr;
FUNCTION NewCharList: CharListPtr;
(* returns empty CharList *)
PROCEDURE DisposeCharList(var cl: CharListPtr... |
{
ID: a2peter1
PROG: fracdec
LANG: PASCAL
}
{$B-,I-,Q-,R-,S-}
const
problem = 'fracdec';
MaxA = 100000;
var
A,B,r : longint;
st,t : string;
len : byte absolute st;
pos : array[0..MaxA] of longint;
begin
assign(input,problem + '.in'); reset(input);
assign(ou... |
unit hashUnit;
{-------------------------------------------------------------------------------
線形リストを用いた汎用ハッシュ
作 者:クジラ飛行机(web@kujirahand.com)
作成日:2002/02/16
--------------------------------------------------------------------------------
使い方:
var
hash: TPtrHash;
str: string;
begin
str := 'test... |
(*
Exemplo captura de erro onde toda exceção do sistema entra em CatchError,
podendo por exemplo, personalizar a mensagem de erro para tornar mais
amigável para o usuário ou gravar em um log.
*)
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, S... |
unit cam_cprf;
{Variable-length key Camellia CMAC Pseudo-Random Function-128}
{$i STD.INC}
interface
uses
CAM_Base, CAM_OMAC;
(*************************************************************************
DESCRIPTION : Variable-length key Camellia CMAC Pseudo-Random Function-128
REQUIREMENTS ... |
unit MediaProcessing.Convertor.RGB.H264;
interface
uses SysUtils,Windows,Classes, MediaProcessing.Definitions,MediaProcessing.Global,AVC,
MediaProcessing.Common.Processor.CustomSettings,MediaProcessing.Convertor.RGB.H264.SettingsDialog;
type
TMediaProcessor_Convertor_Rgb_H264=class (TMediaProcessor_CustomSettin... |
{
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 uROR_ListView;
{$I Components.inc}
interface
uses
ComCtrls, Controls, Classes, Variants, uROR_Utilities, uROR_CustomListView;
type
TCCRListView = class;
//------------------------------ TCCRListItem(s) -----------------------------
TCCRListItem = class(TCCRCustomListItem)
private
function getLi... |
unit testtrfacunit;
interface
uses Math, Sysutils, Ap, reflections, creflections, hqrnd, matgen, ablasf, ablas, trfac;
function TestTRFAC(Silent : Boolean):Boolean;
function testtrfacunit_test_silent():Boolean;
function testtrfacunit_test():Boolean;
implementation
procedure TestCLUProblem(const A : TComple... |
{******************************************************************
JEDI-VCL Demo
Copyright (C) 2002 Project JEDI
Original author:
Contributor(s):
You may retrieve the latest version of this file at the JEDI-JVCL
home page, located at http://jvcl.delphi-jedi.org
The contents of this f... |
unit wcrypt_lite;
interface
uses
Windows;
{Описания для Windows Crypto-API}
const
PROV_RSA_FULL = 1;
CRYPT_VERIFYCONTEXT = $F0000000;
ALG_CLASS_HASH = (4 shl 13);
ALG_TYPE_ANY = 0;
ALG_SID_SHA = 4;
CALG_SHA = (ALG_CLASS_HASH or ALG_TYP... |
unit ClassMapa;
interface
uses ExtCtrls, Classes, Controls, Windows, Graphics, Forms, ClassData,
ClassHladanie;
type TBackground = record
Src, Dest : TRect;
Bitmap : TBitmap;
end;
TMapa = class
private
Mapa : TImage;
ScrollBox : TScrollBox;
Povodny : TBitmap;
... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, ComCtrls,
TAGraph, {TASources,} TAExpressionSeries, TASeries, ImportPolynomial, TADrawUtils, TACustomSeries;
type
{ TForm1 }
TForm1 = class(TForm)
Chart: TChart;
SecantSeries: TLineSerie... |
unit servmain;
{ This program represents the "Application Server" portion of the
distributed datasets demo. The other part is the client which will access
the data provided by this server. You must compile and run this program
once before running the EmpEdit project. }
interface
uses
Windows, Messages, Sys... |
unit PropertyObj;
interface
uses
PropertyStyle;
type TProperty = class
private
FName: string;
FStyle: TPropertyStyle;
function getName: string;
procedure setName(const aName: string);
function getStyle: TPropertyStyle;
procedure setStyle(const aStyle: TPropertyStyle);
published
prop... |
unit FMXColors.Main;
interface
uses
System.SysUtils, Winapi.Windows, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types,
FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls, FMX.Colors, FMX.Controls.Presentation, FMX.Layouts,
FMX.ListBox, FMX.Objects, FMX.Effects, FMX.TabContr... |
{
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.Performance;
{$I ADAPT.inc}
interface
uses
{$IFDEF ADAPT_USE_EXPLI... |
unit uConexaoIntegracao;
interface
uses Data.DB, System.SysUtils, System.Classes, Datasnap.DBClient, Vcl.Forms,
FireDAC.Phys.FB, FireDAC.Phys.MySQL, FireDAC.Comp.UI, FireDAC.DApt, FireDAC.Comp.Client, Datasnap.Provider,
Dialogs, FireDAC.Comp.DataSet, uConexao;
type TConexaoIntegracao = class
private
... |
unit uDMNexLicGen;
interface
uses
SysUtils, Classes, IdBaseComponent, IdComponent, IdTCPServer, SyncObjs,
IdCustomHTTPServer, IdHTTPServer, EXECryptorKeyGen, ncDebug;
type
TdmKeyGen = class(TDataModule)
H: TIdHTTPServer;
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sende... |
unit ncaFrmConfigNFE;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ncaFrmBaseOpcao, cxGraphics,
cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus, Vcl.StdCtrls, cxButtons,
LMDControl, LMDCustomControl, LMDC... |
{ Copyright (C) 1998-2006, written by Mike Shkolnik, Scalabium Software
E-Mail: mshkolnik@scalabium
WEB: http://www.scalabium.com
Const strings for localization
freeware SMComponent library
}
unit SMCnst;
interface
{Italian strings}
const
strMessage = 'Stampa...';
strSaveChanges = 'Salvare ... |
unit ufrmSysGridColColor;
interface
{$I ThsERP.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls, StrUtils, Vcl.Menus, Vcl.Samples.Spin,
Vcl.AppEvnts,
Ths.Erp.Helper.Edit,
Ths.Erp.Helper.Memo,
Ths.Erp.Helper.ComboBox,
ufrmBase, ... |
namespace RemObjects.Elements.System;
interface
type
IEquatable<T> = public interface
method Equals(rhs: T): Boolean;
end;
IComparable< {in} T> = public interface
method CompareTo(rhs: T): Integer;
end;
IDisposable = public interface
method Dispose;
end;
implementation
... |
unit SMARTSupport.Factory;
interface
uses
SysUtils,
BufferInterpreter, Device.SMART.List, SMARTSupport,
SMARTSupport.Seagate.NotSSD, SMARTSupport.Seagate.SSD, SMARTSupport.WD,
SMARTSupport.Mtron, SMARTSupport.JMicron60x, SMARTSupport.JMicron61x,
SMARTSupport.Indilinx, SMARTSupport.Intel, SMARTSupport.Samsun... |
program Maximum (input, output);
{ bestimmt das Maximum einer Zahlenfolge von einzulesenden integer-Zahlen.
Dabei wird die letzte 0 nicht berücksichtigt! }
var
i: integer; {Laufvariable, wird nur hochgezählt}
Zahl, Max : integer;
{Eingegebene Integer-Zahlen und das Maximum aller eingegeben Zahle... |
unit ComponentsSearchQuery;
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.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DApt.Intf... |
{----------------------------------------------------------------------------}
{ Written by Nguyen Le Quang Duy }
{ Nguyen Quang Dieu High School, An Giang }
{----------------------------------------------------------------------------}
... |
unit ExpenseDataMethodsIntf;
interface
uses
AccountTitle, Generics.Collections, Expense;
type
IExpenseDataMethods = interface
['{B2E108E2-E95C-4BF4-A247-E29CD56EC27B}']
procedure Save(AExpense: TExpense);
procedure Add;
function GetAccountTitles: TObjectList<TAccountTitle>;
end;
implementation
end.... |
unit Serv_TLB;
{ This file contains pascal declarations imported from a type library.
This file will be written during each import or refresh of the type
library editor. Changes to this file will be discarded during the
refresh process. }
{ AdHoc Query Demo Server Library }
{ Version 1.0 }
interface
uses Win... |
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.Ani,
FMX.Objects, FMX.StdCtrls, FMX.Controls.Presentation, System.Beacon,
System.Beacon.Components;
type
TForm1 = class(TForm)
To... |
{
"Local Heap Manager" - Copyright (c) Danijel Tkalcec
@exclude
}
unit memLocalHeap;
{$INCLUDE rtcDefs.inc}
interface
type
TLocalHeapManager = class
public
Total_Alloc:cardinal;
class function UsesLocalHeap:boolean;
constructor Create;
destructor Destroy; override;
function Clear:bool... |
unit Vigilante.DataSet.Compilacao;
interface
uses
System.Classes, System.Generics.Collections, Data.DB, FireDac.Comp.Client,
Vigilante.Compilacao.Model, Vigilante.ChangeSetItem.Model,
Vigilante.Aplicacao.SituacaoBuild,
Module.DataSet.VigilanteBase;
type
TCompilacaoDataSet = class(TVigilanteDataSetBase<ICom... |
{**
* @Author: Du xinming
* @Contact: QQ<36511179>; Email<lndxm1979@163.com>
* @Version: 0.0
* @Date: 2018.11.18
* @Brief:
* @References:
* Hashed and Hierarchical Timing Wheels: Data Structures for the Efficient Implementation of a Timer Facility
*}
unit org.algorithms.time;
interface
uses
Winapi.Windows,... |
unit Regi1632;
{**************************************************************************
TRegistry1632
This unit provides access to the registry in Delphi 1.0 AND Delphi 2.0
Author: Hannes Danzl (e9026733@stud3.tuwien.ac.at)
FREEWARE
If you change it, please send me a copy!!
When running the Applic... |
unit UCfop;
interface
uses DateUtils, SysUtils;
type Cfop = class
protected
Id : Integer;
Nome : string[100];
Numero : string[5];
DataCadastro : TDateTime;
DataAlteracao : TDateTime;
public
Constructor CrieObjeto;
... |
unit Vigilante.Compilacao.Service.Impl;
interface
uses
System.StrUtils, System.JSON, System.SysUtils, Vigilante.Compilacao.Service,
Vigilante.Compilacao.Model, Vigilante.Compilacao.Repositorio,
Vigilante.Compilacao.Event;
type
TCompilacaoService = class(TInterfacedObject, ICompilacaoService)
private
FC... |
{*******************************************************}
{ }
{ Midas Socket Server Intercepor Demo }
{ }
{*******************************************************}
unit Intrcptu;
{
NOTE: Th... |
unit Zlib.FunctionsProcedures;
interface
uses SysUtils, Classes, zlib;
procedure Decompress(SourcePath, DestPath:string);
procedure DecompressToMemory(Source: TMemoryStream; var Memory:TMemoryStream);
procedure DecompressFileToMemory(Source: TFileStream; var Memory:TMemoryStream);
procedure Compress(SourcePath, Dest... |
UNIT MorseTreeUnit;
INTERFACE
TYPE
NodePtr = ^Node;
Node = RECORD
left, right: NodePtr;
letter: CHAR;
fullCode: STRING;
END;
Tree = NodePtr;
PROCEDURE DisposeTree(var t: Tree);
FUNCTION FindNode(t: Tree; x: CHAR): NodePtr;
FUNCTION FindNodeByCode(t: Tree; x: STRING; count: I... |
object frm_EditSQLBtns: Tfrm_EditSQLBtns
Left = 0
Top = 0
Caption = 'Add - Edit - Move SQL Buttons'
ClientHeight = 896
ClientWidth = 1248
Color = clBtnFace
Constraints.MinHeight = 680
Constraints.MinWidth = 980
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
... |
unit cTelefone;
interface
type
Telefone = class (TOBject)
protected
codTel : integer;
telcont1 : String;
telcont2 : String;
public
Constructor Create (codTel:integer; telcont1:String; telcont2:String);
Procedure setCodTel(codTel:integer);
... |
unit GestionarCuentaDebito;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, UnitCuentaDebito;
type
TFormGestionarCuentaDebito = class(TForm)
Button3: TButton;
Button1: TButton;
Atrás:... |
unit UdpSocket;
interface
uses
SysUtils, Windows, Classes, WinSock;
type
IDrtpSocket = interface
function GetActive: Boolean;
function GetLastRecvAddr: string;
function GetLastRecvPort: Integer;
function GetLocalIP: string;
function GetLocalPort: Integer;
function GetHandle:... |
unit Menu;
interface
{Процедура инциализации меню }
procedure InitMenu();
{Процедура отлова нажатия клавиш в меню }
procedure HandleInputInMenu();
{Процедура обновления логики меню }
procedure UpdateMenu(dt : integer);
{Процедура отрисовки меню }
procedure RenderMenu();
implementation
uses
GlobalVars, GraphABC, ... |
unit main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
ComCtrls, JvPicClip;
type
{ TForm1 }
TForm1 = class(TForm)
CombinedImage: TImage;
Label1: TLabel;
SplitImage: TImage;
JvPicClip1: TJvPicClip;
Trackbar: TTrackBar;
... |
unit Model.Email;
interface
type
TEmail=class
private
FNome: string;
FTipo: string;
procedure SetNome(const Value: string);
procedure SetTipo(const Value: string);
published
property Nome:string read FNome write SetNome;
property Tipo:string read FTipo write SetTipo;
end;
implementati... |
{*******************************************************}
{ }
{ Delphi Runtime Library }
{ }
{ Copyright(c) 1995-2011 Embarcadero Technologies, Inc. }
{ ... |
{*******************************************************}
{ }
{ YxdMemPool 内存池 }
{ }
{ 版权所有 (C) 2013 YangYxd }
{ ... |
//
// This unit is part of the GLScene Project, http://glscene.org
//
{ : FRFaceEditor<p>
Editor frame for a TGLFaceProperties.<p>
<b>Historique : </b><font size=-1><ul>
<li>05/09/08 - DanB - Removed Kylix support
<li>29/03/07 - DaStr - Renamed LINUX to KYLIX (BugTrackerID=1681585)
<li>19/12/06 - ... |
unit IntelHEX;
interface
uses
SysUtils, Math, Classes, Contnrs, Windows, Graphics;
type
EIntelHex = class(Exception)
end;
type
TReportMode = set of (rmVerbose, rmHexData, rmStrData);
TOverlapMode = set of (ovlNone, ovlUnmodified, ovlOverwrite, ovlAlways);
TOverflowMode = set of (ovfIgnore... |
unit uDocument;
interface
uses SysUtils, Windows, Classes, XMLIntf, XMLDoc, uStrings, XMLUtils;
type TOmgDocument = class
type tOmgDocType = (dtUnknown, dtXML, dtCrypted);
type TCryFileHeader = record
Magic: array[0..3] of AnsiChar;
docVersion: Byte;
rsrvdByte1: Byte;
rsrvdByte... |
{*********************************}
{********* P R O C _ A G *******}
{*********************************}
function sign(a : real) : integer;
begin if a<0 then sign:= -1 else sign:= 1; end; {sign}
{*************}
function max(a,b : real) : real;
begin if a>=b then max:= a else max:= b; end; {max}
{*... |
unit uConfig;
interface
const
__APP__ = ''; // 应用名称 ,可当做虚拟目录使用
template = 'view'; // 模板根目录
template_type = '.html'; // 模板文件类型
session_start = true; // 启用session
session_timer = 30; // session过期时间... |
(* ArrayStackUnit: MM, 2020-05-27 *)
(* ------ *)
(* A stack which stores its elemts in an array *)
(* ========================================================================= *)
... |
unit Vigilante.Infra.Compilacao.Repositorio.Impl;
interface
uses
System.JSON, Vigilante.Compilacao.Repositorio, Vigilante.Compilacao.Model;
type
TCompilacaoRepositorio = class(TInterfacedObject, ICompilacaoRepositorio)
private
function BuscarJSON(const AURL: string): TJSONObject;
public
function Busc... |
unit untDmPrincipal;
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.MSSQL,
FireDAC.Phys.MSSQLDef, FireDAC.VCLUI.Wait, FireDAC.Sta... |
{*******************************************************}
{ }
{ DelphiWebMVC }
{ }
{ 版权所有 (C) 2019 苏兴迎(PRSoft) }
{ ... |
unit ncaFrmConfigCaixaAbertura;
{
ResourceString: Dario 11/03/13
Nada para para fazer
}
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ncaFrmBaseOpcao, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters,
Menus, cxControls, cxContainer, cxEdit, StdCtrls,... |
unit Client;
interface
uses
SysUtils, ClientData, DB, Entity, ADODB, LandLord, ImmediateHead,
Referee, Employer, BankAccount, IdentityDoc, Reference, RefData,
DBUtil;
type
TClientGroup = class
strict private
FId: string;
FName: string;
FEmployerGroup: boolean;
public
property Id: string r... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ }
{ Notification Center implementation for iOS }
{ ... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, pngimage, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Image1: TImage;
Image2: TImage;
Button1: TButton;
... |
// ==============================================================================
//
// Unit uBluePhantom.pas
//
// This class contains the information about some pve Dark Souls player
// Note: the "White Phantom" definition is not really associated with the real
// summoned friend. It's just a definition for imp... |
unit GUI;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, SDL2, BaseTypes, Utility, Options;
type
{ tUIElement }
tUIElement = class
Top, Left,
Height, Width: integer;
Enabled: boolean;
procedure Draw; virtual;
end;
tUIEvent = procedure(Sender: tUIElement) of object;
{ tButton }
tButton = ... |
program tema8_2017;
uses crt;
const
DIM = 6;
type Tmat = array[1..DIM,1..DIM] of Integer;
Tvec = array[1..DIM] of Integer;
procedure CargarMatriz(var M: Tmat; LimInf,LimSup: Integer);
var
i,j: Integer;
begin
for i := 1 to DIM do
begin
for j := 1 to DIM do
begin
if i=j then
begin
... |
unit set_in_1;
interface
implementation
type
TEnum = (i1, i2, i3, i4);
var
S: set of TEnum;
G1, G2: Boolean;
procedure Test;
begin
S := [i1, i3];
G1 := i3 in S;
G2 := i2 in S;
end;
initialization
Test();
finalization
Assert(G1 = true);
Assert(G2 = false);
end. |
unit ORExtensions;
interface
uses
ORCtrls,
System.Classes,
Vcl.Clipbrd,
Vcl.ComCtrls,
Vcl.Forms,
Vcl.StdCtrls,
Winapi.Messages,
Winapi.Windows,
TLHelp32,
System.SysUtils,
Vcl.Dialogs,
System.UITypes;
type
TEdit = class(Vcl.StdCtrls.TEdit)
public
procedure WMPaste(var Message: TMessage... |
unit ServerConst1;
interface
resourcestring
sPortInUse = '- Erro: Porta %s já em uso';
sPortSet = '- Porta configurada para %s';
sServerRunning = '- O servidor já está rodando.';
sStartingServer = '- Iniciando servidor na porta %d';
sStoppingServer = '- Parando servidor...';
sServerStopped = '- Servidor e... |
unit MasterMind.View.Form;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, MasterMind.API, stdctrls;
type
TBoardRow = record
Panel: TPanel;
Colors: array[0..CODE_SIZE - 1] of TShape;
Hints: array[0..CODE_SIZE - 1] of TShape... |
{**********************************************}
{ TeeChart Tools }
{ Copyright (c) 1999-2004 by David Berneda }
{**********************************************}
unit TeeTools;
{$I TeeDefs.inc}
interface
// This unit defines and implements several "Chart Tools".
// Tools appear at th... |
unit ufrmMain;
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.Samples.Spin,
IdTCPConnection, IdTCPClient, IdBaseComponent, IdComponent, IdCustomTCPServer,
IdTCPServer,... |
unit func_ccreg_set56;
interface
implementation
type
TEnum56 = (_a00,_a01,_a02,_a03,_a04,_a05,_a06,_a07,_a08,_a09,_a10,_a11,_a12,_a13,_a14,_a15,_a16,_a17,_a18,_a19,_a20,_a21,_a22,_a23,_a24,_a25,_a26,_a27,_a28,_a29,_a30,_a31,
_a32,_a33,_a34,_a35,_a36,_a37,_a38,_a39,_a40,_a41,_a42,_a43,_a44,_a45,_a46,_a... |
unit StatusIntf;
interface
type
IStatus = Interface(IInterface)
['{5444FA40-507A-4F5E-BB65-89025E426405}']
procedure ShowError(const error: string);
procedure ShowConfirmation(const conf: string);
End;
implementation
end.
|
// 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-... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ }
{ Copyright (c) 1995-2001 Borland Software Corporation }
{ ... |
{ ****************************************************************************** }
{ * FFMPEG video Reader by qq600585 * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
{*******************************************************}
{ }
{ Borland Delphi Visual Component Library }
{ Registration of WebBroker wizards }
{ }
{ Copyright (c) 2000-2001 Bo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.