text stringlengths 14 6.51M |
|---|
unit support;
interface
uses Classes;
function Int2Str(wT: word; bSize: byte = 2): string;
function PackLine(wSize: word): string;
function PackStrR(stT: string; wSize: word): string;
function PackStrL(stT: string; wSize: word): string;
function DateTime2Str: string;
function FromBCD(bT: byte): byte;
function ToB... |
unit AuxProcs;
interface
uses mstask, windows, SysUtils;
function GetLocalComputerName: string;
function StrToWide(p_sSource: string): LPCWSTR;
function MessageFromValue(Value: Integer): string;
implementation
var
wsBuffer: PWideChar;
function GetLocalComputerName: string;
var
Count: Cardinal;
begin
Count :... |
unit uMainDM;
interface
uses
System.SysUtils, System.Classes, System.Net.URLClient, System.Net.HttpClient,
System.Net.HttpClientComponent, System.Threading, FMX.Objects;
type
TMainDM = class(TDataModule)
NetHTTPClient1: TNetHTTPClient;
NetHTTPRequest1: TNetHTTPRequest;
procedure DataMod... |
{-------------------------------------------------------------------------
Copyright by Haeger + Busch, Germany / >>>>>>>>> /-----
Ingenieurbuero fuer Kommunikationslösungen / <<<<<<<<< /
----------------------------------------------------/ >>>>>>>>> /
Homepage : http://www.hbTapi.com... |
unit uSendDataFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentForm, Provider, cxControls, cxContainer,
cxEdit, cxTextEdit, cxMaskEdit, cxDropDownEdit, cxCalendar, XiButton,
ExtCtrls, StdCtrls;
const
MR_PET_DATA = 'MRPetData.exe';
type
TSend... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
{: Benchmark and stress test for PFX.<p>
Fires are made of additively blended particles, smoke of transparently
blended ones. Smokes of distinct fires should hide each other, and smoke
in a particular fire should hide its top flames a bit.<p>
02/03/2005 - GF3 / AXP 2 GHz - 53 FPS
}
unit Unit1;
{$MO... |
unit frmStdArtInfo;
{*|<PRE>*****************************************************************************
软件名称 FNM CLIENT MODEL
版权所有 (C) 2004-2005 ESQUEL GROUP GET/IT
单元名称 frmStdArtInfo.pas ... |
////////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All rig... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
unit uHashTableXML;
interface
uses
Classes,
RTLConsts,
uHashTable,
OmniXML,
JclStrings,
SysUtils;
const
UNIT_NAME = 'uHashTableXML';
type
TFileName = string;
THashStringTableXML = class(THashStringTable)
private
FRootNode : String;
protected
function XMLToHashTable... |
unit AvgHolPayment_MainForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData,
cxDataStorage, cxEdit, DB, cxDBData, cxGridLevel, cxClasses, cxControls,
cxGridCustomView, cxGridCustomTableView, cxGridTableVie... |
unit EanAce;
interface
uses Classes, Windows, SysUtils,EanKod, Graphics, Messages,
Controls,Dialogs,EanSpecs, SctCtrl, AceOut;
{$I EAN.INC}
type
TAceCustomEan = class(TSctLabel)
private
FCharWidthMM : Double;
FOnBeforePrint,
FOnAfterPrint : TNotifyEvent;
procedure S... |
unit StringUtilClass;
{
字符串工具类
}
interface
uses SysUtils, Variants, Classes;
function ChnToPY(Value: string): string; //取拼音首字母
implementation
const py: array[216..247] of string = (
{216}'CJWGNSPGCGNESYPB' + 'TYYZDXYKYGTDJNMJ' + 'QMBSGZSCYJSYYZPG' +
{216}'KBZGYCYWYKGKLJSW' + 'KPJQHYZWDDZ... |
{
Modifications:
==============
ie01: OnChange delayed for 500 ms.
ie02: No usage of BrowseDirectory component
ie03: Resume suspended thread when terminating the thread
}
// ==================== DISC DRIVE MONITOR =====================================
//
// Class and Component to encapsulate the ... |
unit uDwm.NoBorderForm;
interface
uses
Windows, Classes, Messages, SysUtils, Forms, UxTheme, Dwmapi;
type
TDwmAero = class(TObject)
public
class function OSMajorVersion: Cardinal;
class function IsAeroEnabled: Boolean;
class procedure SetShadow(Handle: THandle);
class procedure SetFramesSize(Ha... |
unit uConfigFrm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uParentModalForm, XiButton, ExtCtrls, StdCtrls, ComCtrls, DB,
DBClient, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxLookupEdit, cxDBLookupEdit, cxDBLookupComboBox,... |
unit PlugShare;
interface
uses
Windows, Classes, EngineType;
resourcestring
sDBHeaderDesc = '自定义魔法数据库 程序制作:http://www.IGEM2.com.cn';
m_sDBFileName='UserMagic.db';
type
TDBHeader = packed record //Size 12
sDesc: string[49]; //0x00 36
nLastIndex: Integer; //0x5C
nMagicCount: Integer; //0x68
dC... |
unit VirtualScrollingWinControl;
interface
uses
SysUtils,Windows,Messages,Classes,Controls,Graphics;
type
TScrollBarUpdateStateItem=(sbuPage,sbuPosition,sbuRange);
TScrollBarUpdateState=set of TScrollBarUpdateStateItem;
TVirtualScrollBar=class
private
FWND:HWND;
FVertical:Boolean;
... |
unit VirtualSendToMenu;
// Version 1.3.0
//
// 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/
//
// Alternatively, you may... |
unit uspQuery;
interface
uses
System.Classes, FireDAC.Comp.Client, FireDAC.DApt;
type
TNotifyEvent = procedure(Sender: TObject) of Object;
TspQuery = class(TFDQuery)
private
FspColunas: TStringList;
FspTabelas: TStringList;
FspCondicoes: TStringList;
FStatus: TNotifyEvent;
... |
{**************************************************************************************************}
{ }
{ Unit uHSLUtils }
{ unit for the... |
unit uFrmPromoItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB,
cxDBData, Buttons, cxGridLevel, cxGridCustomTableView, cxGridTabl... |
unit FCM;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,DW.PushClient,
FMX.Controls.Presentation, FMX.ScrollBox, FMX.Memo,System.PushNotification;
type
TForm3 = class(TForm)
Memo1: TM... |
unit DSA.Tree.LinkedListMap;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Rtti,
DSA.Interfaces.Comparer,
DSA.Interfaces.DataStructure,
DSA.Utils;
type
{ TLinkedListMap }
generic TLinkedListMap<K, V, TKeyComparer> =
class(TInterfacedObject, specialize IMap<K, V>)
private
type
... |
unit InflatablesList_Item_Search;
{$INCLUDE '.\InflatablesList_defs.inc'}
interface
uses
InflatablesList_Types,
InflatablesList_ItemShop,
InflatablesList_Item_Comp;
type
TILItem_Search = class(TILItem_Comp)
protected
Function SearchField(const SearchSettings: TILAdvSearchSettings; Field: TILAdvItemSea... |
//Contains all script commands used by the lua system
//Note the command lual_argcheck will cause the procedure it is in to call exit;
//So be aware of your code!
unit LuaNPCCommands;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
uses
LuaCoreRoutines,
LuaTypes;
function LoadNPCCommands(var ALua ... |
unit uLinkListEditorFolders;
interface
uses
Generics.Collections,
Winapi.Windows,
System.SysUtils,
System.Classes,
Vcl.Controls,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.Graphics,
Dmitry.Controls.WatermarkedEdit,
Dmitry.Controls.WebLink,
Dmitry.PathProviders,
UnitDBDeclare,
uMe... |
unit TpAuthenticator;
interface
uses
SysUtils, Classes,
ThHtmlDocument, ThHeaderComponent, ThTag,
TpInterfaces, TpControls, TpDb, TpInput;
type
TTpCustomAuthenticator = class(TThHeaderComponent, ITpIncludeLister)
private
FAuto: Boolean;
FFailureUrl: string;
FLogoutUrl: string;
FOnFailure:... |
unit uDMImportTextFile;
interface
uses
SysUtils, Classes, DBClient, DB, ADODB, uDMGlobal, Variants;
type
TDMImportTextFile = class(TDataModule)
qryInsConfigImport: TADOQuery;
qryUpdConfigImport: TADOQuery;
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
... |
namespace Loops;
interface
uses System.Linq;
type
ConsoleApp = class
public
class method Main;
method loopsTesting;
method fillData : sequence of Country;
var
Countries : sequence of Country;
end;
type
Country = public class
public
property Name : String;
property Capital : Stri... |
unit uPRK_SP_PERELIK_ISPIT_Edit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxTextEdit, cxMaskEdit, cxButtonEdit,
ActnList, cxControls, cxContainer, cxEdit, cxLabel, StdCtrls, cxButtons,
ExtCtrls, cxCheckBox,AArray, DB, FIBDataSet,... |
unit UnitOpenGLEnvMapDrawShader;
{$ifdef fpc}
{$mode delphi}
{$ifdef cpui386}
{$define cpu386}
{$endif}
{$ifdef cpuamd64}
{$define cpux86_64}
{$endif}
{$ifdef cpu386}
{$define cpux86}
{$define cpu32}
{$asmmode intel}
{$endif}
{$ifdef cpux86_64}
{$define cpux64}
{$define cpu64}
{... |
unit uProcessMemMgr;
{
author: Michael Winter, delphi.net@gmx.net
ver: 0.8, 2001-11-20
desc:
Provides access to memory of other processes currently running on the same
machine. Memory can be allocated and deallocated inside the context of the
other process. Read and write operations supported, not limited to porti... |
unit OTFECrossCrypt_DriverAPI;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows;
type
// ------------------------
// DELPHI FACING ST... |
unit uAlertCore;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UtilsBase;
type
{ Механизм оповещений }
TAlertWindowEventType = (awetFeedBack, awetRMedication, awetMissedCall, awetPay, awetPayCheck, awetError, awetUser, awetPharmacy, awetNewPost, awetCall);... |
unit MediaPlayer.StateConversion;
interface
uses System.Classes, System.SysUtils, Data.Bind.Components, System.Bindings.Helper, System.Generics.Collections,
FMX.Types, FMX.Media;
implementation
uses System.Bindings.EvalProtocol, System.Rtti, System.Bindings.Outputs, Fmx.Bind.Consts;
const
sMediaPlayerStateT... |
// Imprimir la media de los elementos que se encuentran en las posiciones pares
//y la media de los elementos que se encuentran en las posiciones impares de un vector numérica.
Program TP7E9;
uses crt;
const n=1000;
type t_vector=array[1..n] of real;
var vector:t_vector;
lim:integer;
Procedure inici... |
//
// Generated by JavaToPas v1.4 20140515 - 180839
////////////////////////////////////////////////////////////////////////////////
unit org.apache.http.impl.conn.LoggingSessionOutputBuffer;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
org.apache.http.io.SessionOutputBuffer,
org.apache.http... |
{
*************************************
* Crossing Bridge game engine *
*-----------------------------------*
* Version : 1.0 *
* Coder : David Eleazar *
* Prog. Lang : Pascal *
* Compiler : Free Pascal 3.0.4 *
* Date Added : December 15th, 2019 ... |
unit TiMessages;
interface
uses Classes, SysUtils,Dialogs,Graphics,Forms,StdCtrls;
function TiShowMessage(Title:String;Msg:String;DlgType:TMsgDlgType;Buttons:TMsgDlgButtons):Integer;
implementation
const OkBtnCaption = 'Ок';
const CancelBtnCaption = 'Відмінити';
const YesBtnCaption = ... |
program Exercise1;
Uses sysutils;
var
numbersString: String;
numbersArray: Array of Integer;
number: Integer;
type
ArrayOfInteger = array of Integer;
{ Counts the occurences of separator in str }
function Occurs(CONST str, separator: string): Integer;
var
i, nSep: Integer;
begin
nSep:= 0;
for ... |
PROGRAM Serie;
USES Crt;
(*11100011b 9600 baudios 1 bit stop*)
CONST
COM1_Base = $3F8;
COM2_Base = $2F8;
LCR_Offset = $03;
Latch_Low = $00;
Latch_High = $01;
VAR
gbNoWait: boolean;
gbStopArduino: boolean;
gbBaud: longint;
gbCadFile: string;
gbDelayLine: word;
gbCurrentTime: LONGINT ABSOLUTE $0... |
unit InvModOpTest;
interface
uses
DUnitX.TestFramework,
uIntX;
type
[TestFixture]
TInvModTest = class(TObject)
public
[Test]
procedure IntXBothPositive();
end;
implementation
procedure TInvModTest.IntXBothPositive;
var
res: TIntX;
begin
res := TIntX.InvMod(123, 4567);
Assert.IsTrue(res ... |
unit GoToForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TGoToEntry = class(TForm)
MainPanel: TPanel;
UrlEdit: TEdit;
GoBtn: TBitBtn;
CancelButton: TBitBtn;
Panel1: TPanel;
FormatLabel: TLabe... |
unit uDBIcons;
interface
uses
System.Generics.Collections,
System.SyncObjs,
Winapi.Windows,
Winapi.CommCtrl,
Vcl.ImgList,
Dmitry.Graphics.LayeredBitmap,
uMemory,
uVCLHelpers,
uImageListUtils;
const
IconsCount = 133;
const
IconsVersion = '1_5';
type
TDbKernelArrayIcon... |
unit uFrmTrackPackage;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PaideTodosGeral, siComp, siLangRT, StdCtrls, Buttons, ExtCtrls,
cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, cxEdit, DB,
cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustom... |
unit Nathan.JWT.Builder.Impl;
interface
uses
Nathan.JWT.Service,
Nathan.JWT.Builder.Intf;
{$M+}
type
TNathanJwtWrapperBuilder = class(TInterfacedObject, INathanJwtWrapperBuilder)
strict private
class var FInstance: INathanJwtWrapperBuilder;
FSecretKey: string;
FPayload: string;
... |
unit WR_PTX_TDXT_Color;
interface
uses Math, KromUtils;
procedure DXT_RGB_Encode(R1,R2,R3,R4:Pointer; out OutDat:int64; out RMS:array of single);
procedure DXT_RGB_Decode(InDat:Pointer; out OutDat:array of byte);
implementation
function ColTo16(c1,c2,c3:byte):word;
begin
if (c3 mod 8)>3 then Result := M... |
(***************************************************
* COMMANDER 64 (c)2018 by ir. Marc Dendooven *
* El Dendo's Commodore 64 emulator Version II *
* This file contains the cycle exact cpu emulation *
***************************************************)
unit cpu;
//------------------------------------------... |
unit trl_ipersist;
{$mode delphi}{$H+}
interface
uses
Classes, SysUtils, trl_irttibroker;
const
cMemoStringType = 'TMemoString';
cIDStringType = 'TIDString';
type
TMemoString = type string;
TIDString = type string;
{ IPersistMoniker }
IPersistMoniker = interface
['{84B31F57-E9FB-47C8-A4D5-2BB1509... |
unit uSuperUser;
{$mode objfpc}{$H+}
interface
procedure WaitProcess(Process: UIntPtr);
function AdministratorPrivileges: Boolean; inline;
function TerminateProcess(Process: UIntPtr): Boolean;
function ElevationRequired(LastError: Integer = 0): Boolean;
function ExecCmdAdmin(const Exe: String; Args: array of String;... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm2 = class(TForm)
GroupBox1: TGroupBox;
GroupBox2: TGroupBox;
pbWithStatusText: TButton;
pbNoStatusText: TButton;
pbTestSDUWindowsProgressDialog: TB... |
unit ibSHServicesAPIEditors;
interface
uses
SysUtils, Classes, DesignIntf, TypInfo, Dialogs,
SHDesignIntf, ibSHDesignIntf, ibSHCommonEditors;
type
// -> Component Editors
// -> Property Editors
TibSHServicesPropEditor = class(TibBTPropertyEditor)
public
function GetAttributes: TPropertyA... |
Unit Un_PdfGrafico;
Interface
Uses Classes,
System.Types,
System.UITypes,
FMX.Objects,
FMX.Types;
//------------------------------------------------------------------------
Type TPdfGrafico=Class(TObject)
Private
img_Pagina:TImage;
/... |
unit htColumnsPanel;
interface
uses
Windows, SysUtils, Types, Messages, Classes, Controls, Graphics,
htInterfaces, htMarkup, htControls, htPanel;
type
ThtCustomColumnsPanel = class(ThtCustomControl)
private
FClientPanel: ThtPanel;
FLeftPanel: ThtPanel;
FLeftWidth: Integer;
protected
proce... |
unit uSM;
interface
uses System.SysUtils, System.Classes, Datasnap.DSServer, Datasnap.DSAuth,
generics.collections;
type
Tcliente = class
private
FID: integer;
FNome: String;
public
property ID: integer read FID write FID;
property Nome: String read FNome write FNome;
end;
TSM = clas... |
unit ThItemSelection;
interface
uses
System.Classes, System.Types, FMX.Types, System.UITypes, FMX.Controls,
System.Generics.Collections, System.Math.Vectors, FMX.Graphics, ThConsts, ThTypes;
type
TSpotTrackingEvent = procedure(SpotCorner: TSpotCorner; X, Y: Single; SwapHorz, SwapVert: Boolean) of object;
TIt... |
unit integerhash;
//=============================================================================
interface
//=============================================================================
uses hashtable, comparable, sysutils;
type
TIntHashIterator = class(THashTableIterator)
public
fun... |
unit Svg_Proc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,USVG,USVGGraphics32, GR32, GR32_Image,ExtCtrls;
type
TForm1 = class(TForm)
Open: TButton;
ImgView: TImgView32;
Panel1: TPanel;
CUseAlpha: TCheckBox;
BPNGSav... |
unit URepositorioMovimentacao;
interface
uses
UTipoMovimentacao
, URepositorioTipoMovimentacao
, UProduto
, URepositorioProduto
, UStatus
, URepositorioStatus
, UDeposito
, URepositorioDeposito
, URequisicaoEstoque
, URepositorioRequisicaoEstoque
, UMovimentacao
, UEntidade
, URepositorioDB... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit St_sp_Category_Class_Form_Add;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxLookAndFeelPainters, cxTextEdit, cxLabel, cxControls,
cxContainer, cxEdit, cxGroupBox, StdCtrls, cxButtons;
type
TClassCategoryFormAdd = class(TForm)
OKButton: TcxButto... |
unit mclform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, Types;
type
TMCLFormHandlerType = (
fhClick,
fhCloseQuery,
fhCreate,
fhDblClick,
fhHide,
fhKeyDown,
fhKeyPress,
fhKeyUp,
fhMouseDown,
fhMouseEnter,
fhMouseLeave,
... |
unit fre_monitoring;
{
(§LIC)
(c) Autor,Copyright
Dipl.Ing.- Helmut Hartl, Dipl.Ing.- Franz Schober, Dipl.Ing.- Christian Koch
FirmOS Business Solutions GmbH
Licence conditions
(§LIC_END)
}
{$codepage UTF8}
{$mode objfpc}{$H+}
{$modeswitch nestedprocvars}
interface
uses
Classes, SysUtils,
... |
{: This sample illustrates basic user-driven camera movements.<p>
I'm using the GLScene built-in camera movement methods. The camera object is
a child of its target dummy cube (this means that the camera is translated
when its target is translate, which is good for flyover/scrolling movements).<p>
Movem... |
unit AStar64.FileStructs;
//------------------------------------------------------------------------------
// все файловые структуры собраны тут
//
// !!! ВАЖНО !!!
// размер абсолютно всех файловых структур должен быть кратен 8 байт
// добавляйте пустое поле в конце при необходимости
//-----------------------------... |
unit FirstStart;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ipControls, ipButtons, StdCtrls, ipEdit;
type
TfmFirstStart = class(TForm)
Label1: TLabel;
GroupBox1: TGroupBox;
Label2: TLabel;
eTo: TipEditTS;
Label8: TLabel;
eFrom: Tip... |
{ -internal}
{-$Id: SpTimeUtils.pas,v 1.2 2006/10/13 09:20:40 oleg Exp $}
{****************************************************************************}
{ Пакет SpLib }
{ облегчение работы с Interbase под Delphi 7 }
{ ... |
unit IntegerSquareRootTest;
{$mode objfpc}{$H+}
interface
uses
fpcunit,
testregistry,
uIntXLibTypes,
uIntX;
type
{ TTestIntegerSquareRoot }
TTestIntegerSquareRoot = class(TTestCase)
published
procedure SquareRootOfZero();
procedure SquareRootOfOne();
procedure SquareRootof4();
p... |
unit uSendFaxList;
interface
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons, siComp, siLangRT, PaiDeForms;
type
TFrmSendFaxList = class(TFrmParentForms)
OD: TOpenDialog;
Label3: TLabel;
flPhoneNumber: TEdit;
flFileName: TEdi... |
//
// Generated by JavaToPas v1.5 20180804 - 083044
////////////////////////////////////////////////////////////////////////////////
unit android.media.AudioFocusRequest_Builder;
interface
uses
AndroidAPI.JNIBridge,
Androidapi.JNI.JavaTypes,
android.media.AudioFocusRequest,
android.media.AudioManager_OnAudioF... |
(*
Category: SWAG Title: SORTING ROUTINES
Original name: 0019.PAS
Description: QUICK5.PAS
Author: SWAG SUPPORT TEAM
Date: 05-28-93 13:57
*)
{
>I'm in need of a FAST way of finding the largest and the smallest
>30 numbers out of about 1000 different numbers.
...Assuming that the 1000 numbers are in random... |
{##
DATEBOX v1.2 DateEdit-Dialog with enhanced capabilities (Data-aware)
written 1996 by Markus Plesser (e9300600@stud1.tuwien.ac.at)
modified by Eduardo Wendel Fevereiro 1998
(c)1996 by MANAGERsoft
(not an official company YET - so please donīt blame me ;-)
You can now download the latest version (& oth... |
unit FMain;
interface
uses
System.SysUtils,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.Dialogs,
FMX.StdCtrls,
FMX.Controls.Presentation,
FMX.MultiView,
FMX.Layouts,
FMX.ListBox,
FMX.ScrollBox,
FMX.Memo,
Demo;... |
{..............................................................................}
{ Summary Queries the current PCB document for PCB Layer pairs. }
{ A layer stack can have multiple layer pairs. }
{ ... |
{
publish with BSD Licence.
Copyright (c) Terry Lao
}
unit packing;
{$MODE Delphi}
interface
uses
iLBC_define,
constants,
helpfun,C2Delphi_header;
{----------------------------------------------------------------*
* splitting an integer into first most significant bits and
* remaining least sig... |
unit MediaFilesController;
interface
uses
Generics.Collections,
MediaFile,
Aurelius.Engine.ObjectManager;
type
TMediaFilesController = class
private
FManager: TObjectManager;
public
constructor Create;
destructor Destroy; override;
function GetAllMediaFiles: TList<TMediaFile>;
proced... |
unit uObject;
interface
uses
classes, ADODB;
type
TTableMap = class
protected
FKeyList: TStringList;
FValueList: TList;
FMasterFieldList: TStringList;
FDetailFieldList: TStringList;
public
constructor Create;
destructor Destroy; override;
procedure AddProperty(Key: String; Value: ... |
unit uAutorModel;
interface
type
TAutorModel = class
private
FCodigo: Integer;
FNome: String;
procedure SetCodigo(const Value: Integer);
procedure SetNome(const Value: String);
public
property Codigo: Integer read FCodigo write SetCodigo;
property Nome: String read FNome write SetN... |
unit MainUnit;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Objects, FMX.Controls.Presentation, FMX.StdCtrls, FMX.Platform,
FMX.Layouts, FMX.ListBox;
type
TMainForm = class(TForm)... |
program exam1_6;
procedure TaskOne;
{Вариант 6, Задача 1
Дано натуральное n > 0. Найти произведение первых n простых чисел.
Подсказка: используйте булевскую функцию для проверки, является число простым числом или нет.}
var n, i, j:Integer;
result :LongInt;
b :Boolean;
begin
{Получаем натральное число, защищаем о... |
unit PBKDF2_HMACTests;
interface
uses
SysUtils,
{$IFDEF FPC}
fpcunit,
testregistry,
{$ELSE}
TestFramework,
{$ENDIF FPC}
HlpIHash,
HlpIHashInfo,
HlpHashFactory,
HlpConverters,
HashLibTestBase;
type
TPBKDF2_HMACTestCase = class abstract(THashLibAlgorithmTestCase)
end;
type
TTestPBKDF2_HMACS... |
unit uDlgFind;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Menus, cxLookAndFeelPainters, ExtCtrls, StdCtrls, cxButtons,
cxGraphics, cxControls, cxContainer, cxEdit, cxTextEdit, cxMaskEdit,
cxDropDownEdit, cxMRUEdit, cxRadioGroup, cxCheckBox, cxGro... |
unit VirtualWideStrings;
// Version 1.3.0
//
// 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/
//
// Alternatively, you ma... |
unit FDescription;
(*====================================================================
Edit window for the descriptions
======================================================================*)
interface
uses
SysUtils,
{$ifdef mswindows}
WinTypes,WinProcs,
{$ELSE}
LCLIntf, LCLType, LMessages... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics,
FMX.StdCtrls, FMX.Dialogs, FMX.Controls.Presentation;
type
TForm1 = class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4:... |
program leskovar_projekt_final;
// Program pouziva hashovaci tabulku, kolize resi spojovym seznamem
// Deklarace spojoveho seznamu
type PNode = ^TNode;
TNode = record
Value: ShortString;
Next: PNode;
end;
var MainArray: array[0..99] of PNode;
Node1, Node2: PNode;
Load: ShortS... |
unit MensagensFactory.View;
interface
uses MensagensFactory.View.Interf, Base.View.Interf, Tipos.Controller.Interf;
type
TMensagemFactoryView = class(TInterfacedObject, IMensagemFactoryView)
private
public
constructor Create;
destructor Destroy; override;
class function New: IMensagemFactoryView;
... |
unit Dbackdim;
{-------------------------------------------------------------------}
{ Unit: Dbackdim.pas }
{ Project: EPA SWMM }
{ Version: 5.0 }
{ ... |
{
Rotary Encoder Tester
1.0 - 2019.04.27 - Nicola Perotto <nicola@nicolaperotto.it>
}
{$I+,R+,Q+}
{$MODE DELPHI}
Program RotaryTest;
Uses
CThreads, CMem, Classes, SysUtils, Rotary, InputUtils, Crt;
Var
MyRotaryName : string;
MyRotary : TRotary;
bStopNow : Boolean;
cc : char;
begin
writeln('Rota... |
unit LayoutTest;
interface
uses
Types, Graphics,
Layout, Render3, Nodes;
function BuildNodeList: TNodeList;
function BuildBoxList(inCanvas: TCanvas; inNodes: TNodeList): TBoxList;
procedure RenderBoxList(inBoxes: TBoxList; inCanvas: TCanvas; inRect: TRect);
procedure TestLayoutRenderer(inCanvas: TCanvas... |
unit BookmarksView;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
AmlView, ComCtrls;
type
TBookmarksViewer = class(TForm)
BookmarksTree: TTreeView;
procedure BookmarksTreeDblClick(Sender: TObject);
procedure BookmarksTreeKeyDown(Sender: TObject; var Key: W... |
unit CmpUnit;
interface
uses
uDBBaseTypes,
SysUtils,
Classes,
uMemory;
procedure SpilitWords(S: string; var Words: TStrings);
procedure AddWords(var S, D: Tstrings);
procedure DeleteWords(S: TStrings; var D: TStrings); overload;
function AddWordsA(S: string; var D: string): Boolean;
procedure D... |
unit Compress;
{ $Log: D:\Util\GP-Version\Archives\VCLZip Zip Utility\UNZIP\Compress.UFV
{
{ Rev 1.2 Sun 10 May 1998 16:54:57 Supervisor Version: 2.12
{ Version 2.12
}
{
{ Rev 1.1 Tue 24 Mar 1998 19:03:56 Supervisor
{ Modifications to allow storing filenames and paths in DOS
{ 8.3 format
}
inte... |
namespace proholz.xsdparser;
interface
type
XsdAbstractElementVisitor = public class
protected
owner : XsdAbstractElement;
public
constructor( aowner : XsdAbstractElement);
begin
self.owner := aowner;
end;
method visit(element: XsdAll); virtual;
begin
visit(XsdMultipleElem... |
{-----------------------------------------------------------------------------
Least-Resistance Designer Library
The Initial Developer of the Original Code is Scott J. Miles
<sjmiles (at) turbophp (dot) com>.
Portions created by Scott J. Miles are
Copyright (C) 2005 Least-Resistance Software.
All Rights... |
unit uMaquina;
interface
uses
UIMaquina,
Classes,
UTroco;
type
TMaquina = class( TInterfacedObject, IMaquina )
public
function MontarTroco( Troco: Double ): TList;
end;
implementation
uses Math;
function TMaquina.MontarTroco( Troco: Double ): TList;
var
I, Ct: Integer;
ITroco: TTroco;
V, Vl... |
unit API_Strings;
interface
type
TStrTool = class
class function CheckCyrChar(const aStr: string): Boolean;
class function CutArrayByKey(const aStr, aFirstKey, aLastKey: string): TArray<string>;
class function CutByKey(const aStr, aFirstKey, aLastKey: string; aFirstKeyNum: integer = 1): string;
clas... |
unit frmSearchU;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, System.UITypes, Vcl.Controls, Vcl.Forms,
Vcl.Dialogs, Vcl.StdCtrls, System.Actions, Vcl.ActnList, System.ImageList,
Vcl.ImgList, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls, LibraryHelp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.