text stringlengths 14 6.51M |
|---|
{**************************************************************}
{ Name: Transparent Components for Delphi 32 }
{ Author: Medialight Software Solutions }
{ E-Mail: Medialight@yahoo.com }
{ Home Page: http://www.geocities.com/medialight ... |
{
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 applicable... |
////////////////////////////////////////////////////////////////////////////////
// //
// Copyright (c) 2008-2020 Alliance for Sustainable Energy. //
// All rights reserved. ... |
unit rccCodes;
{$mode objfpc}{$H+}
interface
uses
Classes, Contnrs, SysUtils, rccGlobal;
type
TRemoteControlCode = class
KeyName: String;
CodeType: TCodeType;
Code: LongInt;
Bits: Byte;
Raw: TMarkSpaceArray;
constructor Create(AKeyName: String);
procedure Assign(RCCode: TRemoteContro... |
unit uLancPadroes;
interface
uses sysutils, Types, System.Generics.Collections,uConstantes;
type TLanc = class(tObject)
public
descricao : string;
categoria : String;
end;
type TListLancPad = class(TObject)
private
var
FLista : TList<TLanc>;
public
function GetLista : TList<TLanc>;
... |
unit CD.View.Main;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, System.Sensors, System.Sensors.Components,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Objects,
FMX.Layouts, FM... |
unit Lemonade.Helpers.TFieldHelper;
interface
uses
Data.DB, System.SysUtils;
type
TFieldHelper = class helper for TField
public
/// <returns><c>True</c> = <c>string is EmptyStr</c> or <c>Field is Null</c>, otherwise <c>False</c></returns>
function IsEmpty : Boolean;
/// <returns>String UpperCase</r... |
unit DW.Androidapi.JNI.AndroidX.Camera;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Li... |
{
Author: Niels A.D
Project: Lape (http://code.google.com/p/la-pe/)
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
All (script)type and (script)variable classes, including corresponding evaluation functions (runtime/compile time).
}
unit lpvartypes;
{$I lape.inc}
interface
uses
Classes, S... |
unit schedulers;
interface
uses cclasses, machine, threads, debugger;
type
TSchedulerClass = class of TScheduler;
TScheduler = class
private
fPID: PtrInt;
fThreads: TList;
protected
function GetThreadCount: PtrInt;
function GetThread(Index: PtrInt): TThread;
function FindNewThread(out o... |
unit PXL.Devices.Android;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free ... |
unit HashAlgGOSTEngine_U;
// Description: GOST R 34.11-94 Hashing Engine
// By Sarah Dean
// Email: sdean12@softhome.net
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
// Delphi translation of the GOST hash program by SSH Communications Securi... |
(* ***** 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... |
{==============================================================================}
{ PROJECT: lysee_inifs_funcs }
{ DESCRIPTION: functions of init file }
{ COPYRIGHT: Copyright (c) 2003-2011, Li Yun Jie. All Rights Reserved. ... |
{ RegisterRxTools unit
Copyright (C) 2005-2013 Lagunov Aleksey alexs@yandex.ru and Lazarus team
original conception from rx library for Delphi (c)
This library is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Softwa... |
unit xxmPRegXml;
interface
uses Windows, SysUtils, xxm, xxmPReg, MSXML2_TLB;
type
TXxmProjectCacheEntry=class(TXxmProjectEntry)
private
FAllowInclude:boolean;
protected
procedure SetSignature(const Value: AnsiString); override;
function GetExtensionMimeType(const x: AnsiString): AnsiStr... |
unit uSetting;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, INIFiles, Printers;
type
TfrmSetting = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
CbPrinter: TComboBox;
... |
unit uOrderFlag;
{ Order Flag Info object }
{ ------------------------------------------------------------------------------
Update History
2016-05-17: NSR#20110719 (Order Flag Recommendations)
------------------------------------------------------------------------------- }
interface
uses
rOrders, ORFn, Sys... |
{******************************************************************}
{ 在dbgrid基础上加入边框线,和外框线.隔行画底线.点击标题排序等功能. }
{ 作者:yxp132 }
{ QQ:85076500 }
{ Email:132xyz20@163.com }
... |
unit Linux.ServerModule;
interface
uses
System.SysUtils, System.Classes, IdBaseComponent, IdComponent, IdCustomTCPServer,
IdCustomHTTPServer, IdHTTPServer, Stats.SystemInfo, System.IOUtils,
System.JSON.Serializers, Stats.Config, IdContext, Linux.Utils, Stats.Types;
type
TServerModule = class(TDataM... |
unit SkyVioSecureCompatibility;
interface
type
TVioSecure = class(TObject)
private
public
class function application_open(path, name: string): integer;
end;
implementation
uses
Windows, SysUtils, PsAPI, TlHelp32;
class function TVioSecure.application_open(path, name: string): integer;... |
unit Deltics.Strings.FXUtils;
interface
uses
Windows,
Deltics.Strings;
const
FXCOMPAREFLAG_CASE: array[csCaseSensitive..csIgnoreCase] of Cardinal = (0, NORM_IGNORECASE);
type
FXContains = class
class function HasResult(const aNeed: TContainNeeds; var aResult: Boolean... |
unit UnitQz;
interface
function printKuitansi(file_name: String): string;
function printLabel(no_lab: string; nama: string; usia: string;
tgl_lahir: string; alamat: string; tgl: string; hp: string; dokter: string;
gender: string; zpl: string): string;
function printBarcode(sid: string; pid: string; nama: string;
... |
{
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.Firebase.Messaging.iOS;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
unit Loyals;
interface
uses
enDeliverer, enLoyalty, XMLIntf, XMLDoc, Variants, SysUtils, Dialogs;
type
ILoyal = interface
function getPercent(percent : Double; loyalPercent : Double) : Double; OVERLOAD;
function getPercent(percent : Double; loyalPercent : Double; days : Integer) : Double; OVERLOAD;... |
unit MilandrRev8.ReconstructorThread;
interface
implementation
uses
System.Classes,
System.SysUtils,
System.IniFiles,
System.Math,
System.Generics.Defaults,
System.Generics.Collections,
Winapi.Windows,
Vodopad.CustomIniHelpers,
Vodopad.Math,
VdpDMAccess,
ToleranceObj,
ChipAbstractInterface,
MilandrRev8IMS,
Milandr... |
unit U_DM;
interface
uses
System.SysUtils, System.Classes, IBX.IBDatabase, Data.DB, IBX.IBCustomDataSet,
IBX.IBUpdateSQL, IBX.IBQuery, DateUtils;
type
TDM = class(TDataModule)
DB_Principal: TIBDatabase;
DB_Transaction: TIBTransaction;
TB_Cidade: TIBQuery;
SQL_Cidade: TIBUpdateSQL;
DS_Cidade... |
unit CgGeometry;
{ CgLib: Basic geometry routines.
Version 1.00
(c) 1998-2000 Tom Nuydens. Use at your own risk. See cglib.txt for details. }
interface
uses
CgTypes;
procedure cgSetPrecision(eps: Single);
function cgPrecision: Single;
function cgOrigin: TCGVector;
function cgXAxis: TCGVector;
function cgYAxis... |
unit uScriptInterfaces;
interface
type
TAbstractScriptEditor = class
protected
function GetCol: Integer; virtual; abstract;
function GetRow: Integer; virtual; abstract;
function GetSelLength: Integer; virtual; abstract;
function GetSelStart: Integer; virtual; abstract;
function GetSelText: Str... |
unit frmUserAttrU;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls, utlUCU;
type
TfrmUserAttr = class(TForm)
Label1: TLabel;
edtCode: TEdit;
Bevel1: TBevel;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Label2: TLabel;
edtDe... |
(* ***** 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... |
unit XLSClassFactory5;
{-
********************************************************************************
******* XLSReadWriteII V6.00 *******
******* *******
******* Copyright(C) 1999,2017 Lars Arvidsso... |
unit TarifRapide;
// cette saisie rapide n'existe que pour les tarifs quantitatifs : GF_QUANTITATIF = 'X'
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
HTB97, Grids, Hctrls, ComCtrls, ExtCtrls, HPanel, StdCtrls, Mask, UIUtil,
Hent1, TarifUtil,SaisUtil, HSysMenu,
{$IFN... |
{$include opts.inc}
unit rox_mv_ending;
interface
uses
USystem, UMath, Utils, UClasses, GLUtils,
rox_state_adventure, rox_world, rox_location, rox_decoration, rox_paths, rox_actor, rox_ep_bar, rox_gfx, rox_timer, rox_dialogue,
rox_state_mainmenu;
type
pMv_Ending = ^Mv_Ending;
Mv_Ending = object(Adve... |
unit DeDeDUF;
interface
uses Classes, DeDeExpressions, DeDeEditText;
///////////////////////////////////
// DUF File Format
///////////////////////////////////
// DWORD - Magic (DUF!)
// Byte - DUF Version
// DWORD - Var table offset
// DWORD - Var table record count
// DWORD - Comments table offset
/... |
unit uComboBoxRoutines;
interface
uses SysUtils, Classes, StdCtrls, Windows, Messages;
type
TComboSearchThread = class; // Forward declaration
TLoadItemsComboCallback = procedure(AText: string) of object;
//************************************************************************
//* TDynamicComboBoxHandler
//**... |
unit EntityJsonWriter;
{$mode objfpc}{$H+}
interface
uses
Classes, Entity, EntityWriter, TypesConsts, EntityList, superobject, SkyIdList;
type
TEntityJsonWriter = class(TEntityWriter)
private
class procedure WriteEntityContent(AnEntity: TEntity; AContext: TEntityWriterContext);
protected
... |
// chuacw, Singapore
unit IdDNSoverHTTPSResolver;
interface
uses
IdDNSResolver, IdDNSCommon, IdHTTP, IdGlobal, IdURI;
type
TIdDoHResolver = class(TIdDNSResolver)
protected
// Fot bootstrapping only!
FURI: TIdURI;
FQueryURL, FBootstrapAddress: string;
FHTTP: TIdHTTP;
FSSLIOHandler: TObject;... |
unit Stats.Disk;
interface
uses
System.Classes, System.SysUtils, Linux.Utils, System.JSON.Serializers,
Stats.Config, Stats.Types;
type
TDiskInfo = class
private
[JSONName('Name')]
FName: string;
[JSONName('MountPoint')]
FMount: string;
[JSONName('%Used')]
FPerUsed: Dou... |
{==============================================================================}
{ UNIT: lse_console }
{ DESCRIPTION: console implementation of lysee script interpreter }
{ COPYRIGHT: Copyright (c) 2003-2011, Li Yun Jie. All Rights Reserved. ... |
unit UCreateAttributes;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, typinfo, Graphics, ExtCtrls, StdCtrls, Controls, spin,
LCLType, FPCanvas, Dialogs, UDefine, UFigure;
type
{ TFigureAttr }
TFigureAttr = class
private
NameOfAttr: TLabel;
Objs: array of TPersistent;
AboutAttr: PProp... |
unit ProgressUnit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ComCtrls, ExtCtrls;
type
TfrmProgress = class(TForm)
pbOverall: TProgressBar;
pbPackage: TProgressBar;
pbActivity: TProgressBar;
Label1: TLabel;
Label2: TLabel;
... |
unit Mouse;
interface
uses
Windows, forms, graphics, tickcount;
procedure MoveMouse(x,y: integer);
procedure ClickMouse(x,y: integer);
procedure MouseDown(x,y: integer; bRight: boolean = false);
procedure MouseUp(x,y: integer; bRight: boolean = false);
var
lastmousex: integer;
lastmousey: integer;
implementa... |
unit MainForm;
interface
uses
Windows, SysUtils, Classes, Controls, Forms, Tabs, ComCtrls, StdCtrls, Bass,
InputRecord, ExtCtrls, IdBaseComponent, IdComponent, IdTCPConnection,
IdTCPClient, IdContext, IdTCPServer, IdCustomTCPServer;
type
TForm1 = class(TForm)
PageControl1: TPageControl;
S... |
unit Prototype.CloneableJSON;
interface
uses
System.Classes;
type
TData = class
strict private
FValue: integer;
public
property Value: integer read FValue write FValue;
end;
TCloneableJSON = class
strict private
FData: TData;
FIsBar: boolean;
FName: string;
public
constructor... |
unit uPersonRepository;
interface
uses DB, ADODB, uDomainTypes, uPerson, uPersonDbMapper, uDb;
type
TPersonRepository = class
private
FMapper: TPersonDbMapper;
public
constructor Create (Connection: TADOConnection); virtual;
destructor Destroy; override;
procedure Add (Person: TPerson);
pro... |
{==============================================================================
_ ve'va'CHe
__ _(_)_ ____ _ ___ ___ ™
\ \ / / \ \ / / _` |/ __/ _ \
\ V /| |\ V / (_| | (_| __/
\_/ |_| \_/ \__,_|\___\___|
game toolkit
Copyright © 2020 tinyBigGAMES™ LLC
All rights re... |
unit InputRecord;
interface
uses
Classes;
type
TInputRecordThread = class(TThread)
private
FData: TMemoryStream;
FLoopback: Boolean;
protected
procedure Execute; override;
public
constructor Create(CreateSuspended: Boolean);
destructor Destroy; override;
property ... |
unit UnitFuncoesComuns;
interface
uses
DB,
UnitConstantes,
UnitConnection.Model.Interfaces,
System.SysUtils,
System.NetEncoding,
UnitDatabase,
IdCoderMIME;
function EnDecryptString(StrValue: String; Chave: Word): String;
function GeraCodigo(Tabela, Campo: string): integer;
function FormatarData(Value: ... |
unit RepositorioConferenciaPedido;
interface
uses DB,
Auditoria,
Repositorio;
type
TRepositorioConferenciaPedido = class(TRepositorio)
protected ... |
{
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 applicable... |
unit PXL.Types;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free Software F... |
{
ALTON PRILLAMAN
HOWEVER, <g> now would be a good time to learn about "Bitwise Operators"
to accomplish your goal With minimal memory requirements. I'll start With
the basics (no offense intended). You may have heard, or remember from a
Programming class that a Byte is made up of 8 bits. When looking at a By... |
unit FrmSetup;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Tabs, ExtCtrls, StdCtrls, CheckLst, ComCtrls;
type
TFormSetup = class(TForm)
TabSet: TTabSet;
Panel1: TPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
... |
unit DW.iOSapi.CoreNFC;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library }... |
unit tappymodules;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics,
// TappyTux
tappyconfig;
type
{ TTappyModule }
TTappyModule = class
public
imgLevel2, imgLevel3: TJPEGImage;
imgPenguim : TBitmap;
ShortDescription, LongDescription: string;
ConfigCaption, ConfigItems: s... |
unit uDatecsFP3530_UtilCommonFunction;
interface
uses SysUtils, uDatecsFP3530CommonTypes;
{Функция для сравнения двух объектов типа TItem}
function CompareItems(AFirstItem, ASecondItem: TItem): Integer;overload;
function CompareItems(AFirstItem, ASecondItem: TArticle): Integer;overload;
function CompareItems... |
unit UnitProgresStop;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Buttons, ComCtrls, StdCtrls, ExtCtrls,UnitProc;
type
TFrmProgresBarStop = class(TForm)
Panel1: TPanel;
ProgressBar: TProgressBar;
Panel2: TPanel;
ButStopProgress: TSpeedButto... |
unit MidiConsts;
interface
const
MIDI_NOTE_ON = $90;
MIDI_NOTE_OFF = $80;
MIDI_AFTERTOUCH = $a0;
MIDI_CONTROLLER = $b0;
MIDI_PATCH = $C0;
MIDI_CHANNEL_PRESSURE = $d0;
MIDI_PITCH_BEND = $e0;
MIDI_SYSTEM = $F0;
function MidiIs3byte(b : byte): boolean;inline;
function MidiIs2Byte(b: byte): boolean;inl... |
unit Utils.ListViewHelper;
interface
uses
FMX.ListView;
type
TListViewHelper = class helper for TListView
public
function ItemHeight(const idx: Integer): Single;
function TotalItemsHeight: Single;
end;
implementation
uses
FMX.ListView.Types;
{ TListViewHelper }
function TListViewHelper.ItemHeig... |
unit Material.CEP;
interface
uses
System.SysUtils, System.Classes, System.JSON, IdHTTP, IdSSLOpenSSL,
IPPeerClient, REST.Client, FMX.Dialogs, FMX.Forms;
const
BASE_URL = 'https://viacep.com.br/ws/';
type
TRetornoCEP = class
private
FrUF: string;
FrComplemento: string;
FrCidade:... |
unit Main;
{*
Add coulomb counting?
keep track of how much charged.
BMS keep track of how much discharged, report value to charging app?
*}
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
{$define liveupdate}
interface
uses
// Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
//... |
unit IPEdit;
interface
uses Windows, Messages, SysUtils, Types, StrUtils, Classes, Forms, Controls, ComCtrls, CommCtrl;
type
TFieldRange = record
LowRange: Byte;
HighRange: Byte;
end;
TFieldChangeEvent = procedure(Sender: TObject; OldField, Value: Byte) of Object;
TIPEdit = class(TWinControl)
pri... |
unit uRequisicaoItem;
interface
uses
SysUtils,
CmObjNegocio, CmConexaoBcoDados, uConexaoBcoDadosPituka;
type
TStatusItemRequisicao = (sirNovo, sirCancelado, sirParcialEntregue, sirEncerrado);
TRequisicaoItem = class(TObjetoNegocio)
private
FIdRequisicao : Integer;
FCodTipoProd : Word;
FCodPro... |
unit FSD.ServiceModule;
interface
uses
System.SysUtils, System.Classes, System.Android.Service,
AndroidApi.JNI.GraphicsContentViewText, Androidapi.JNI.Os, Androidapi.JNI.App,
DW.MultiReceiver.Android;
type
TServiceModule = class;
TLocalReceiver = class(TMultiReceiver)
private
FService:... |
unit websec_html;
{$mode objfpc}{$H+}
interface
uses
SysUtils, StrUtils;
function escapeHtml(html: String):String;
function unescapeHtml(html: String):String;
implementation
{
Based on https://www.hacksplaining.com/prevention/xss-stored
https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Pre... |
unit unFuncoes;
interface
uses
Dialogs;
type
TFuncoes = class
private
protected
public
function TrataReal(Valor: string): string;
function BuscaFk(codigo,tabela,desc: string): string;
function Extenso(valor: real): string;
function Permissao(iTela, iBotao: integer; bInic... |
unit MSSystemItemUnit;
interface
uses
Classes, Contnrs, ADOdb,
db, Forms, Controls, extctrls, Variants,
MSConnectionDataModuleUnit;
type
TMSSystemItem = class;
TMSSystemItems = class(TPersistent)
strict private
FADOQuery: TADOQuery;
FMSConnectionDataModule: TMSConnectionDataModule... |
unit JEN_Debugger;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
Windows,
Messages,
JEN_Helpers;
const
CONSOLE_WINDOW_CLASS_NAME = 'JENConsoleWnd';
{
type
TDebugger = class(TInterfacedObject, IJenDebugger)
constructor Create(FileName : String);
destructor Destroy;... |
{*******************************************************************************
×÷Õß: dmzn@163.com 2009-7-21
ÃèÊö: ͸Ã÷±à¼¿ò
*******************************************************************************}
unit UTransEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus, Vcl.StdCtrls, RegularExpressions, StrUtils, Math;
type
TMainForm = class(TForm)
b_OpenFile: TButton;
b_EnterText: TButton;
Ans... |
unit UZ_23a;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, Menus, Logic;
type
{ TForm1 }
TForm1 = class(TForm) //Класс формы
Button1: TButton; //Начало поля класса
MainMenu1: TMainMenu;
Memo1: TMemo;
Load: TOpenDi... |
unit DownloadFile;
interface
uses SysUtils, Classes, Dialogs, Graphics, Windows, Forms, ExtCtrls,
WinInet, mshtml, inifiles, ShellApi;
const
NO_CACHE = INTERNET_FLAG_DONT_CACHE;
CACHE = 0;
type
{Result Data}
TResultData = record
OK : Boolean;
parString : String;
en... |
unit CommonDataSet;
////////////////////////////////////////////////////////////////////////////////
//
// Description: Data Set
// Author: lksoulman
// Date: 2017-4-6
// Comments:
//
////////////////////////////////////////////////////////////////////////////////
interface
uses Classes, DB, SysUtils, Wn... |
unit NestorAS80;
interface
uses
SysUtils, Classes, CheckLst, MemoryZ80;
procedure ReadConfig(var AsmFile, ExePath, Compiler, Parameters: string);
procedure DoDebug(Mem: TMemoryView; ListDebug: TCheckListBox; ListSym: TStrings; FileName: string; Limpa: Boolean);
implementation
uses
StrUtils, XMLIni;
function A... |
unit DOHRegister;
interface
procedure Register;
implementation
uses
System.Classes, IdCloudflareDNS, IdGoogleDNS, IdQuad9DNS;
procedure Register;
begin
RegisterComponents('DNS over HTTPS', [TIdCloudflareDNSResolver,
TIdGoogleDNSResolver, TIdQuad9DNSResolver]);
end;
end.
|
{$A+,B-,C+,D+,E-,F-,G+,H+,I+,J+,K-,L+,M-,N+,O+,P+,Q-,R-,S-,T-,U-,V+,W-,X+,Y+,Z1}
{$MINSTACKSIZE $00004000}
{$MAXSTACKSIZE $00100000}
{$IMAGEBASE $00400000}
{$APPTYPE GUI}
Unit UTofCutOff ;
Interface
Uses
Classes,
UTof,
UTob,
HCtrls,
Menus, // PopUpMenu
Grids, // TGrid... |
unit kiddienames;
//Contains a single function for auto-generating group names. Used for Digital TundraLINK.
interface
function GetAutoGroupName(i: integer): ansistring;
implementation
function GetAutoGroupName(i: integer): ansistring;
//Given an integer, returns a kid-friendly group name.
//Supports only 31 combi... |
unit EXACInvalid;
interface
type
tInvalidBaseYear = (
iby2000, iby2001, iby2003, iby2004, iby2005, iby2006, iby2007, iby2008, iby2009,
iby2010, iby2011, iby2013, iby2014, iby2015, iby2016, iby2017, iby2018, iby2019,
iby2020, iby2021, iby2023, iby2024, iby2025, iby2026, iby2027, iby2028, iby2029,
iby2... |
unit OScan;
{ Конвертор }
interface
const
NameLen = 31;{Наибольшая длина имени}
type
tName = string[NameLen];
tLex = (lexNone, lexName, lexNum,
lexMODULE, lexIMPORT, lexBEGIN, lexEND,
lexCONST, lexVAR, lexWHILE, lexDO,
lexIF, lexTHEN, lexELSIF, lexELSE,
lexMult, lexDIV, lexMOD, lexPlu... |
unit CustomIterators.DynArray;
interface
uses
System.Generics.Collections;
type
TArrayEnumerator<T> = class(TEnumerator<T>)
private
FData: TArray<T>;
FCurrent: integer;
protected
function DoGetCurrent: T; override;
function DoMoveNext: Boolean; override;
public
constructor Create(const ... |
unit PXL.Devices.GLES.RPi;
{
This file is part of Asphyre Framework, also known as Pascal eXtended Library (PXL).
Copyright (c) 2000 - 2015 Yuriy Kotsarenko
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General
Public License as published by the Free... |
unit UberPDFExample.Examples.StampedDocument;
{$mode objfpc}{$H+}
interface
//------------------------------------------------------------------------------
// include the file to let uber figure out what compiler and version is used
//------------------------------------------------------------------------------
{$... |
unit MathOps;
interface
function InterpolatedF(a,b,c, x,y,z, d: real): real;
{ estimates value of function at pt. d based on values x,y,z at pts. a,b,c }
function Poly(var PolyCoeffs; Size: integer; X: real): real;
{ returns value of a polynomial at point X, with PolyCoeffs being the array
of REAL co... |
unit WriteETSUnit;
interface
uses Sysutils, Classes, Grids, Forms, ANEPIE, WriteModflowDiscretization;
type
TEtsWriter = class(TModflowWriter)
private
NETSOP : integer;
NPETS : integer;
NETSEG : integer;
ETSX : array of array of double;
PXDP, PETM : array of array of double;
procedure Wri... |
{==============================================================================}
{ Модуль : Interpreter.pas }
{ Разработчик : Денис Артёмов (denis.artyomov@gmail.com) }
{============================================================================... |
{ Copyright (c) 2007-2012 Jeroen Wiert Pluimers for BeSharp.net and better office benelux.
Full BSD License is available at http://besharp.codeplex.com/license and http://bo.codeplex.com/license }
unit NullableWrappersUnit; // TPersistent wrappers around the Nullable types so you can use them in the Object Inspecto... |
unit InptHistDlg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, ExtCtrls;
type
TInputHistoryDlg = class(TForm)
CtrlPanel: TPanel;
OkBtn: TBitBtn;
CancelBtn: TBitBtn;
PromptLabel: TLabel;
ComboBox: TComboBox;
procedure FormCre... |
unit WriteModflowZonesUnit;
interface
uses Windows, Sysutils, Classes, Forms, ANEPIE, WriteModflowDiscretization;
type
TZoneWriter = class(TModflowWriter)
private
FZoneCount : integer;
FZoneArray: array of array of array of Integer;
FTempFileName: string;
FCachedZoneArrayIndex: integer;
FCach... |
unit CommonLang;
interface
uses
Windows, SysUtils, Classes,
LanguageUnit, LanguageSetUnit, LanguageSetLoaderJsonUnit,
CommonLog;
var
GlobalLanguageSet: TLanguageSet;
GlobalLanguage: TLanguage;
procedure LoadGlobalLanguage;
function Lang: TLanguage;
procedure ReleaseGlobalLanguage;
implem... |
{
TUserAccountInfo Component Version 3.0 - Suite GLibWMI
Copyright (©) 2020, by Germán Estévez (Neftalí)
La clase Win32_UserAccount contiene información acerca de una cuenta de usuario de un sistema Win32.
Utilización/Usage:
(ES) Basta con "soltar" el componente y activarlo.
(EN) Place the component in the form and... |
unit uFrameSettingsHTTPHeader;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, Menus, ImgList, Buttons, ufrmPOSTWizard,
uPngSpeedButton;
type
TfrmSettingsHTTPHeader = class(TFrame)
GroupBox1: TGroupBox;
Label4: TLabel;... |
unit CorFilha;
interface
uses
SysUtils,
Contnrs,
Cor;
type
TCorFilha = class
private
Fcodigo_cor_filha: integer;
Fcodigo_cor_pai: integer;
Fcodigo: integer;
FCorPai :TCor;
FCorFilha :TCor;
procedure Setcodigo(const Value: integer);
procedure Setcodigo_cor_filha(const... |
unit uMyListListView;
interface
uses
Classes;
// Image Indexes for respective states
const
bmpACTIVE = 0;
bmpDISABLED = 1;
bmpBANNED = 7;
type
TProxy = class
private
strProxy,
strPort,
strStatus: string;
iPosition,
iImageIndex: integer;
public
procedure ... |
unit TokenParser;
interface
uses
Classes;
type
TTokenParser = class
private
FFirstChar,
FLastChar: PAnsiChar;
FStreamEnd: PAnsiChar;
FOutStream: TStream;
function GetToken: string;
function FindOpening: Boolean;
function FindEnding: Boolean;
public
construct... |
unit DelphiThreadingMain;
interface
uses
Winapi.Windows, Winapi.Messages,
System.SysUtils, System.Variants, System.Classes, System.Threading,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
const
WM_LOG = WM_USER;
type
TfrmDelphiThreading = class(TForm)
btnThread: TButton;
btnFre... |
{
Author: Niels A.D
Project: Lape (http://code.google.com/p/la-pe/)
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Foreign function interface extension with help of libffi.
}
unit lpffi;
{$I lape.inc}
interface
uses
Classes, SysUtils,
lptypes, lpvartypes, lpvartypes_array, lpcompiler, l... |
unit Helper.Util;
interface
uses
System.SysUtils,
System.StrUtils,
System.DateUtils,
System.Generics.Collections;
type
Util = class
public
class function FormatName(const AText: string): string;
class function GetAge(const AThen: TDateTime): Integer;
end;
implementation
{ Uti... |
{$R+,B+}
program task1218(input, output);
var
a, b: integer;
function gcd1(a, b: integer): integer;
var modulo: integer;
begin
modulo := a mod b;
if modulo = 0 then gcd1 := b else
gcd1 := gcd1(b, modulo)
end;
function gcd2(a, b: integer): integer;
begin
if a = b then gcd2 := a else begin
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.