text stringlengths 14 6.51M |
|---|
unit Unit2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.StdCtrls, Vcl.Grids,
Vcl.DBGrids, RTTIUtils, Validacoes;
type
TForm2 = class(TForm)
Edit1: TEdit;
Button1: TButton... |
unit OptionForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TOptionFrm = class(TForm)
chkAutoRun: TCheckBox;
chkAutoPlay: TCheckBox;
procedure chkAutoRunClick(Sender: TObject);
procedure chkAutoPlayClick(Sender: TObject);
... |
unit BluetoothStream;
interface
uses System.SysUtils, System.Classes;
const
kPacketLength = 512 - 1; // bytes
type
TBluetoothStreamProgressEvent = procedure(Sender: TObject; Progress: Integer; BytesProcessed: Int64) of object;
TBluetoothStreamFinishedEvent = procedure(Sender: TObject) of object;
TBluetoothS... |
unit viewer;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, ToolWin, ComCtrls, StdCtrls;
const
defaultBufferSize = 65536;
type
TfViewer = class(TForm)
CoolBar1: TCoolBar;
ToolBar1: TToolBar;
tbWordWrap: TToolButton;
pContainer:... |
(*
* iocp 关闭线程、业务线程、推送线程等
*)
unit iocp_threads;
interface
{$I in_iocp.inc} // 模式设置
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, System.SysUtils, Winapi.ActiveX, {$ELSE}
Windows, Classes, SysUtils, ActiveX, {$ENDIF}
iocp_base, iocp_lists, iocp_objPools,
iocp_winSock2, iocp_baseObjs, i... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... |
//===============================
//
// AcceptEx 模式使用的单元
//
//===============================
unit iocp_wsExt;
interface
{$I in_iocp.inc}
uses
{$IFDEF DELPHI_XE7UP}
Winapi.Windows, System.Classes, System.SysUtils, Winapi.PsAPI, {$ELSE}
Windows, Classes, SysUtils, PsAPI, {$ELSE}
{$ENDIF} iocp_Winsock2;
co... |
unit csExport;
interface
uses
Classes,
dt_Types,
CsDataPipe, csProcessTask, CsTaskTypes, dt_Sab;
type
TcsExport = class(TddProcessTask)
private
f_AdditionalProcess: AnsiString;
f_AnnoTopicFileName: AnsiString;
f_DiapasonType: TDiapType;
f_DocID: TDocID;
f_DocSab: ISab;
f_DocumentFileNa... |
unit kwPopEditorPrintAcnhor;
{* *Формат:* aTopAnchor anEditorControl pop:editor:PrintAcnhor
*Описание:* Печатает текущее значение якоря, включая дочерние, позицию, PID параграф и т.п. aTopAnchor - true - верхния якорь, false - нижний якорь.
*Пример:*
[code]
true focused:control:push pop:editor:PrintAcnhor
[code]
*Ре... |
unit l3StringFormatter;
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Инишев Д.А. © }
{ Модуль: l3StringFormatter - }
{ Начат: 20.09.06 19:00 }
{ $Id: l3StringFormatter.PAS,v 1.8 2014/02/13 10:12:59 lulin Exp $ }
// $Log: l3StringFormatter.PAS,v $
// Revision 1.8 2014/02/13 10:12:59 lulin
// - рефакторим безлики... |
unit Snapshot;
interface
uses Classes, SysUtils, Windows, Graphics, Cnst, Dialogs, Forms;
type
TRange = record
From,
Too: Integer;
end;
{ Sorted selected area }
TRanges = record
XRange: TRange;
YRange: TRange;
end;
PRanges = ^TRanges;
TSnapshot = class
private
F... |
(****************************************************************************
*
* WinLIRC plug-in for jetAudio
*
* Copyright (c) 2016 Tim De Baets
*
****************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License... |
unit uChamadoQuadroViewModel;
interface
uses
System.Classes, uClienteVO, uStatusVO, uTipoVo, uUsuarioVO, System.SysUtils,
System.Generics.Collections;
type
TChamadoQuadroViewModel = class
private
FIdChamado: Integer;
FParCodigo: Integer;
FQuadro: string;
FCliente: TClienteVO;
FHoraAtendeA... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit MFichas.Model.Empresa.Metodos.Editar.View;
interface
uses
System.SysUtils,
System.Generics.Collections,
MFichas.Model.Empresa.Interfaces,
MFichas.Model.Entidade.EMPRESA,
ORMBR.Types.Blob;
type
TModelEmpresaMetodosEditarView = class(TInterfacedObject, iModelEmpresaMetodosEditarView)
private
[... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Data.Base
Description : Data Metrics
Author : Kike Pérez
Version : 1.0
Created : 08/04/2019
Modified : 08/04/2019
This file is part of QuickLogger: http... |
{ Version 2.0 - Author jasc2v8 at yahoo dot com
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by an... |
unit atNonATQueryLogicOperationConverter;
// Модуль: "w:\quality\test\garant6x\AdapterTest\AdapterHelpers\atNonATQueryLogicOperationConverter.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatNonATQueryLogicOperationConverter" MUID: (503E51C002D7)
interface
uses
l3IntfUses
, SearchUnit
, SysUtils
;
type
_... |
unit UGePromocao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UGrPadraoCadastro, ImgList, IBCustomDataSet, IBUpdateSQL, DB,
Mask, DBCtrls, StdCtrls, Buttons, ExtCtrls, Grids, DBGrids, ComCtrls,
ToolWin, cxGraphics, cxLookAndFeels, cxLookAndFeelPai... |
unit frmDateSelect;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Grids, ExtCtrls, FIBDatabase,
FIBQuery, pFIBQuery, PrjConst, System.Actions, Vcl.ActnList;
type
TfrmRequestDate = class(TFrame)
pnlGrid: TPanel;
sgCalendar: TStri... |
unit uMessageBox;
interface
uses Forms, Windows, SysUtils;
type
MessageBox = class
public
class procedure MessageOk(const Msg: string); overload; virtual;
class procedure MessageOk(const Msg: string; const Caption: string); overload; virtual;
class procedure MessageOkFmt(const Msg: string; const Args... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... |
{ behavior3delphi - a Behavior3 client library (Behavior Trees) for Delphi
by Dennis D. Spreen <dennis@spreendigital.de>
see Behavior3.pas header for full license information }
unit Behavior3.Decorators.Inverter;
interface
uses
Behavior3, Behavior3.Core.Decorator, Behavior3.Core.BaseNode, Behavior3.Core.Tick;
... |
unit GMKernel;
interface
const
INVALID_GAMEMASTER = 0;
INVALID_INTSERVER = 0;
const
GM_ERR_NOERROR = 0;
GM_ERR_UNEXPECTED = 1000;
GM_ERR_NOGMAVAILABLE = 1001;
GM_ERR_UNKNOWGM = 1002;
GM_ERR_UNKNOWNIS = 1003;
GM_ERR_UNKNOWMCUST = 1004;
const
GM_STATUS_ON... |
{
*****************************************************************************
* *
* This file is part of the iPhone Laz Extension *
* *
*... |
program exProcedure;
var
a, b, c, min: integer;
procedure findMin(x, y, z: integer; var m: integer);
(* Finds the minimum of the 3 values *)
begin
if x < y then
m:= x
else
m:= y;
if z < m then
m:= z;
end; { end of procedure findMin }
begin
findMin(a, b, c, min); (* Procedure call *)... |
unit GetOrdersWithSpecifiedTextUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetOrdersWithSpecifiedText = class(TBaseExample)
public
procedure Execute(SpecifiedText: String);
end;
implementation
uses CommonTypesUnit, OrderUnit;
procedure TGetOrdersWithSpecifiedText.Execute(SpecifiedText: St... |
unit kwPopEditorSelectCellsVertical;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorSelectCellsVertical.pas"
// Родные Delphi интерфейсы (.pas)
/... |
unit IntfSimple;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ComCtrls, ExtCtrls, Buttons, IntfColSel,
ColorGrd;
type
TFormSimpleColor = class(TForm, IColorSelect)
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
ColorGrid1: TColorGrid;
procedure FormC... |
{$REGION 'Copyright (C) CMC Development Team'}
{ **************************************************************************
Copyright (C) 2015 CMC Development Team
CMC is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software ... |
unit versioninfo;
interface
uses
Windows, sysutils;
type
// 1: Major, 2: Minor, 3: Release, 4: Build
TFileVersion = array[1..4] of Smallint;
function GetExeVersion(FileName: string): TFileVersion;
function GetExeVersionStr(FileName: string): string;
implementation
function GetExeVersion(FileNa... |
unit Errores;
interface
resourcestring
rsDatosIncompletos = 'Por Favor, complete datos. (%s)';
rsValorNoCero = 'Valor Debe ser mayor a 0 (%s)';
rsCuitNoValido = 'CUIT es incorrecto. Revise por favor';
rsCantMaxArtSuperada = 'Cantidad Maxima (999) de Articulos su... |
unit FFSSORTTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TFFSSORTRecord = record
PRecordID: Integer;
End;
TFFSSORTBuffer = class(TDataBuf)
protected
function PtrIndex(Index:integer):Pointer;override;
public
Data: TFFSSORTRecord;
f... |
{ Subroutine SST_R_PAS_EXP_EVAL (VAL)
*
* Evaluate an EXPRESSION syntax. It must be possible to evaluate the expression
* at compile time. VAL is the returned expression value.
}
module sst_r_pas_EXP_EVAL;
define sst_r_pas_exp_eval;
%include 'sst_r_pas.ins.pas';
procedure sst_r_pas_exp_eval ( {find con... |
(*---------------------------------------------------------*)
(* Swap implementation with VAR parameter and... *)
(* Neuhold Michael *)
(* 28.11.2018 *)
(*---------------------------------------------------------*)
PROGRAM S... |
unit UDiscNumPad;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Rtti, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs,
FMX.StdCtrls, UDialog, FMX.Objects, FMX.Edit;
type
TDiscNumPadDialog = class(TDialogFrame)
Label1: TLabel;
resultBox: TEdit;
... |
{ GDAX/Coinbase-Pro client library
Copyright (c) 2018 mr-highball
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, co... |
unit StockDataTaskConsole0;
interface
uses
Classes, Windows, Messages, SysUtils,
define_dealitem,
define_datasrc,
db_dealitem,
win.process,
StockDataConsoleTask;
type
TStockTaskConsoleData = record
StockItemDB: TDBDealItem;
StockIndexDB: TDBDealItem;
TaskList: TList... |
unit SystemStr;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Data\Common\SystemStr.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "SystemStr" MUID: (54F443CF018E)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
;
const
cMainFormPath = 'Настройки форм/utMainWin... |
unit localized_string_lib;
interface
uses windows,classes,streaming_class_lib,contnrs;
//пусть именно этот модуль хранит переменную - текущий выставленный язык
//и TLocalizedName на нее опирается
type
TLangIdType = Integer;
TListWithID = class(TList)
public
ID: Integer;
end;
TLangId = class(TPer... |
unit FileSizeToStr_lib;
interface
function FileSizeToStr(size: Int64): string;
var WriteKiBasKB: boolean;
implementation
uses SysUtils;
const megabyteSize = 1024*1024;
gigabyteSize = 1024*1024*1024;
terabyteSize: Int64 = Int64(1024*1024*1024)*1024;
resourcestring
Bstr = 'B';
KiBstr = 'KiB';
MiB... |
program Lab10_Var9;
function getdigit25(c :Char) :LongInt;
var w :LongInt;
begin
w := 0;
case c of
'0': w := 0;
'1': w := 1;
'2': w := 2;
'3': w := 3;
'4': w := 4;
'5': w := 5;
'6': w := 6;
'7': w := 7;
'8': w := 8;
'9': w := 9;
... |
unit Ntapi.ntstatus;
{$MINENUMSIZE 4}
interface
const
NT_FACILITY_SHIFT = 16;
NT_FACILITY_MASK = $FFF;
FACILITY_NTWIN32 = $7;
ERROR_SEVERITY_SUCCESS = $00000000;
ERROR_SEVERITY_INFORMATIONAL = $40000000;
ERROR_SEVERITY_WARNING = $80000000;
ERROR_SEVERITY_ERROR = $C0000000;
// Success
STATUS_SUCC... |
unit ce_messages;
{$I ce_defines.inc}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, ComCtrls,
lcltype, ce_widget, ActnList, Menus, clipbrd, AnchorDocking, TreeFilterEdit,
Buttons, ce_writableComponent, ce_common, ce_project, ce_synmemo,
ce_dlangutils, ce_interfaces, ce_obser... |
(**************************************************)
(* *)
(* 本单元用于歌曲列表存储操作 *)
(* *)
(* Copyright (c) 2019 *)
(* 南烛 *)
(* ... |
unit uibutton;
interface
uses ui, uimpl, uihandle, uicomp;
type
TWinButton=class(TWinComp)
private
protected
public
constructor Create(Owner:TWinHandle);override;
procedure CustomPaint;override;
procedure MouseMovePerform(AButtonControl:cardinal; x,y:integer);override;
procedu... |
unit nscContextFilterRes;
{* Ресурсы для TnscContextFilter }
// Модуль: "w:\common\components\gui\Garant\Nemesis\nscContextFilterRes.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "nscContextFilterRes" MUID: (4B97E1EA011F)
{$Include w:\common\components\gui\Garant\Nemesis\nscDefine.inc}
interface
{$If Defined... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
UNIT ConstAndTypes;
INTERFACE
CONST
ValidAlphabet: SET OF CHAR = ['A' .. 'Z', 'a' .. 'z', 'Ё', 'ё', 'А' .. 'Я', 'а' .. 'я']; {Все допустимые символы}
Uppercase: SET OF CHAR = ['A' .. 'Z', 'А' .. 'Я']; {Буквы в верхнем регистре}
ASCIIStep = 32; {Рассояние между верхним и нижним регистром}
... |
unit U16;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TFrm16 = class(TForm)
edt1: TEdit;
lbl1: TLabel;
lbl2: TLabel;
edt2: TEdit;
btnAdd: TButton;
bvl1: TBevel;
lstUser: TListBox;
bt... |
{******************************************************************************}
{ }
{ Library: Fundamentals 5.00 }
{ File name: flcCertificatePEM.pas ... |
program TESTSUB ( OUTPUT ) ;
//**********************************************************************
// Testprogramm fuer Strings bzw. VARCHARs
//
// Oppolzer - 02.2018 ... |
unit UGPlacesPhoneDemo;
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.Edit, FMX.Layouts, FMX.ListBox, FMX.TabControl,
FMX.TMSCloudBase, FMX.TMSCloudBaseFMX, FMX.TMSCloudCustomGoogl... |
unit vcmProfilersCollection;
{------------------------------------------------------------------------------}
{ Библиотека : vcm; }
{ Автор : Морозов М.А; }
{ Начат : 21.06.2006; ... |
unit Model;
{
////////////////////////////////
This project aims to study the persistence of business objects in
one application FPC/Lazarus using BrookFramework and dOPF from Silvio Clecio.
This project is not intended to provide warranties of any kind for any purpose!
////////////////////////////////
}
{$mode ob... |
unit LzFindMt;
interface
uses System.SysUtils, Threads, LzmaTypes, LzFind;
const
kMtCacheLineDummy = 128;
{$Z4}
type
TCMtSync = record
wasCreated: Boolean;
needStart: Boolean;
exit: Boolean;
stopWriting: Boolean;
thread: TCThread;
canStart: TCAutoResetEvent;
wasStarted: TCAutoResetE... |
{
$Project$
$Workfile$
$Revision$
$DateUTC$
$Id$
This file is part of the Indy (Internet Direct) project, and is offered
under the dual-licensing agreement described on the Indy website.
(http://www.indyproject.org/)
Copyright:
(c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All r... |
unit uAssets;
interface
uses
glr_scene,
glr_render,
glr_render2d;
type
{ Assets }
Assets = class
public
// Base assets
class var GuiAtlas: TglrTextureAtlas;
class var GuiMaterial: TglrMaterial;
class var GuiCamera: TglrCamera;
class var GuiSpriteBatch: TglrSprit... |
unit TaskbarProgressFunc;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
Wrappers for ITaskbarList3.SetProgressState & SetProgressValue
$jrsoftware: issrc/Projects/TaskbarProgressFunc.pas,v 1.1 2010/10/29 01:48:45 jr E... |
Unit cdrip;
{$mode objfpc}{$H+}
Interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, ComCtrls,
StdCtrls, Buttons, ExtCtrls, cddb, dos, Grids, DBCtrls, process,
debug;
resourcestring
rsEncodeToMp3 = 'Encode to mp3';
rsQuerryCDDB = 'Query CDDB';
rsLoad = 'Load';
rsEject = 'Eject';... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes;
type
TGlobalVar = class
private
username: string;
syslog: TStringList;
public
constructor Create;
procedure setUserName(Name: String);
function getUserName: String;
procedure addLog(Desc: Strin... |
unit PipeProc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
const
DAT_LIMIT = 1100;
ASU1_BUFFER_LENGTH = 1024;
ARC_BUFFER_LENGTH = 4096;
ASU_TIMER_INTERVAL = 3757;
function InitpSD : Boolean; // создание пустого ... |
{
Author: Jarl K. Holta
License: GNU Lesser GPL (http://www.gnu.org/licenses/lgpl.html)
Runtime datatype representations
}
unit xpr.none;
{$I express.inc}
interface
{$I objh.inc}
uses
SysUtils,
xpr.express,
xpr.objbase;
type
TNoneObject = class(TEpObject)
function Release: Boolean; override;
... |
unit usha;
{$MODE objfpc}
{$H+}
{(C) Coban (alex@ritlabs.com)}
interface
uses SHA,CryptoUtils;
const
HASH_INITIAL = $100; //Initial constant
HASH_SHA1 = HASH_INITIAL + $D;
{Errors}
HASH_NOERROR = 0;
HASH_UNK_TYPE = HASH_NOERROR + $1; //Unknown hash type... |
unit TestViewModelFactory;
{$mode objfpc}{$H+}
interface
uses
SyncObjs, Contnrs, ViewModels;
type
TTestViewModelFactory = class
private
FSection : TCriticalSection;
FViewModels : TObjectList;
public
constructor Create();
class function Current() : TTestViewModelFactory;
destructor Destro... |
unit UConexaoXE8;
interface
uses FireDAC.Comp.Client, System.SysUtils, System.IniFiles, Vcl.Forms,
FireDAC.Phys.IBWrapper, Vcl.Dialogs, FireDAC.Stan.Def, FireDAC.Phys.FB,
FireDAC.Comp.UI, FireDAC.Stan.Async;
type
TConexaoXE8 = class(TObject)
private { private declarations }
FConexao ... |
unit l3TimeEstimation;
{
Tl3TimeEstimation - предназначен для оценки оставшегося времени в секундах.
Пример использования:
l_TimeEstimation := Tl3TimeEstimation.Create(100, 5); // дожидаемся 100, используются не более 5 последних значений
try
while (l_Percentage < 100) do // крутим долгий ... |
{
DBAExplorer - Oracle Admin Management Tool
Copyright (C) 2008 Alpaslan KILICKAYA
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at... |
{*********************************************************************}
{ TGradientLabel component }
{ for Delphi & C++Builder }
{ }
{ written by ... |
// Original Author: Piotr Likus
// Replace Components Utilities
unit GX_ReplaceCompUtils;
{$I GX_CondDefine.inc}
interface
uses
Classes, TypInfo;
type
TPropInfoList = class(TList)
private
function GetItem(Index: Integer): PPropInfo;
procedure SetItem(Index: Integer; const Value: PPropIn... |
unit mainform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs,
StdCtrls, Grids, EditBtn, ExtCtrls, ComCtrls, fpspreadsheetchart,
fpspreadsheetgrid, TAGraph, TASeries, TypInfo,
// FPSpreadsheet and supported formats
fpspreadsheet, fpsallformats... |
unit unitMinesweeper;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, Forms, Dialogs, ExtCtrls, Graphics, unitminesweeperdefines;
type
TMinesweeperTimer = class(TThread)
protected
PTime: PInteger;
FOnInc: TMinesweeperTimeProc;
procedure UpdateTime;
procedure Execute; override;
... |
{ VERIFICATION PROGRAM for FLIP GAME problem for NEERC'2000 }
{ (C) Roman Elizarov }
{$A+,B-,D+,E+,F-,G-,I+,L+,N+,O-,P-,Q+,R+,S+,T-,V+,X+,Y+}
program FLIP_CHECK;
uses
testlib, symbols;
var
iouf, ians: longint;
function readAns(var stream: InStream): longint;
var
s: string;
i: longint;
r: integ... |
unit Model.ExpedicaoExpressas;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, Control.Sistema, System.DateUtils, System.SysUtils;
type
TExpedicaoExpressas = class
private
FAcao: Tacao;
FContainer: Integer;
FPeso: Double;
FUnitizador: Integer;
FConferencia: TDateTime;
FNN: S... |
{7.Realizar un programa que lea números enteros desde teclado hasta que se ingrese el valor -1 (que
no debe procesarse) e informe:
− la cantidad de ocurrencias de cada dígito procesado.
− el dígito más leído
− los dígitos que no tuvieron ocurrencias.
Por ejemplo, si la secuencia que se lee es: 63 34 99 94 96 -1, el pro... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit TabbedFormwithNavigation;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TabControl, FMX.StdCtrls, FMX.Controls.Presentation,
FMX.Gestures, System.Actions, FMX.ActnList, FMX.ListView.Types,
... |
unit GetUserDetailsUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TGetUserDetails = class(TBaseExample)
public
procedure Execute(MemberId: integer);
end;
implementation
uses UserUnit;
procedure TGetUserDetails.Execute(MemberId: integer);
var
ErrorString: String;
User: TUser;
begin
Use... |
unit cDatasource;
interface
uses TypInfo, Uni, Generics.Collections, Data.Db, System.SysUtils, System.Classes;
type
// TxnDataSource = class(TDataSource)
// public
// published
// end;
TmyDataLink = class(TDataLink)
private
function NullIndex: integer;
function NullBookmark: TBook... |
unit Control.PlanilhaEntradaTFO;
interface
uses Model.PlanilhaEntradaTFO;
type
TPlanilhaEntradaTFOControl = class
private
FPlanilha: TPlanilhaEntradaTFO;
public
constructor Create();
destructor Destroy(); override;
function GetPlanilha(sFile: String): boolean;
property Planilh... |
unit clSerializers;
{
clSerializers
Author: Chris Lichti
Updated: 4/8/2002
First version: February 28, 2001
This unit provides simple functions for saving and loading objects to/from
an INI files and Registry trees.
These functions all support the following property kinds:
tkInteger, tkChar, tkStr... |
{
File: DrawSprocket.p
Contains: Games Sprockets: DrawSprocket interfaces
Version: Technology: Draw Sprocket 1.7
Release: Universal Interfaces 3.4.2
Copyright: © 1996-2002 by Apple Computer, Inc., all rights reserved.
Bugs?: For bug reports, consult ... |
unit MakeProfitTask;
interface
uses
Tasks, Kernel, Accounts, CacheAgent, BackupInterfaces, MathUtils;
type
TMetaMakeProfitTask =
class(TMetaTask)
private
fAccountId : TAccountId;
fGoal : TMoney;
public
property AccountId : TAccountId read fAccountI... |
{$include lem_directives.inc}
unit LemDosStructures;
interface
uses
Classes, SysUtils, Types,
GR32,
LemTypes;
{-------------------------------------------------------------------------------
LVL raw level file structure as used by dos en winlemmings.
----------------------------------------------... |
unit tmnt_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
nz80,m68000,main_engine,controls_engine,gfx_engine,rom_engine,
pal_engine,sound_engine,upd7759,ym_2151,k052109,k051960,
misc_functions,samples,k053244_k053245,k053260,k053251,eepromser,k007232;
function iniciar_tmnt:boolean;
implementation
... |
unit atLoginFromListOperation;
// Модуль: "w:\quality\test\garant6x\AdapterTest\Operations\atLoginFromListOperation.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TatLoginFromListOperation" MUID: (4FF30FEB005D)
interface
uses
l3IntfUses
, atOperationBase
, atLockFile
;
type
TatLoginFromListOperation = cla... |
{
Double Commander
-------------------------------------------------------------------------
Structures describing drives.
Copyright (C) 2006-2010 Koblov Alexander (Alexx2000@mail.ru)
Copyright (C) 2010 Przemyslaw Nagay (cobines@gmail.com)
This program is free software; you can redistribute it and... |
program swap(input, output);
var
a, b : integer;
procedure swap(var a, b : integer);
var
temp : integer;
begin
temp := a;
a := b;
b := temp
end;
{}
begin
write('a: ');
read(a);
write('b: ');
read(b);
swap(a, b);
writeln('a, b: ', a, ' ', b)
{}
end.
|
unit caResultSet;
// Модуль: "w:\common\components\rtl\Garant\ComboAccess\caResultSet.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TcaResultSet" MUID: (56DFD1470338)
{$Include w:\common\components\rtl\Garant\ComboAccess\caDefine.inc}
interface
{$If Defined(UsePostgres) AND Defined(TestComboAccess)}
uses
l3... |
unit uAtualizacaoTablelaMSSQL;
interface
uses
System.Classes, Vcl.Controls, Vcl.ExtCtrls, Vcl.Dialogs, ZAbstractConnection,
ZConnection, ZAbstractRODataset, ZAbstractDataset, ZDataset, System.SysUtils,
uAtualizacaobancoDeDados;
type
TAtualizacaoTabelaMSSQL = class(TAtualizabancoDeDados)
private
functio... |
unit StarVoice;
interface
uses
Windows, SysUtils,
DirectSound,
CompressIntf, FIFOIntf,
VoiceTx, VoiceRx;
type
EVoiceChat = class(Exception);
TVoiceChat = class;
TOnDSoundRequest = procedure(Sender : TVoiceChat; Request : boolean) of object;
TVoiceChat =
class
pub... |
{
Copyright (c) 2017-18 Pascal Riekenberg
LazProfiler: IDE Addon - Result Window
See the file COPYING.modifiedLGPL.txt, included in this distribution,
for details about the license.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even... |
unit uQuadroController;
interface
uses
System.SysUtils, uRegras, uEnumerador, uDM, Data.DB, Vcl.Forms,
Data.DBXJSON, Data.DBXJSONReflect;
type
TQuadroController = class
private
function VerificarChamadoEmAberto(AIdUsuario: Integer): Boolean;
function VerificarAtividadeEmAberto(AIdUsuario: Integer): B... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit nsQueryAttribute;
(*-----------------------------------------------------------------------------
Unit Name: nsQueryAttribute
Author: Инишев Дмитрий & Михаил Морозов
Purpose: Модуль содержит классы для работы "Поиска по реквизитам"
History:
$Id: nsQueryAttribute.pas,v 1.363 2013/04/24 09:35:56 lulin Exp ... |
unit RootUnit;
interface
uses
Pkg.Json.DTO, System.Generics.Collections, REST.Json.Types;
{$M+}
type
TOutputs = class(TJsonDTO)
private
[JSONName('addresses')]
FAddressesArray: TArray<string>;
[JSONMarshalled(False)]
FAddresses: TList<string>;
FScript: string;
[JSONNam... |
{$MODE OBJFPC}
program Assignment;
const
InputFile = 'ASSIGN.INP';
OutputFile = 'ASSIGN.OUT';
maxN = 10000;
maxM = 100000;
maxW = 100000;
infty = maxN * maxW;
type
TEdge = record
x, y, w: Integer;
end;
THeap = record
nItems: Integer;
items: array[1..maxN] of Integer;
pos: array[1..max... |
unit mnSynHighlighterCpp;
//deprecated 'Buggy fix it first';
{$mode objfpc}{$H+}
{**
*
* This file is part of the "Mini Library"
*
* @url http://www.sourceforge.net/projects/minilib
* @license modifiedLGPL (modified of http://www.gnu.org/licenses/lgpl.html)
* See the file COPYING.MLGP... |
unit FMXComponentsDemoMain;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, FMX.Types, FMX.Controls, FMX.Forms,
FMX.Objects, FMX.Layouts,
FMX.StdCtrls, FMX.Controls.Presentation, FMX.ScrollableList, FMX.RatingBar,
FMX.Ani, FMX.CircleScoreIndicator, FMX.TabContr... |
unit ВFSUnit;
interface
uses AlgorithmUnit;
type
BFSCell = class
public
coords : Point;
distance : integer;
from : Point;
end;
BFS = class(Algorithm)
private
_bfsGrid : Dictionary<(integer, integer), BFSCell>;
_openSet : Queue<BFSCell>;
_closedSet ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.