text stringlengths 14 6.51M |
|---|
unit NoteParametersUnit;
interface
uses
HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit,
NullableBasicTypesUnit, GenericParametersUnit, EnumsUnit;
type
TNoteParameters = class(TGenericParameters)
private
[HttpQueryMember('route_id')]
[Nullable]
FRouteId: NullableString;
[HttpQueryMem... |
unit dcRadioButton;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, dbctrls, datacontroller,db;
type
TdcRadioButton = class(TRadioButton)
private
Fclearing: boolean;
procedure Setclearing(const Value: boolean);
function GetDataBufInd... |
unit UOperationResume;
interface
uses
UAccountKey, URawBytes, UMultiOpSender, UMultiOpReceiver, UMultiOpChangeInfo;
type
TOperationResume = Record
valid : Boolean;
Block : Cardinal;
NOpInsideBlock : Integer;
OpType : Word;
OpSubtype : Word;
time : Cardinal;
AffectedAccount : Cardinal;... |
unit MSFL;
interface
type
TMBFFloat = packed record
strict private
b0: Byte;
b1: Byte;
b2: Byte;
b3: Byte;
public
class operator Implicit(MBF: TMBFFloat): Single;
class operator Explicit(MBF: TMBFFloat): Single;
end;
TMBFDate = packed record
private
Data: TMB... |
unit DaemonSchedulerReport;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ComCtrls, ExtCtrls, Menus, DaemonScheduler;
type
TDaemonSchedulerWindow =
class(TForm)
PageControl: TPageControl;
General: TTabSheet;
Daem... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
(********************************************)
(*************** HEADER ******************)
(********************************************)
Program Mining;
(*************** Units ******************)
Uses
Sysutils,
Constants,
BankUtils;
(*************** Structures******************)
(***************... |
unit sdsCommonDiction;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "CommonDiction"
// Автор: Люлин А.В.
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/CommonDiction/sdsCommonDiction.pas"
// Начат: 11.12.2008 22:09
/... |
unit TTSAGENTTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSAGENTRecord = record
PLenderNum: String[4];
PAgentID: String[8];
PLine1: String[40];
PLine2: String[40];
PLine3: String[40];
PLine4: String[40];
PPhone: String[40];
... |
unit osDBDateTimePicker;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, wwdbdatetimepicker, wwDataInspector;
type
TosDBDateTimePicker = class(TwwDBDateTimePicker)
private
FRefObject: TObject;
procedure SetRefObject(const Value: TObject);... |
unit IntegerList;
interface
uses
Classes, SysUtils;
type TIntegerList = class
private
list:TStringList;
public
constructor create;
destructor destroy; override;
procedure addInt(ii:integer);
procedure deleteInt(ind:integer);
function getInt(ind:integer):integer;
procedure setInt(ind:i... |
unit DeXTree;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, VirtualTrees, Forms, Graphics;
type
TDeXTree = class(TVirtualStringTree)
private
{ Private declarations }
protected
procedure DoBeforeCellPaint(Canvas: TCanvas; Node: PVirtualNode; Column: TColumnIndex; CellRect:... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo termino... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clChecksum;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows;
{$ELSE}
System.Classes, Winapi.Windows;
{$ENDIF}
type
TclCheckSum = class
private
FValue: LongWord;
... |
unit NetServerIocp;
interface
uses
Windows, WinSock2, win.iocp,
Win.Thread, DataChain, NetSrvClientIocp,
NetBaseObj;
type
PNetServerIocp = ^TNetServerIocp;
PNetIOCPServerWorkThread = ^TNetIOCPServerWorkThread;
TNetIOCPServerAcceptThread = packed record
SysThread ... |
unit l3Bits;
{* Функции для работы с битами. }
{ Библиотека "L3 (Low Level Library)" }
{ Автор: Люлин А.В. © }
{ Модуль: l3Bits - }
{ Начат: 05.10.1999 15:31 }
{ $Id: l3Bits.pas,v 1.19 2012/11/01 09:42:57 lulin Exp $ }
// $Log: l3Bits.pas,v $
// Revision 1.19 2012/11/01... |
unit alcuAsyncSubmitter;
{* Асинхронно посылает с сервера запросы на выполнение утилите. }
// Модуль: "w:\archi\source\projects\PipeInAuto\Tasks\alcuAsyncSubmitter.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "alcuAsyncSubmitter" MUID: (53C900CA012E)
{$Include w:\archi\source\projects\PipeInAuto\alcuDefine.in... |
unit Benjamim.Utils;
{$IF DEFINED(FPC)}
{$MODE DELPHI}{$H+}
{$ENDIF}
interface
uses
{$IF DEFINED(FPC)}
SysUtils, StrUtils, variants, fpjson, base64, TypInfo;
{$ELSE}
System.Variants, System.JSON, System.Hash;
{$ENDIF}
type
TJwtAlgorithm = (HS256, HS384, HS512);
TSHA2Version = (SHA224, SHA256, SHA38... |
unit ExtAISharedNetworkTypes;
interface
uses
Math;
// Here are all shared network types with creators of the new ExtAI
// Structure of the data stream
// ____________Head of the Message_____________ _Message_
// | Recipient | Sender | Length of the Message | ... |
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯... |
unit GX_GrepSearch;
{$I GX_CondDefine.inc}
interface
uses
Classes, Controls, Forms, StdCtrls, ExtCtrls,
GX_Experts, GX_GrepExpert, GX_GrepBackend, GX_BaseForm, GX_KbdShortCutBroker;
type
TfmGrepSearch = class(TfmBaseForm)
lblFind: TLabel;
cbText: TComboBox;
gbxOptions: TGroupBox;
... |
unit DeviceLicenseRequestUnit;
interface
uses
REST.Json.Types,
GenericParametersUnit, CommonTypesUnit, EnumsUnit;
type
TDeviceLicenseRequest = class(TGenericParameters)
private
[JSONName('device_id')]
FDeviceId: String;
[JSONName('device_type')]
FDeviceType: String;
[JSONName('format')]... |
unit WPPrTab1;
{ -----------------------------------------------------------------------------
Copyright (C) 2002-2015 by wpcubed GmbH - Author: Julian Ziersch
info: http://www.wptools.de mailto:support@wptools.de
__ __ ___ _____ _ _____
/ / /\ \ \/ _ \/__ \_... |
unit udmSldoArmazenagem;
interface
uses
System.SysUtils, System.Classes, udmPadrao, DBAccess, IBC, Data.DB, MemDS;
type
TdmSldoArmazenagem = class(TdmPadrao)
qryManutencaoCGC: TStringField;
qryManutencaoSERIE: TStringField;
qryManutencaoLOTE: TStringField;
qryManutencaoNOTA: TFloatField;
qryM... |
unit DuplicateRouteResponseUnit;
interface
uses
REST.Json.Types, JSONNullableAttributeUnit,
GenericParametersUnit, NullableBasicTypesUnit;
type
TDuplicateRouteResponse = class(TGenericParameters)
private
[JSONName('optimization_problem_id')]
[Nullable]
FOptimizationProblemId: NullableString;
... |
{*
* Copyright © 2008 Kristian Høgsberg
*
* 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, copy, modify, merge, pub... |
unit SearchOption;
interface
uses
DCL_intf, HashMap, SysUtils, Classes,
StageOptionPartList, DBManager, SearchOption_Intf;
type
TTableOption = class(TAbsSearchOptionPart)
private
FTableName: String;
public
function GetValues(key: String): String; override;
procedure SetValues(key, val... |
unit Impressao_G800;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Edit,
FMX.StdCtrls, FMX.Controls.Presentation,
GEDIPrinter,
//Esta unit inicializa o Modulo de impressao para G800
{$IFDEF... |
unit example;
{$INCLUDE header.pas}
implementation
uses pisqpipe,windows;
const MAX_BOARD=100;
var board:array[0..MAX_BOARD-1,0..MAX_BOARD-1] of integer;
seed:cardinal;
procedure brain_init();
begin
if (width<5)or(width>MAX_BOARD)or(height<5)or(height>MAX_BOARD) then begin
pipeOut('ERROR size of the board'... |
(*
* http 服务基本类型常量等
*)
unit http_base;
interface
{$I in_iocp.inc}
type
// 请求方法
THttpMethod = (
hmUnknown, hmGet, hmPost, hmHead,
hmConnect, hmDelete, hmPut, hmOptions, hmTrace
);
// POST 文件的状态
THttpPostState = (
hpsUnknown, // 未知
hpsRequest, // 请求
hpsRecvData ... |
unit VisualClassesHandler;
interface
uses
VoyagerInterfaces, Classes, IniClasses, Controls, VisualClassManager, VCLUtils;
type
TVisualClassesHandler =
class( TInterfacedObject, IMetaURLHandler, IURLHandler )
// IMetaURLHandler
private
function getName : string;
... |
unit UDMAuth;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB,
FireDAC.Phys.FBDef, FireDAC.VCLUI.Wait, FireDAC.Stan.Param, Fire... |
{*******************************************************************************
作者: dmzn@163.com 2007-10-09
描述: 系统服务器常量定义
*******************************************************************************}
unit USysService;
{$I Link.inc}
interface
uses
Windows, Classes, SysUtils, FZSale_Intf;
const
... |
{*********************************************************}
{* VPSQLDS.PAS 1.03 *}
{*********************************************************}
{* ***** BEGIN LICENSE BLOCK ***** *}
{* Version: MPL 1.1 ... |
//Exercicio 16: Faça um algoritmo que verifique a validade de uma senha fornecida pelo usuário para ter acesso a um
//terminal de consulta.A senha é um conjunto de caracteres que são: "fatecbt". O algoritmo deve imprimir mensagem de
//permissão ou negação de acesso.
{ Solução em Portugol
Algoritmo Exercicio 16 ... |
{ $Id: GUITestRunner.pas,v 1.126 2016/02/09 14:44:15 kostitsin Exp $ }
{: DUnit: An XTreme testing framework for Delphi programs.
@author The DUnit Group.
@version $Revision: 1.126 $ 2001/03/08 uberto
}
(*
* The contents of this file are subject to the Mozilla Public
* License Version 1.1 (the "License"); you ... |
(*
* 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 distributed under the License is distributed on an "AS... |
unit evFixedHAFMacroReplacer;
{ $Id: evFixedHAFMacroReplacer.pas,v 1.1 2010/06/23 18:05:55 lulin Exp $ }
// $Log: evFixedHAFMacroReplacer.pas,v $
// Revision 1.1 2010/06/23 18:05:55 lulin
// {RequestLink:219124975}.
//
// Revision 1.3 2010/03/02 13:34:33 lulin
// {RequestLink:193823544}.
//
// Revision 1.2 2010/... |
// Handles the settings of the Code Formatter
// Original Author: Egbert van Nes (http://www.dow.wau.nl/aew/People/Egbert_van_Nes.html)
// Contributors: Thomas Mueller (http://www.dummzeuch.de)
// Jens Borrisholt (Jens@borrisholt.dk) - Cleaning up the code, and making it aware of seve... |
{
Author: William Yang
Website: http://www.pockhero.com
Last Update: 2013/07/23
A clickable label opens URL in system's Internet browser.
}
/// <summary>
/// A clickable label opens URL in system's Internet browser.
/// </summary>
/// <remarks>
/// A clickable label opens URL in system's Intern... |
{*******************************************************************************
作者: dmzn@163.com 2008-08-07
描述: 系统数据库常量定义
备注:
*.自动创建SQL语句,支持变量:$Inc,自增;$Float,浮点;$Integer=sFlag_Integer;
$Decimal=sFlag_Decimal;$Image,二进制流
*******************************************************************************... |
unit kwArchiOpenDocument;
{* *Формат:* Номер_документа Внутренний_номер Открыть
*Описание:* Открывает документ по номеру. Позволяет установить флаг внутренний/внешний при задании номера документа.
*Пример:*
[code]
10003000 true Открыть
[code]
*Результат:* Открывает Конституцию РФ
*Примечания:*
Константы номеро... |
unit bprUtils;
interface
{$ifdef fpc}{$mode delphi}{$h+}{$endif}
{$ifdef MSWindows}
uses Windows;
{$endif}
type
{ TList }
TList=class(TObject)
private
fCount : Integer;
fData : array of TObject;
function GetItem(i: Integer): TObject;
public
procedure Clear(FreeItems: Boolean=false);
p... |
object FormSensorOptions: TFormSensorOptions
Left = 396
Top = 127
BorderStyle = bsDialog
Caption = 'Настройки (по датчику)'
ClientHeight = 292
ClientWidth = 427
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [... |
unit pydbbr;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseDebugManager, Debugger, process,IDEMsgIntf,simpleipc;
type
Tpydbthread = class;
{ TVDbg }
Tpydbr = class(TDebugger)
protected
dbth: Tpydbthread;
function GetSupportedCommands: TDBGCommands; override;
function RequestComman... |
{
Double Commander
-------------------------------------------------------------------------
Quick Look thumbnail provider
Copyright (C) 2015 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... |
namespace Sugar.Test;
interface
uses
Sugar,
Sugar.Collections,
RemObjects.Elements.EUnit;
type
DictionaryTest = public class (Test)
private
Data: Dictionary<CodeClass, String>;
public
method Setup; override;
method &Add;
method Clear;
method ContainsKey;
method ... |
unit calculators;
//ported from \fpc\ide\fpcalc.pas with many modifications
//ported by Zaher Dirkey Zaher at parmaja dot com
{$mode objfpc}{$H+}
interface
uses
SysUtils, StrUtils, Math;
type
TCalcState = (csFirst, csValid, csError);
{ TFPCalculator }
TCalculator = class(TObject)
pri... |
unit VariantWrapper;
(*
Описываем абстрактный тип Variant'a, который "оборачивает" в себя другой Variant,
добиваясь расширенной функциональности. Например, мы ставим размерности величин,
а сама величина - Variant, содержащий либо целое, либо действительное, либо комплексное,
или вовсе кватернион.
По идее, та... |
inherited dmConfiguracoes: TdmConfiguracoes
OldCreateOrder = True
inherited qryManutencao: TIBCQuery
SQLInsert.Strings = (
'INSERT INTO CONFIGURACOES'
' (MODULO, CLAUSULA, TPO_CLAUSULA, VLR_CLAUSULA, OPERADOR, DT_AL' +
'TERACAO)'
'VALUES'
' (:MODULO, :CLAUSULA... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clResourceState;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, Windows;
{$ELSE}
System.Classes, Winapi.Windows;
{$ENDIF}
type
TclProcessStatus = (psUnknown, psSuccess, psFaile... |
unit DateForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, DateL;
type
TForm1 = class(TForm)
ButtonAddDates: TButton;
ButtonAddButton: TButton;
ListBox1: TListBox;
ComboBox1: TComboBox;
procedure ButtonAddDatesClick(Sender: TObject);
... |
{
$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 FFSBtnEdit;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls,EditBtn;
type
TFFSBtnEdit = class(TCustomEdit)
private
FUnitSize : integer;
FRightAlign:boolean;
FButton: TEditButton;
FEditorEnabled: Boolean;
FOnClickBtn:TNo... |
program AnonymousThreads;
{$MODE DELPHI}
{$IFDEF MSWINDOWS}
{$APPTYPE CONSOLE}
{$ENDIF}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes,
Quick.Commons,
Quick.Console,
SysUtils,
Quick.Threads;
type
TMyProcs = class
class procedure DoWork;
class procedure DoTerminate;
end;
class procedu... |
{$MODE OBJFPC}
program CountMod;
const
InputFile = 'COUNTMOD.INP';
OutputFile = 'COUNTMOD.OUT';
var
fi, fo: TextFile;
a, b: array[1..4] of Int64;
procedure Enter;
var
i: Integer;
begin
for i := 1 to 4 do
ReadLn(fi, a[i], b[i]);
end;
function DoMulMod(a, b, m: Int64): Int64;
var
t: Int64;
begin
if... |
{******************************************************************************}
{ }
{ Library: Fundamentals TLS }
{ File name: flcTLSOpaqueEncoding.pas ... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Button1: TButton;
SaveDialog1: TSaveDialog;
Edit1: TEdit;
Memo1: TMemo;
Button2: TButt... |
unit StockMinuteDataAccess;
interface
uses
define_dealItem,
define_datetime,
BaseDataSet,
QuickList_MinuteData,
define_price,
define_datasrc,
define_stock_quotes;
type
TRT_StockMinuteData = record
DealItem : PRT_DealItem;
StockCode : string;
IsDataChangedStatus: Byte;
... |
{***********************************************************************}
{ File: VTNoData.pas }
{ }
{ Purpose: }
{ source file to d... |
unit model.teste;
interface
uses
attributes,
Interfaces.base,
Rtti;
type
[TNameTable('Teste')]
TTeste = class(TTable)
private
FHabitantes: Integer;
FDescricao: string;
FRendaPerCapta: Currency;
FId: Integer;
FData: TDateTime;
FEstado: string;
procedure SetData(const Value: TDa... |
unit SimulacaoPagamento.Principal;
interface
uses
SimulacaoPagamento.Interfaces,
SimulacaoPagamento.Cartao,
SimulacaoPagamento.Crediario,
StrUtils, SysUtils;
type
TSimulacaoPagamento = class(TInterfacedObject, iSimulacaoPagamento)
private
FValor : Double;
FParcelas : Integer;
... |
{ *********************************************************************************** }
{ * CryptoLib Library * }
{ * Copyright (c) 2018 - 20XX Ugochukwu Mmaduekwe * }
{ * Github Repository <https://github.co... |
unit ElGroupBoxDemoMain;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ElImgFrm, StdCtrls, ElACtrls, ElBtnEdit, ElXPThemedControl, ElBtnCtl,
ElCheckCtl, ElVCLUtils, ElSpin, ElImgLst, ExtCtrls, ElPanel,
ElGroupBox, ElCheckItemGrp, ElClrCmb, ImgList, ElEdits, ElCombos;... |
unit ConTroller;
interface
const
L=8;
type
TConTroller=class
Commands: array[1..L] of Integer;
Number: Integer;
LastCommand: Integer;
constructor Create;
function Encode(Command: String): Integer;
procedure Search(ECommand: Integer);
procedure Run(tNumber: Integer);
end;
implementa... |
program ejercicio8;
type
str40 = String[40];
docente = record
dni : Integer;
nombre : str40;
email : str40;
end;
proyecto = record
codigoUnico : Integer;
titulo : str40
docenteC : docente;
cantAlumnos : Integer;
nomEsculea : str40;
localidad : str40;
end;
procedure leerDocente(var d: docente)... |
unit DebugDraw;
interface
uses
Box2DTypes, Box2D.Common;
//// Not used by FMX TestBed. Declared as some tests refer to 'g_camera'
//struct Camera
//{
// Camera()
// {
// m_center.Set(0.0f, 20.0f);
// m_extent = 25.0f;
// m_zoom = 1.0f;
// m_width = 1280;
// m_height = 800;
// }
//
// b2Vec2 m_ce... |
PROGRAM Stat(INPUT, OUTPUT);
{ Программа опредеяет минимальное, максимальное и среднеарифмитическое число
для файла целых чисел. Реализован контроль переполнения }
PROCEDURE ReadDigit(VAR F: TEXT; VAR D: INTEGER);
{В D возвращается цифра, соответствующая цифре-символу, прочтённому из F}
VAR
Ch: CHAR;
BEGIN {ReadDi... |
unit ExtAIStatesTerrain;
interface
uses
Classes, SysUtils,
ExtAIMsgStates, ExtAISharedInterface;
// Storage for terrain of the KP
type
TExtAIStatesTerrain = class
private
// Method for callbacks from message
procedure TerrainSize(aX, aY: Word);
procedure TerrainPassability(aPassability: TBoolArr);... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clCertificateKey;
interface
{$I clVer.inc}
type
TclCertificateKeyType = (ktKeyExchange, ktSignature);
TclCertificateKey = class
private
FLength: Integer;
FName: string;
FKeyTyp... |
unit GX_SynMemoUtils;
{$I GX_CondDefine.inc}
interface
uses // If you get errors here, add SynEdit to your library path
SynEdit, SynUnicode,
GX_GenericUtils, GX_IDEUtils;
function GetGXHighlighterForCurrentSourceEditor: TGXSyntaxHighlighter;
procedure SetSynEditHighlighter(SynEdit: TCustomSynEdit;... |
unit ControleContainer;
interface
uses
Classes, DateUtils, SysUtils;
type
TOperacao = (Entrada, Saida);
type
TStatus = (Digitado, Impresso, Pago, Cancelado);
type
TFormaPgamento = (AVista, Faturado);
type
TLocalizacao = class(Tpersistent)
private
FAndar: integer;
FNumero: integer;
FApartam... |
{ CSI 1101-X, Winter 1999 }
{ Assignment 4, Question 1 }
{ Identification: Mark Sattolo, student# 428500 }
{ tutorial group DGD-4, t.a. = Manon Sanscartier }
program a4q1 (input,output) ;
type
element_type = real ;
pointer = ^node ;
node = record
value: element_type ;
next... |
unit EdPanel;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;
type
TEdPanel = class(TPanel)
Ed:TEdit;
List:TListBox;
Lab:TLabel;
private
{ Private declarations }
_Items:TStrings;
_Space:integer;
_LabSpace:integer;
_EdWidth... |
unit UMain;
interface
uses
Winapi.Windows, System.Win.Registry, System.IniFiles,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.StdCtrls,
FMX.ScrollBox, FMX.Memo, FMX.Controls.Presentation, FMX.Layouts;
const
... |
unit UPRT_Liner;
interface
uses
UPRT, UTime;
const
LINER_TXBSIZE = 400;
LINER_INBSIZE = 1024;
type
TPRT_LINER = class(TPRT)
private
prt:TPRT;
InBLen,BufPos:Integer;
RxReady,NeedXor:Boolean;
// буфер полученных "сырых" данных
InB:array[0..LINER_INBSIZE-1] of Byte;
// буфер для приня... |
unit NavigatorKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы Navigator }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Common\NavigatorKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "NavigatorKeywordsPack" MUID: (3ADD81F1E403)
{$Include w:\garan... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clCryptCipher;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows, Contnrs,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows, System.Contnrs,
{$ENDIF}
clCry... |
unit MoveDestinationToRouteUnit;
interface
uses SysUtils, BaseExampleUnit;
type
TMoveDestinationToRoute = class(TBaseExample)
public
procedure Execute(ToRouteId: String;
RouteDestinationId, AfterDestinationId: integer);
end;
implementation
procedure TMoveDestinationToRoute.Execute(ToRouteId: String... |
program statistics(input, output);
var
number, sum, mean, deviation : real;
count : integer;
begin
writeln('Enter a list of numbers (final number must be zero).');
number := 5.0;
sum := 0.0;
count := 0;
while (number <> 0) do
begin
read(number);
sum := sum + number;
count := succ(count);
end;
count :=... |
{
Clever Internet Suite
Copyright (C) 2013 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clImap4;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils,
{$ELSE}
System.Classes, System.SysUtils,
{$ENDIF}
clMC, clTcpCommandClient, clMailMessage, clTcpClient, clImapU... |
unit bsEditGroupName;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "Admin"
// Модуль: "w:/garant6x/implementation/Garant/GbaNemesis/Admin/bsEditGroupName.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML model, roo... |
{
$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 rights reserv... |
unit relative_pointer_unstable_v1_protocol;
{$mode objfpc} {$H+}
{$interfaces corba}
interface
uses
Classes, Sysutils, ctypes, wayland_util, wayland_client_core, wayland_protocol;
type
Pzwp_relative_pointer_manager_v1 = Pointer;
Pzwp_relative_pointer_v1 = Pointer;
Pzwp_relative_pointer_manager_v1_listener ... |
unit l3CacheableBase;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "L3"
// Автор: Люлин А.В.
// Модуль: "w:/common/components/rtl/Garant/L3/l3CacheableBase.pas"
// Начат: 12.04.1998 16:28
// Родные Delphi интерфейсы (.pas)
// ... |
unit littleFuncs;
interface
procedure SwapIntegers(var i1,i2: Integer);
procedure SwapFloats(var f1,f2: Real);
procedure SwapVariants(var v1,v2: Variant);
function ByteSwap(const a: integer): integer;
function ByteSwap16(inp:word): word;
function DataToHex(aData: Pointer; aSize: Cardinal):String;
impl... |
unit ADC.Types;
interface
uses
Winapi.Windows, System.Classes, System.Generics.Collections, System.Generics.Defaults,
System.SysUtils, System.DateUtils, Winapi.Messages, Vcl.Controls, Vcl.Graphics,
System.RegularExpressions, System.StrUtils, System.AnsiStrings, Winapi.ActiveX,
MSXML2_TLB, ActiveDs_TLB, ADOX_T... |
{$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 Cloud.Utils;
interface
uses
System.SysUtils,
System.Generics.Collections,
Cloud.Consts;
function StrToAmount(const S: string): Extended;
function StrToAmountDef(const S: string; Default: Extended): Extended;
function AmountToStr(Amount: Extended): string;
function AmountToStrI(Amount: Extended... |
unit CachedObjectAuto;
interface
uses
Windows, ActiveX, ComObj, FIVECacheServer_TLB, CacheObjects, CachedObjectWrap;
type
TCachedObject = class(TAutoObject, ICachedObject)
public
function ContainsFolder(const Name: WideString): WordBool; safecall;
function GetFolderIterator(const Folder: WideString): O... |
program newtonRaphson(output);
{ Equation: x * sin(x) = 1}
{ Recurrence: (1 + xn^2cos(xn)) / (sin(xn) + xn(cos(xn)))}
const
EPSILON = 1E-10;
var
i : integer;
numerator : real;
denominator : real;
root : real;
begin
i := 0;
root := 1.0;
numerator := 1.0;
denominator := 1.0;
while i < 200 do
begin
numerato... |
unit ay_8910;
interface
uses {$IFDEF WINDOWS}windows,{$else}main_engine,{$ENDIF}sound_engine,cpu_misc;
type
ay8910_chip=class(snd_chip_class)
constructor create(clock:integer;type_:byte;amp:single=1;internal:boolean=false);
destructor free;
public
procedure Write(v:byte);
proce... |
unit nsLogManager;
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\Logging\nsLogManager.pas"
// Стереотип: "SimpleClass"
// Элемент модели: "TnsLogManager" MUID: (55B761180244)
{$Include w:\garant6x\implementation\Garant\nsDefine.inc}
interface
uses
l3IntfUses
, l3SimpleObject
, LoggingWrapperInterfaces... |
unit uJanelaProgressMutilThreading;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
System.LogEvents.Progress,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm43 = class(TForm)
Memo1: TMemo;
Button1: TButton;
procedur... |
program retrieve;
{-----------------------------------------------------------------------}
{Author: Travis Keep
Modifications:
3-1-97 Added drive letter to command line}
{-----------------------------------------------------------------------}
uses dos;
type
retrievetype=record
f:file;
... |
{************************************************************************}
{ TRTFLabel component }
{ for Delphi & C++Builder }
{ }
{ written by ... |
unit fDistribution;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,cMegaROM,cConfiguration;
type
TfrmDistribution = class(TForm)
lblOriginalFile: TLabel;
lblOutputPatch: TLabel;
txtOriginalROM: TEdit;
txtOutputPatch: TEdit;
lblPat... |
{***********************************************************************************************************************
*
* TERRA Game Engine
* ==========================================
*
* Copyright (C) 2003, 2014 by SÚrgio Flores (relfos@gmail.com)
*
***************************************************... |
unit InfoBLTRTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TInfoBLTRRecord = record
PLender: String[4];
PLoanNumber: String[18];
POccur: String[4];
PLetterDate: String[8];
PLetterTime: String[6];
PUserId: String[10];
PModCount: In... |
unit uDmDados;
interface
uses
System.SysUtils,
System.Variants,
System.Classes,
Data.DB,
FireDAC.Stan.Intf,
FireDAC.Stan.Option,
FireDAC.Stan.Param,
FireDAC.Stan.Error,
FireDAC.DatS,
FireDAC.Phys.Intf,
FireDAC.DApt.Intf,
FireDAC.Comp.DataSet,
FireDAC.Comp.Client,
uDWConstsData,
uRESTDWPo... |
unit aeSceneObject;
interface
(*
Base scene object.
Can keep track of its orientation and translation in space.
Used for a base class for other scene graph things.
*)
uses types, math, aeConst, aeTransform, System.Generics.Collections, aeMaths, sysutils;
type
TaeSetDirtyCallback = procedure of object;
ty... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.