text stringlengths 14 6.51M |
|---|
unit TerrainGeometryShaded;
(**********************************************************************
File name: terraingeometryshaded.pas
This file is part of: tt3d
LICENSE
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance wi... |
{==============================================================================}
{ UNIT: lysee_ib_funcs }
{ DESCRIPTION: functions of IBPhoenix database verdor (FPC) }
{ CREATED: 2007/07/12 ... |
unit RingFile;
interface
uses
typex, systemx, sharedobject, QueueStream, helpers_stream, numbers, sysutils, signals, stringx, tickcount, betterobject;
type
TRingFile = class(TSharedObject)
private
FSize: int64;
function GetDataAvailable: int64;
function GetSpaceAvailable: int64;
procedure SetSi... |
unit MySQLDirect;
interface
uses
MySQLUniProvider, uni, betterobject, sysutils;
type
Tdbinfo = record
remotehost: string;
port: nativeint;
username: string;
password: string;
database: string;
procedure Init;
end;
function NewConnection(dbinfo: TDbInfo): IHolder<TUniConnection>;
func... |
unit frmcd0421;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, ComObj, DB, ADODB, ComCtrls;
type
PDbInfo = ^TDbInfo;
TDbInfo = record
CompCode: Integer;
UserId: String;
Passowrd: String;
TnsName: String;
Conn... |
program projectA (input, output);
{ Stage 5 of Project A for Engineering Computing 121
By Michael Papasimeon - 26/3/93 - Science/Engineering
}
const
lastval = -1;
var
x : real; { Judges mark }
n : integer; { Contestant number }
num : integer; { Number of scores/judges }
sum, average ... |
program mediaPonderada;
var
N1, N2, N3, media: real;
begin
writeln('Informe 3 idades para calcular a média ponderada.');
write('Informe a primeira Idade:');
readln(N1);
write('Informe a segunda Idade:');
readln(N2);
write('Informe a terceira Idade:');
readln(N3);
media := ((N1 * 2) + (N2 * 4) ... |
unit MapiEmail;
interface
uses
SysUtils, Classes, JclMapi;
type
TPrerequisites = class
public
function IsMapiAvailable: Boolean;
function IsClientAvailable: Boolean;
end;
TMAPISendMail = class
private
FAJclEmail: TJclEmail;
FShowDialog: Boolean;
FResolveNames: Boolean;
FPrerequis... |
var
I: Integer;
X: T;
begin
Result := [];
I := 0;
for X in Source do
begin
Result := Result + [Lambda(X, I)];
Inc(I);
end;
end; |
unit U_Version;
interface
const
C_Major=4;
C_Minor=0;
C_Release=0;
C_Revision=29668;
C_Date=42699.7183253356;
C_DB_Revision=5929;
implementation
end. |
unit uang;
interface
uses tipe;
var
currentSimulasi : data;
procedure tambahUang(plusUang:integer);
procedure kurangUang(minusUang:integer);
implementation
procedure tambahUang(plusUang:integer);
{Menambahkan uang dari Chef ketika melakukan suatu kegiatan}
{I.S. : Chef sudah memiliki uang yang tela... |
{***********UNITE*************************************************
Auteur ...... : Laurent GENDREAU
Créé le ...... : 15/11/2001
Modifié le ... : 10/04/2002
Description .. : Source TOF de la TABLE : PARAMLET ()
Suite ........ : Ecran : CPARAMLET
Mots clefs ... : TOF;PARAMLET
********************************************... |
unit uCurrencyHandlersMap;
interface
uses System.Generics.Collections
, SysUtils
, Classes
, uCurrencyHandler
;
type
TCurrencyHandlersMap = class
private
FMapById : TObjectDictionary<Integer,TCurrencyHandler>;
FMapByCode : TObjectDictionary<String,TCurrencyHandler>;
private
fu... |
unit f_textedit;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Menus,
Vcl.ComCtrls,
Vcl.ImgList,
Vcl.Buttons,
Vcl.Samples.Spin,
sSpeedButton,
acAlphaImageList,
... |
{
Copyright (C) 2013-2023 Tim Sinaeve tim.sinaeve@gmail.com
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.org/licenses/LICENSE-2.0
Unless required by a... |
unit DW.WebBroker.Logger;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit WriteGWM_HeadConstraints;
interface
uses SysUtils, Classes, Forms, Contnrs, AnePIE, OptionsUnit,
WriteModflowDiscretization, WriteGWM_DecisionVariables;
type
THeadAndDrawdownIndicies = record
VariableNameIndex: ANE_INT16;
ConstraintTypeIndex: ANE_INT16;
ConstraintValueIndex: ANE_INT16;
end;
... |
unit LoginSettingUI;
////////////////////////////////////////////////////////////////////////////////
//
// Description:
// Author: lksoulman
// Date: 2017-8-12
// Comments:
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows,
Classes,
Messages... |
unit FormWizardFixed;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FormPropertyDialogFixed, Vcl.StdCtrls,
Vcl.ExtCtrls, FrameHostPanel, typex, generics.collections, FrameWizardPage,
Vcl.ComCtrls;
type
T... |
unit PNTree;
{$mode objfpc}{$H+}{$J-}
{
Tree implementation for parsing the standard notation
}
interface
uses
PNBase;
type
PPNNode = ^TPNNode;
TPNNode = class
strict private
FItem: TItem;
FGrouped: Boolean;
FLeft: TPNNode;
FRight: TPNNode;
FParent: TPNNode;
procedure SetLeft(vNode: TPNNode);
... |
{***********UNITE*************************************************
Auteur ...... : Vincent Laroche
Créé le ...... : 28/01/2005
Modifié le ... : / /
Description .. : Remplacé en eAGL par MULVALBU_TOF.PAS
Mots clefs ... :
*****************************************************************}
unit MulValBu;
interfac... |
{@name is used to create the input files for the MNW version 2 package.
@Seealso(WriteMultiNodeWellUnit)}
unit WriteMNW2Unit;
interface
uses Sysutils, Forms, Classes, contnrs, AnePIE, OptionsUnit,
WriteModflowDiscretization;
type
TSteadyMnw2SteadyParameterIndicies = record
WellIdIndex: ANE_INT16;
Constr... |
unit QuoteTimeHint;
interface
uses
Windows,
Classes,
SysUtils,
Graphics,
QuoteCommLibrary,
GR32,
G32Graphic,
QuoteTimeGraph;
type
TQuoteTimeHint = class
private
FTimeGraphs: TQuoteTimeGraphs; // 引用公共对象 不用释放
FHintBitMap: TBitmap32;
FHintG32Graphic: TG32Graphic;
FHintType: TQuote... |
unit UserPositionSetCommandImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UserPositionSetCommand Implementation
// Author£º lksoulman
// Date£º 2018-1-15
// Comments£º
//
////////////////////////////////////////////////////////////////////////////... |
unit SuperfishUnit;
// Save TD32 information and used Turbo debugger to debug.
// Click F3 and enter the name of your dll.
// After Argus ONE has started attach to ArgusONE.dll.
// From the File menu change to the directory with the source code of the PIE.
// Click F3 and double click on your dll
// Click F3 again and... |
unit GnvVariants;
interface
uses
Variants;
function GnvVarToBoolDef(const V: Variant; const ADefault: Boolean): Boolean;
function GnvVarToIntDef(const V: Variant; const ADefault: Integer): Integer;
implementation
function GnvVarToBoolDef(const V: Variant; const ADefault: Boolean): Boolean;
begin
if VarIsType(V... |
unit CommentEntry_Unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TCommentEntry_Form = class(TForm)
Edit1: TEdit;
Label1: TLabel;
Accept_Button: TButton;
Cancel_Button: TButton;
Clear_Button: TButton;
... |
unit SLSpecifiedPressure;
interface
uses ANE_LayerUnit, AnePIE, SLCustomLayers, SLGeneralParameters;
type
TSpecPressureParam = class(T_ANE_LayerParam)
class function ANE_ParamName: string; override;
function Units: string; override;
function Value: string; override;
function WriteName: string; over... |
unit untPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.WinXPanels,
Vcl.ExtCtrls, untNetwork.Intf, untNetwork.Element;
type
TPanelComElemento = class(TPanel)
private
FEleme... |
unit UntExcel;
interface
uses SysUtils;
const
xlCenter = $FFFFEFF4;
xlLeft = $FFFFEFDD;
xlRight = $FFFFEFC8;
type
TExcelOP = class(TObject)
private
public
class procedure BordersAll(ARange: Variant);
class procedure BorderBottom(ARange: Variant);
class function getColName(colu... |
unit uServicos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, StdCtrls, ExtCtrls, DBCtrls, DB, WideStrings, SqlExpr, DBXFirebird, DBXCommon,
FMTBcd, Provider, SimpleDS, DBClient, uPrincipal;
Type TServicos = class
funct... |
unit MFDensity;
interface
uses SysUtils, ANE_LayerUnit;
type
TFluidDensityParam = class(T_ANE_LayerParam)
public
class Function ANE_ParamName : string ; override;
function Units : string; override;
function Value : string; override;
class function WriteParamName : string; override;
Class Fu... |
unit uTestDatabaseConfig;
{
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, SysUtils, uDatabaseCon... |
unit DW.Androidapi.JNI.DWCameraHelpers;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Li... |
unit uCommon;
interface
uses Windows, Classes, Graphics, Math, Resample, Jpeg, Registry;
const
RegKey = 'Software\MyWallpapers';
type
TDefRegistry = class(TRegistry)
public
function ReadBoolDef(const Name: string; Default: Boolean): Boolean;
function ReadStringDef(const Name: string; Default: string):... |
unit ModBusDevice;
interface
uses
WinApi.Windows,
System.Classes,
System.SysUtils,
Vodopad.ObjectList,
Vodopad.EventList,
AbstractDeviceInterface,
Vodopad.Timer,
ModBusDriver,
DiscreteBlock,
AnalogBLock,
DeviceModule,
ModBusDeviceInterface,
EventBusInterface;
type... |
unit AbstractMainProcess;
interface
uses
System.Classes, Winapi.Windows, Winapi.Messages, System.SysUtils, System.IniFiles,
VdpDataModule, Vodopad.EventList, AbstractMainProcessInterface, Vodopad.Timer,
EventBusInterface, CustomChildProcess, LoggerInterface;
type
TgpHwInitTestState = (HwtStart,
... |
{***********UNITE*************************************************
Auteur ...... : Joël TRIFILIEFF
Créé le ...... : 03/10/2000
Modifié le ... : 09/07/2002
Description .. : Source TOF de la FICHE : UTOFGCPIECECOURS_TIER ()
Mots clefs ... : TOF;PIECECOURSTIERS
************************************************************... |
unit UpThread;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Share,
Dialogs, RSA, IdHTTP, LShare, JSocket, LAShare, DFUnRar, ImageHlp, IdCompressorZLibEx;
type
TUpdateThread = class(TThread)
private
FClientSocket: TClientSocket;
FRSA: TRSA;
... |
{*******************************************************************************
作者: dmzn@ylsoft.com 2011-03-13
描述: LED控制卡管理
*******************************************************************************}
unit UMgrLEDCard;
{$I Link.Inc}
interface
uses
Windows, SysUtils, Classes, Forms, Graphics, Nati... |
program sard;
{$mode objfpc}{$H+}
{$apptype CONSOLE}
uses
Crt,
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp,
sardClasses, sardObjects, sardParsers, sardScripts, sardJSONs;
type
{ TSardApplication }
TSardApplication = class(TCustomApplicati... |
{$MODE OBJFPC}
program MFISH;
uses
Math;
const
maxN = Round(1e5);
maxM = Round(1e5);
type
TShip = record
b, d : Integer;
end;
var
ship : array[0..maxM + 1] of TShip;
river : array[1..maxN] of Integer;
sum, catch, new : array[0..maxN] of Integer;
n, m : Integer;
procedure En... |
unit MFRBWStreamUnit;
interface
uses ANE_LayerUnit, SysUtils;
const
kMFRBWStreamSegmentParam = 'Segment Number';
kMFRBWStreamDownstreamSegmentParam = 'Downstream Segment Number';
kMFRBWStreamDiversionSegmentParam = 'Upstream Diversion Segment Number';
kMFRBWStreamHydCondParam = 'Streambed hydraulic conductiv... |
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*
* Software distr... |
{Задача 3: Вычислить значение функции y = e^3 - sin^2(a - |x + a|).
Замечание: Из задачи не ясно, что такое "e": просто параметр или основание
натурального логарифма. Поэтому значение данного параметра считывается наравне
с остальными. Если всё же "e" - это основание натуратльного логарифма, то
нужно просто объявить со... |
unit HttpExecutorImpl;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º Http Executor Interface Implementation
// Author£º lksoulman
// Date£º 2017-9-14
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
int... |
unit Posix.ffmpeg.libavdevice.avdevice;
interface
uses
Posix.ffmpeg.libavutil.samplefmt, Posix.ffmpeg.libavutil.rational, Posix.ffmpeg.libavutil.pixfmt,
Posix.ffmpeg.libavformat.avformat, Posix.ffmpeg.libavcodec.avcodec;
type
PAVDeviceInfo = ^AVDeviceInfo;
AVDeviceInfo = record
device_name: MarshaledASt... |
unit Foundation.Vendor.JclDebug;
{**************************************************************************************************}
{ }
{ Foundation.Vendor.JclDebug ... |
unit Classe_Pessoa;
interface
type
TPessoa = class
private
idade : integer;
sexo : integer;
olhos : integer;
cabelos : integer;
public
procedure setIdade(idade: integer);
function getIdade : integer;
procedure setSexo(sexo: integer);
... |
// This class is designed to centralize the routine of parsing a form in
// a class that is meant to be subclassed. It doesn't retrieve Form Data,
// just parses it if it is there.
unit uFormParserBot;
interface
uses
Classes, uKeywordBot, uFormParser, HttpProt;
type
TFormBotState = (stGetFormData, s... |
program dz_3_1;
uses SysUtils;
var
a, b, c: string;
h, k1, k2: integer;
m, l, r: integer;
begin
writeln('Enter a triangle side s length and hit enter after each.');
readln(a);
readln(b);
readln(c);
m := StrToIntDef(a, 0);
l := StrToIntDef(b, 0);
r := StrToIntDef(c, 0);
if... |
unit DependencyInjectionMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmDI = class(TForm)
btnNoDI: TButton;
btnInjectedParams: TButton;
btnInjectedProps: TButton;
b... |
unit BytesUtilsUnit;
interface
uses
Classes,
SysUtils;
function LoadFromFile(const FileName: string): TBytes; overload;
function LoadFromStream(Stream: TStream): TBytes; overload;
procedure SaveToFile(const Value: TBytes; const FileName: string); overload;
procedure SaveToStream(const Value: TBy... |
unit FastList;
{$INCLUDE DelphiDefs.inc}
{$IFNDEF WINDOWS}
!error, this is only intended for windows (non-arc) compilers
{$ENDIF}
interface
uses
systemx, typex, sysutils, generics.collections, generics.defaults;
type
PPointer = ^pointer;
TFastList<TYP: class>= class(TObject)
private
FObjects: PPointer;... |
(*
------------------------------------------------------------------------------------
-- Fichier : UnitLegalite.pas
-- Auteur : Guillaume Proton
-- Date de creation : 6 Juin 2018
--
-- But : But
-- Remarques : Aucune
-- Compilation : fpc
-- Edition des liens : fpc
-- ... |
// Project: FTEditor (Fielded Text Editor)
// Licence: Public Domain
// Web Home Page: http://www.xilytix.com/FieldedTextEditor.html
// Initial Developer: Paul Klink (http://paul.klink.id.au)
unit Xilytix.FTEditor.SequenceItemPropertiesFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes,... |
unit schedulerRR;
interface
uses threads, schedulers;
type
{ TSchedulerRoundRobin }
TSchedulerRoundRobin = class(TScheduler)
private
fCurrent: TThread;
fCurrentID: PtrInt;
protected
function FindNewThread(out old, New: TThread): boolean; override;
public
function GetCurrentThread: TThread... |
unit test_58_ForVsForEach;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, StdCtrls;
type
TfrmForVsForEach = class(TForm)
btnTest: TButton;
lbLog: TListBox;
procedure btnTestClick(Sender: TObject);
private
procedure Time(const name: string; p... |
unit SeriesItemProeprtyEditDialog;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, ComCtrls,
SeriesItem, DateTimePickerEnhance;
type
TfrmSeriesItemPropertyEditDialog = class(TForm)
GroupBox1: TGroupBox;
ItemIsHidden: TCheckBox;
... |
unit Foundation.Pattern.Defer;
{******************************************************************************}
{ }
{ Foundation Framework }
{ ... |
{$V-}
program Pizza; {EXENTRY2.PAS}
uses
Use32, OpCrt, OpRoot, OpCmd, OpFrame, OpWindow, OpPick, OpField, OpSelect, OpEntry;
const NumPizzaToppings = 5;
type InfoRec = record
Name : String[30];
PTop : String[10];
end;
var
Info : InfoRec;
ES : EntryScreen;
PL ... |
unit MSConfigUnit;
interface
uses
Forms, Dialogs, Classes, ADOConnectionStringBuilderUnit;
type
TMSConfig = class(TPersistent)
strict private
FAccessDatabaseName: string;
FAccessUserName: string;
FIsUsingSqlServer: Boolean;
FSQLIntegratedSecurity: Boolean;
FSQLServerDatabaseNa... |
//****************************************************************************
// Unit Name: System.SysUtils
//****************************************************************************
// This file is auto generated with paxCompiler engine.
// Import mode: local import, global members only... |
{$MODE OBJFPC}
program SNAD;
uses
Math;
const
maxN = 19;
maxT = 19;
type
BigInt = record
nDigits : Integer;
d : array[1..20] of Integer;
end;
var
f : array[0..maxN * 9, 0..maxN] of Int64;
x, y : BigInt;
res : Int64;
nTests : Integer;
procedure Init;
var
i, j, k : I... |
unit UFXAccountLogin;
////////////////////////////////////////////////////////////////////////////////
//
// Description£º UFX Account Login
// Author£º lksoulman
// Date£º 2017-8-19
// Comments£º
//
////////////////////////////////////////////////////////////////////////////////
interface
uses
Windows... |
unit dmFreqMeasurerInterface;
interface
type
pFreqResult = ^TFreqResult;
TFreqResult = record
Freq,
DispersionHz,
DispersionPpm : double;
TimeStamp : TDateTime;
SeriesCount,
SeriesSuccesCount: Byte;
procedure Assign(ASource : pFreqResult); overload;
procedure Assign(ASource : TFre... |
// Copyright (c) 2021 Arsanias
// Distributed under the MIT software license, see the accompanying
// file LICENSE or http://www.opensource.org/licenses/mit-license.php.
unit
Core.ByteReader;
interface
uses
System.Types, System.SysUtils, System.Math, System.StrUtils, System.Classes,
System.Generics.... |
{$MODE OBJFPC}
program CTREE;
uses
Math;
const
maxN = Round(1e4);
maxC = 3;
maxF = maxN * maxC;
type
PNode = ^TNode;
TNode = record
v : Integer;
link : PNode;
end;
var
head : array[1..maxN] of PNode;
f : array[1..maxN, 1..maxC] of Integer;
free : array[1..maxN] of Bool... |
unit Xc12DataStyleSheet5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvid... |
{==============================================================================}
{ UNIT: lse_module_editor }
{ DESCRIPTION: lysee module editor for lazarus }
{ CREATED: 2010/09/23 ... |
unit CodigoBarras;
interface
uses
SysUtils,
Contnrs,
FireDAC.Comp.Client;
type
TCodigoBarras = class
private
FTipo: Integer;
FCodigo: Integer;
FCodTamanho: Integer;
FCodProduto: Integer;
FCodCor: Integer;
FCodGrade: Integer;
FNumeracao: String;
FCod_sku: String;
proced... |
unit SkyLists;
{$mode objfpc}{$H+}
interface
uses
Classes, TypesConsts, SysUtils, StringArray;
const
MaxDoubleListSize = MaxInt div 20;
MaxDoubleDoubleListSize = MaxInt div 20;
MaxInt64ListSize = MaxInt div 20;
MaxVariantListSize = MaxInt div 40;
type
{$Region ' Data structures'}
PList... |
unit dtmMainU;
interface
uses
SysUtils, Classes, DB, ADODB, inifiles, Forms, Dialogs, DBClient, CsIntf;
type
TdtmMain = class(TDataModule)
cdsNetworkID: TClientDataSet;
cdsNetworkIDCompCode: TIntegerField;
cdsNetworkIDCompName: TStringField;
cdsNetworkIDNetworkID: TStringField;
cdsNetworkIDOp... |
unit ScannermoveXYZDrawThread;
interface
uses
Classes,Windows,Forms,messages,dialogs,sysutils,MLPC_APILib_TLB,comobj,activex;
type
TScannermoveXYZDrawThread = class(TThread)
private
{ Private declarations }
ElementSize:integer;
nElements,dataoutcount:Integer;
logstr:string;
protected
p... |
unit uSelector;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TCenterForm = class;
PSelector = ^TSelector;
//主体窗体,选择框
TSelector = class(TCustomForm)
private
FCenter: TCenterForm;
FBorderWidth: Integer;
FullRgn, ClientRg... |
unit crc32;
{
Данный модуль в своем большинстве взят из проекта Андрея Рубина немного окультурен
}
{$INCLUDE crc32.inc}
interface
uses
Classes, SysUtils;
type
DWord = LongWord;
TCRC32Table = array [Byte] of DWord;
PCRC32Table = ^TCRC32Table;
const
//- размер страницы для буфера обмена... |
unit XLSHTMLTypes5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson, ... |
var
runtime: java_lang_Runtime;
freeMemory, totalMemory, maxMemory: LongInt;
begin
New(runtime);
runtime := runtime.getRuntime();
freeMemory := runtime.freeMemory() / 1024;
totalMemory := runtime.totalMemory() / 1024;
maxMemory := runtime.maxMemory() / 1024;
writeln('freeMemory ' + fre... |
unit bbcode;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, regexpr;
function bbcodeToHtml(bbcode: String): String;
implementation
function bbcodeToHtml(bbcode: String): String;
begin
result := bbcode;
result := ReplaceRegExpr('\[i\](.*?)\[\/i\]', result,'<i>$1</i>', true);
result := ReplaceRegExpr... |
program ideone;
(*define encrypt function*)
function encrypt(testStr: string; shift: integer): string;
var
encryptedChrArr : array of char;
letter : char;
encryptedStr : string;
x, e : integer;
BEGIN
encryptedStr := '';
SetLength(encryptedChrArr, length(testStr));
for x:=0 to length(testStr)-1 do
BEGIN
e... |
unit W_plugin_info;
interface
uses SysUtils, Classes, Dialogs, Graphics, Windows, Forms, ExtCtrls;
const
W_SDK_VER_MAJOR = 0;
W_SDK_VER_MINOR = 1;
type
{Result Data}
TResultData = record
OK : Boolean;
parString : String;
end;
{Plugin info}
TWPluginInfo = record
SD... |
{
*************************************
Created by Danilo Lucas
Github - https://github.com/dliocode
*************************************
}
unit Validator.Contains;
interface
uses
DataValidator.ItemBase,
System.SysUtils;
type
TValidatorContains = class(TDataValidatorItemBase, IDataValidatorItem)
pr... |
unit UfrmSend;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, FireDAC.Stan.Intf,
FireDAC.Stan.Option, FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS,
FireDAC.Phys.Intf, FireDAC.DA... |
unit cbControl;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls,
ExtCtrls, Dialogs;
type
TTransparentControl = class(TCustomControl)
private
procedure WMEraseBkgnd(var Msg: TMessage); message WM_ERASEBKGND;
protected
procedure Paint; override;
public
constr... |
unit fileCRC32;
interface
const
CRC32_STDPOLY = $EDB88320; // widely used CRC32 Polynomial
//function GetCRC32Of(const b: byte; const initCRC32Value: Cardinal = 0): Cardinal; overload;
//function GetCRC32Of(const Buffer: pointer; const Size: integer; const initValue: Cardinal = 0): Cardinal; overload;
function GetCR... |
unit UpdateProgram;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.UITypes,
System.StrUtils,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons,
Vcl.ExtCtrls,
JvAppInst,
MSspecialFolders, SBPro, PJVer... |
unit FMX.Camera.Player.Android;
interface
uses
System.Classes, FMX.Camera.Player, Androidapi.JNI.Os, Androidapi.JNI.Hardware,
Androidapi.JNI.GraphicsContentViewText, FMX.SurfaceTexture.Android, Androidapi.JNI.JavaTypes, Androidapi.JNIBridge,
FMX.Types3D, FMX.Material.External, System.Types, System.SyncOb... |
{***********UNITE*************************************************
Auteur ...... : PH
Créé le ...... : 10/09/2001
Modifié le ... : / /
Description .. : Unit de gestion des cas particulers.
Suite ........ : Concerne les différents profils comme les bas salaires.
Suite ........ : En fait, cela correspond à une liste ... |
unit U_Version;
interface
const
C_Major=4;
C_Minor=0;
C_Release=0;
C_Revision=30321;
C_Date=42724.7378295833;
C_DB_Revision=5931;
implementation
end. |
unit XLSTools5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsson, Axol... |
unit uDemoUtils;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, jpeg, ComCtrls,ShellAPI,Inifiles;
const
INI_FILE = 'nfeConfig.ini';
{Remove caracteres de uma string deixando apenas numeros}
function RemoveChar(Const Texto:String):String;
{ Pega... |
object FmSettings: TFmSettings
Left = 300
Top = 221
BorderStyle = bsDialog
Caption = #1053#1072#1089#1090#1088#1086#1081#1082#1080
ClientHeight = 342
ClientWidth = 513
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.St... |
unit UnitFrameSelPrice;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxContainer, cxEdit, dxSkinsCore, dxSkinBlack,
dxSkinBlue, dxSkinBlueprint, dxSkinCaramel, dxSkinCoffee, dxSkinDa... |
unit U_Checkers21;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
extctrls, Grids,StdCtrls, shellAPI;
type
TStatus=(Normal,Removed,King);
TMoveStatus=(NoMove, CanMove,Canjump);
TPiece= class(TShape)
public
playerid:char;
loc:TPoint;
... |
unit JpgFrmtDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, ComCtrls, Jpeg;
type
TJpegImageFormatDlg = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
ProgressiveEncodingCheckBox: TCheckBox;
Label1: TLabel;
... |
//Verificado automaticamente em 16/06/2020 09:28
unit m_ICMS;
interface
uses SYSUTILS, firedac.comp.client, h_db;
Type
TICMS = class
private
ICMS_codigo: String;
ICMS_descricao: String;
// getters
function getICMSCodigo: String;
function getICMSDescricao: String;
procedure clearData;
... |
//==============================================================================
// CellML file: C:\Program Files\COR\Models\matsuoka_model_2003.cellml
// CellML model: matsuoka_model_2003
// Date and time: 23/07/2015 at 11:52:48
//------------------------------------------------------------------------------
// Con... |
unit MarkerMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
Customer.Interfaces, Customer.Attributes;
type
TfrmMarker = class(TForm)
btnCustomerCheckIntf: TButton;
lbLog: TListBo... |
{*******************************************************************************
作者: dmzn@163.com 2007-11-08
描述: 菜单管理器,用于动态菜单的加载
备注:
&.本单元实现了菜单管理器MenuManager.
&.MenuManager主要用于动态菜单的加载和菜单项的查询.
&.为了实现本单元的最大灵活性,所有与数据库相关的操作(读,写),都使用抽象方法,
所以MenuManager是一个不完整的类.在具体的项目中,需要有它的子类来实现读写函数.
&.对于MenuManage... |
{***********UNITE*************************************************
Auteur ...... :
Créé le ...... : 07/10/2009
Modifié le ... : / /
Description .. : Source TOF de la FICHE : BTCONFIRMEPURCHA ()
Mots clefs ... : TOF;BTCONFIRMEPURCHA
*****************************************************************}
Unit BTCONFIRMEP... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.