text stringlengths 14 6.51M |
|---|
unit csImportRequest;
{ Запрос на импорт }
interface
uses
CSRequests,
Classes,
DT_Types;
type
TcsImportRequest = class(TcsRequest)
private
function pm_GetDeleteIncluded: Boolean;
function pm_GetIsAnnotation: Boolean;
function pm_GetIsRegion: Boolean;
function pm_GetSourceFiles: TStrings;
function pm_... |
unit CacheNameUtils;
interface
procedure TranslateChars(var str : string; fCh, tCh : char);
function GetObjectFolder(const World : string; X, Y : integer) : string;
function GetCoordWildcards(X, Y : Integer) : string;
implementation
uses
CacheObjects, SysUtils, SpecialChars;
const
ClearMask = i... |
{ Mark Sattolo, 428500, CSI-1100A, prof: Dr. S. Boyd }
{ Tutorial #1, TA: Chris Lankester }
{ Assignment 5, Question 1(b) }
program GetRoots (input,output);
{ Prompt for three integers A, B and C, then calculate and display the real roots, if any, }
{ of the quadratic equation Ax^2 + Bx + C = 0; or inform ... |
program TESTSETH ( OUTPUT ) ;
(********)
(*$A+ *)
(********)
const CH_CONST = X'D9' ;
CH_BLANK = X'40' ;
I_NEGATIV1 = - 13 ;
I_NEGATIV2 = - 15 ;
type OPTYPE = ( PCTS , PCTI , PLOD , PSTR , PLDA , PLOC , PSTO , PLDC ,
PLAB , PIND , PINC , PPOP , PCUP , PENT , PRET , PCSP ,
... |
unit FrameDayChartViewer;
interface
uses
Classes, Controls, Graphics, Forms, Messages, SysUtils, Windows,
define_DealItem, define_price, define_datasrc,
BaseApp, BaseForm, StockDayDataAccess, UIDealItemNode,
BaseRule, Rule_CYHT, Rule_BDZX, Rule_Boll, Rule_Std, Rule_MA, ExtCtrls;
type
TDataCh... |
unit Unit2;
interface
type
TStudent = class
private
FName: string;
FAge: Integer;
FId: string;
procedure SetName(const Value: string);
procedure SetAge(const Value: Integer);
procedure SetId(const Value: string);
public
property Name: string read FName write SetName;
property Age... |
unit Philosopher;
interface
uses
Classes,
FMX.Objects,
System.SyncObjs;
type
Tmode = (phThinking, phHungry, phEating); // Состояния философа
TPhilosophers = class(TThread) // Объект философа, наследник от "потока"
private
procedure goThink; // Метод "думать"
procedure goEat; // Метод "кушать"
... |
{$PIC ON}
library laz_lib_fpc3;
{$mode objfpc}{$H+}
uses
Math, // For Floor
Interfaces, // needed for DebugLn to LogCat
LCLproc, // for DebugLn to be compiled
classes, // for TStringList
SysUtils;
type
AndroidIntArray = array[0..300] of Longint; // 300 - any value
AndroidDoubleArray = array[0..300] of Do... |
unit gaelco_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m68000,main_engine,controls_engine,gfx_engine,ym_3812,m6809,
oki6295,gaelco_hw_decrypt,rom_engine,pal_engine,sound_engine;
function iniciar_gaelco_hw:boolean;
implementation
const
//Big Karnak
bigkarnak_rom:array[0..1] of tipo_... |
unit l3FormatObjectInfoHelper;
// Модуль: "w:\common\components\rtl\Garant\L3\l3FormatObjectInfoHelper.pas"
// Стереотип: "Service"
// Элемент модели: "Tl3FormatObjectInfoHelper" MUID: (551BCBFD0240)
{$Include w:\common\components\rtl\Garant\L3\l3Define.inc}
interface
{$If NOT Defined(NoVCL)}
uses
l3IntfUses
, l3... |
{-------------------------------------------------- Progressive Path Tracing ---------------------------------------------------
This unit contains various miscellaneous functions used during path tracing (mainly during initialization). These functions
include mapping a file to memory, or getting the number of proc... |
unit ChannelList;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fgl, IRCViewIntf;
type
{ TUser }
TUser = class
private
FNickNameInChannel: string;
FNickName: string;
procedure SetNickName(AValue: string);
procedure SetNickNameInChannel(AValue: string);
public
... |
{ Mark Sattolo 428500
CSI-1100A DGD-1 TA: Chris Lankester
Assignment 8, Question 2 }
program UseCheckPal (input,output);
{ ****************************************************************************** }
procedure CheckPal(S:string; var Pal:boolean);
{ Check to see if a given string S is a palindrome. ... |
unit uUtils;
interface
uses Classes, Graphics, Jpeg, Windows, SysUtils, Grids;
type
TSplitResult = array of string;
TKeyAndValue = record
Key, Value: string;
end;
const
ConfNumHistoryItems = 10;
var
Path, LastImageFileName: string;
IsWindowMode: Boolean = False;
MainScript: stri... |
unit frmAutoHide;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ExtCtrls;
type
TAutoHideForm = class(TForm)
btnOK: TBitBtn;
lblInfo: TLabel;
tmrHide: TTimer;
tmrAlpha: TTimer;
procedure FormShow(Sender: TObject);
pr... |
unit uVersao;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uBaseCadastro, Data.DB, Vcl.StdCtrls,
Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.ComCtrls, uDMVersao,
uVersaoController, Vcl.Mask, Vcl... |
unit ComboBox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, EditableObjects, Editors;
type
TComboBoxEditor =
class(TInPlaceVisualControl)
cbValue: TComboBox;
procedure FormResize(Sender: TObject);
procedure cbValueChange(Sender: TObj... |
{
Clever Internet Suite
Copyright (C) 2014 Clever Components
All Rights Reserved
www.CleverComponents.com
}
unit clCryptSignature;
interface
{$I clVer.inc}
uses
{$IFNDEF DELPHIXE2}
Classes, SysUtils, Windows,
{$ELSE}
System.Classes, System.SysUtils, Winapi.Windows,
{$ENDIF}
clUtils,... |
unit DAO.UsuariosBaseEntregador;
interface
uses FireDAC.Comp.Client, System.SysUtils, DAO.Conexao, Dialogs, Model.UsuariosBaseEntregador;
type
TUsuariosBaseEntregadorDAO = class
private
FConexao : TConexao;
public
constructor Create;
function Inserir(AUsuarios: TUsuariosBaseEntregador): Boolean;
... |
PROGRAM PrintHello(INPUT, OUTPUT);
USES DOS;
VAR
Name: STRING;
BEGIN
WRITELN('Content-Type: text/plain');
WRITELN;
Name := GetEnv('QUERY_STRING');
IF POS('name=', Name) <> 0
THEN
IF POS('&', Name) > 0
THEN
WRITELN('Hello dear ', COPY(Name, 6, POS('&', Name) - 6))
ELSE
WRITELN('Hello ... |
//
// ABPeoplePickerC.h
// AddressBook Framework
//
// Copyright (c) 2003 Apple Computer. All rights reserved.
//
{ Pascal Translation: Peter N Lewis, <peter@stairways.com.au>, 2004 }
{
Modified for use with Free Pascal
Version 210
Please report any bugs to <gpc@microbizz.nl>
}
{$mode macpas}
{$pac... |
unit define_data_163;
interface
type
TDealDayDataHeadName_163 = (
headNone,
headDay,
headCode,
headName,
headPrice_Close,
headPrice_High,
headPrice_Low,
headPrice_Open,
headPrice_PrevClose,
headPrice_Change,
headPrice_ChangeRate,
headDeal_VolumeRate,
headDeal_Volu... |
unit Model.CadastroPessoas;
interface
uses Common.ENum, FireDAC.Comp.Client, DAO.Conexao, Control.Sistema;
type
TCadastroGeral= class
private
FAcao: TAcao;
FNomePai: String;
FDataRG: TDate;
FNaturalidade: String;
FRG: String;
FNascimento: TDate;
FEstadoCivil: String;
FValidadeCNH:... |
unit fQuickSearch;
{
Copyright 2012 Document Storage Systems, Inc.
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... |
program frasom;
uses crt;
var num1, den1, num2, den2, num3, den3: integer;
{Inizializza le frazioni}
procedure input_dati(var num1, den1, num2, den2 :integer);
begin
write('Inserisci il numeratore del primo numero: ');
readln(num1);
repeat
write('Inserisci il denominatore del primo numer... |
unit Base;
interface
uses DB, SysUtils, Classes, System.Generics.Collections, Rtti, System.TypInfo;
type
IBaseDados = interface
['{CA9CA227-24D2-414E-8B7D-3F89634EEFF5}']
end;
ITransacao = interface
['{7C2A1CE3-963E-4395-9471-4C615CB72076}']
end;
TTabela = class(TObject)
end;
TRecParams = record
Prop: TRtt... |
unit TestMemberSamplesUnit;
interface
uses
TestFramework, Classes, SysUtils, DateUtils,
BaseTestOnlineExamplesUnit;
type
TTestMemberSamples = class(TTestOnlineExamples)
published
procedure AddNewUser;
procedure GetUserDetails;
procedure UpdateUser;
procedure Authentication;
... |
unit Rule_SMA;
interface
uses
BaseRule,
BaseRuleData;
(*//
移动平均
SMA
含义:求移动平均。
用法:SMA(X,N,M),求X的N日移动平均,M为权重。
算法: 若Y=SMA(X,N,M)则 Y=[M*X+(N-M)*Y']/N,其中Y'表示上一周期Y值,N必须大于M。例如:SMA(CLOSE,30,1)表示求30日移动平均价。
SMA(X,N,M),求X的N周期移动平均,M为权重
Y=SMA(X,N,M) 则 Y=(M*X+(N-M)*Y')/N, 其中Y'表示上一周期Y值,N必须大于M
SMA(CLOSE,20,1)
... |
{*******************************************************}
{ }
{ CodeGear Delphi Runtime Library }
{ Copyright(c) 2016 Embarcadero Technologies, Inc. }
{ All rights reserved }
{ ... |
unit DAO.ConsumoInsumos;
interface
uses DAO.base, Model.ConsumoInsumos, Generics.Collections, System.Classes;
type TConsumoInsumosDAO = class(TDAO)
public
function Insert(aConsumo: Model.ConsumoInsumos.TConsumoInsumos): Boolean;
function Update(aConsumo: Model.ConsumoInsumos.TConsumoInsumos): Boolean;
... |
unit ScintStylerInnoSetup;
{
Inno Setup
Copyright (C) 1997-2010 Jordan Russell
Portions by Martijn Laan
For conditions of distribution and use, see LICENSE.TXT.
TInnoSetupStyler: styler for Inno Setup scripts
}
interface
uses
SysUtils, Classes, Graphics, ScintEdit;
type
{ Internally-used types }
TI... |
unit ChangePwdForma;
interface
{$I defines.inc}
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, OkCancel_frame, PrjConst, FIBQuery, pFIBQuery, Vcl.Buttons,
Vcl.ExtCtrls, CnErrorProvider;
type
TChangePwdForm = class(TForm)
lbl1: TLabel;
lbl2: TLabel... |
{
}
unit mainform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
ExtCtrls, ComCtrls, StdCtrls, Buttons, Spin,
// fpchess
chessdrawer, chessgame, chessconfig, chesstcputils,
chessmodules, selectpromotionpiece;
type
{ TFormDrawerDelegate }
TFormDra... |
unit clAgentesJornal;
interface
uses
clPessoaJ, clConexao;
type
TAgenteJornal = Class(TPessoaJ)
private
function getCodigo: Integer;
procedure setCodigo(const Value: Integer);
function getOperacao: String;
procedure setOperacao(const Value: String);
protected
_codigo: Integer;
_oper... |
{ ***************************************************************************
Copyright (c) 2015-2021 Kike Pérez
Unit : Quick.Azure
Description : Azure blobs operations
Author : Kike Pérez
Version : 1.4
Created : 27/08/2015
Modified : 21/10/2021
This file is part of QuickLib: h... |
{ C-to-Pas converter command-line utility part of Lazarus Chelper package
Copyright (C) 2010 Dmitry Boyarintsev skalogryz dot lists at gmail.com
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 Software F... |
{******************************************************************************}
{* TFMREG - Programmers registry editor. *}
{* Copyright Toby Allen - Toflidium Software 2001 *}
{* ... |
unit view.main;
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.TabControl, FMX.Controls.Presentation, FMX.ListView.Types,
FMX.ListView.Appearances, FMX.ListView.Adapters.Base, FMX.L... |
unit TestUnmarshalTerritoryListUnit;
interface
uses
TestFramework, SysUtils,
TestBaseJsonUnmarshalUnit,
System.Generics.Collections;
type
TTestUnmarshalTerritoryList = class(TTestBaseJsonUnmarshal)
published
procedure TerritoryListFindResponse;
end;
implementation
{ TTestOptimizationParametersToJso... |
unit ConsPago;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ImgList, ActnList, Menus, Db, DBTables, Grids, DBGrids,
ComCtrls, DBCtrls, ToolWin, StdCtrls, DBActns;
type
TFConsPago = class(TForm)
MainMenu1: TMainMenu;
Ventana1: TMenuItem;
Cerrar... |
unit udmRcboRepresentantes;
interface
uses
Windows, System.UITypes,Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, udmPadrao, DBAccess, IBC, DB, MemDS;
type
TdmRcboRepresentantes = class(TdmPadrao)
qryManutencaoFIL_RECIBO: TStringField;
qryManutencaoNRO_RECIBO: TFloatField;
... |
unit libavdevice;
{$IFDEF FPC}
{$MODE Delphi}
{$ENDIF}
interface
Uses
ffmpeg_types, libavutil, libavcodec, libavformat;
{$I ffmpeg.inc}
(* *
* @defgroup lavd libavdevice
* Special devices muxing/demuxing library.
*
* Libavdevice is a complementary library to @ref libavf "libavformat". It
* provides var... |
unit LUX.GPU.Vulkan.Buffer;
interface //#################################################################### ■
uses vulkan_core,
LUX.GPU.Vulkan.root,
LUX.GPU.Vulkan.Memory;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
TVkBuffers<TVkDevice_:class> ... |
unit Expressions;
interface
uses
Classes, SysUtils;
function ExtractFEN(const aCommand: string; var aFEN: string): boolean;
function ExtractMoves(const aCommand: string): boolean;
var
list: TStringList;
implementation
uses
RegExpr, Log;
const
PATTERN_PIECES = '[1-8BKNPQRbknpqr]+';
... |
{
"name": "Everyone gets a planet",
"planets": [
{
"name": "Cyan",
"mass": 50000,
"position_x": 54000.0078125,
"position_y": -1099.986328125,
"velocity_x": 1.959501028060913,
"velocity_y": 96.19510650634766,
"required_th... |
unit Daemons;
interface
uses
DirServerSession, SyncObjs, IniFiles, RDOInterfaces, RDOObjectProxy;
type
IDaemon =
interface
procedure InitDaemon(const DSAddr : string; DSPort : integer);
function GetName : string;
function GetDescription : string;
function IsRunnin... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.StrUtils, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TForm1 = class(TForm)
Edit1: TEdit;
Button1: TButton;
Memo1: TMemo;
procedure Butto... |
unit better_collections;
{$MESSAGE '*******************COMPILING Better_Collections.pas'}
{$INCLUDE DelphiDefs.inc}
{$IFDEF MSWINDOWS}
{$DEFINE USE_FAST_LIST}
{$ENDIF}
{$DEFINE DEBUG_ITEMS}
{$D-}
interface
uses
debug, generics.collections.fixed, systemx, sharedobject, typex, betterobject, classes,
{$IFDEF USE_FAS... |
unit ExtAIActions;
interface
uses
Classes, SysUtils,
ExtAIMsgActions, ExtAINetClient, ExtAISharedInterface;
// Actions of the ExtAI
type
TExtAIActions = class
private
fActions: TExtAIMsgActions;
fClient: TExtAINetClient;
// Triggers
fOnGroupOrderAttackUnit: TGroupOrderAttackUnit;
fOnGroupO... |
unit ts2pas.Declarations;
interface
const
CRLF = #13#10;
type
TVisibility = (vPublic, vProtected, vPrivate);
TAccessibilityModifier = (
amPublic,
amPrivate,
amProtected
);
IDeclarationOwner = interface
end;
TCustomDeclaration = class
private
FOwner: IDeclarationOwner;
class var... |
unit uBase;
{$mode objfpc}{$H+}
interface
uses Classes, sqlite3ds, variants, Db;
type
{ TDatabaseConnect }
TStringsFillEvent = procedure (D:TDataset) of object;
TDatabaseConnect = class(TComponent)
private
BaseFileName:string;
function GetOption(const OptId: string): string;
procedure ... |
unit K293279996;
{* [Requestlink:293279996] }
// Модуль: "w:\common\components\rtl\Garant\Daily\K293279996.pas"
// Стереотип: "TestCase"
// Элемент модели: "K293279996" MUID: (519CBF11000F)
// Имя типа: "TK293279996"
{$Include w:\common\components\rtl\Garant\Daily\TestDefine.inc.pas}
interface
{$If Defined(nsTest)... |
unit RESTRequest4D.Request.Authentication;
interface
uses RESTRequest4D.Request.Authentication.Intf, REST.Client, REST.Authenticator.Basic;
type
TRequestAuthentication = class(TInterfacedObject, IRequestAuthentication)
private
FRESTClient: TRESTClient;
FHTTPBasicAuthenticator: THTTPBasicAuthenticator;
... |
unit RDOChannelCodec;
interface
type
TRDOChannelCodec =
class
private
fAliases : TStringList;
function AliasOf( aStr : string ) : string;
function StringOf( aAlias : string ) : string;
public
constructor Create;
destructor Destroy; overrid... |
uses math;
const fi ='TBIKE.inp';
fo ='TBIKE.out';
maxn =2000;
var a :array[1..maxn] of longint;
count,n :longint;
Procedure Docfile;
var i:longint;
begin
assign(input,fi); reset(input);
readln(n);
for i:= 1 to n do read(a[i]);
... |
unit CommentAndScrollTest;
{* Тест для добавления и удаления комментария и последующего скроллирования. }
// Модуль: "w:\common\components\gui\Garant\Daily\CommentAndScrollTest.pas"
// Стереотип: "TestCase"
// Элемент модели: "TCommentAndScrollTest" MUID: (4C9CA365006C)
{$Include w:\common\components\gui\sdotDefine.... |
{ ***************************************************************************
Copyright (c) 2016-2019 Kike Pérez
Unit : Quick.Compression.LZO
Description : LZO Compressor
Author : Kike Pérez
Version : 1.8
Created : 15/09/2019
Modified : 22/09/2019
This file is part of QuickLib:... |
unit BuildClasses;
interface
uses
MapTypes;
type
TFastIndex = array[idBuilding] of word;
TClassArray = array[word] of TBuildingClass;
type
TBuildingClasses =
class(TInterfacedObject, IBuildingClassBag)
public
destructor Destroy; override;
private // IBuildingCl... |
unit WinSockRDOConnectionsServer;
interface
uses
Windows, Classes, SyncObjs, SmartThreads, SocketComp, RDOInterfaces,
RDOQueries;
type
TWinSockRDOConnectionsServer =
class(TInterfacedObject, IRDOServerConnection, IRDOConnectionsServer)
private
fQueryServer : IRDOQueryServe... |
unit uimpl;
interface
uses Types, Windows, Messages, SysUtils;
const
{ MessageBox() Flags }
{$EXTERNALSYM MB_OK}
MB_OK = $00000000;
{$EXTERNALSYM MB_OKCANCEL}
MB_OKCANCEL = $00000001;
{$EXTERNALSYM MB_ABORTRETRYIGNORE}
MB_ABORTRETRYIGNORE = $00000002;
{$EXTERNALSYM MB_YESNOCANCEL}
... |
unit cavemanninja_hw;
interface
uses {$IFDEF WINDOWS}windows,{$ENDIF}
m68000,main_engine,controls_engine,gfx_engine,rom_engine,pal_engine,
oki6295,sound_engine,hu6280,deco_16ic,deco_common,deco_104,deco_146,
misc_functions;
function iniciar_cninja:boolean;
implementation
const
//Ca... |
unit UAccountPreviousBlockInfo;
interface
uses
Classes, UAccountPreviousBlockInfoData;
type
{ TAccountPreviousBlockInfo }
TAccountPreviousBlockInfo = Class
private
FList : TList;
Function FindAccount(const account: Cardinal; var Index: Integer): Boolean;
function GetData(index : Integer): TAccoun... |
unit UIWrapper_StageUnit;
interface
uses
SearchOption_Intf, FMX.Controls, UIWrapper_SchOptPartUnit,
UIWrapper_StageEditorUnit, StageOptionPart, UIWrapper_LogSearchUnit;
type
TUIWrapper_SchOpt_Stage = class(TUIWrapper_AbsSearchOptionPart)
private
FChkAutoDetect: TCheckBox;
FStageEditor: TUIWrapp... |
{
Copyright (C) Alexey Torgashin, uvviewsoft.com
License: MPL 2.0 or LGPL
}
unit ATCanvasPrimitives;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Graphics,
Types,
Math;
procedure CanvasInvertRect(C: TCanvas; const R: TRect; AColor: TColor);
implementation
var
_Pen: TPen = nil;
procedure CanvasI... |
unit RenderReports;
interface
procedure ResetImgCount;
procedure ImgRendered(width, height : integer);
function GetImgCount : integer;
procedure EnableReports;
procedure DisableReports;
implementation
uses
Classes, SysUtils;
var
imgcount : integer = 0;
repsenabled : boolean = fals... |
unit k2LogFont;
{ Библиотека "K-2" }
{ Автор: Люлин А.В. © }
{ Модуль: k2LogFont - }
{ Начат: 16.01.2006 19:19 }
{ $Id: k2LogFont.pas,v 1.5 2008/02/21 13:48:21 lulin Exp $ }
// $Log: k2LogFont.pas,v $
// Revision 1.5 2008/02/21 13:48:21 lulin
// - cleanup.
//
// Revision 1.4 2007/12/05 12:35:08 lul... |
unit InfGastos;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ppCtrls, ppPrnabl, ppClass, ppBands, ppProd, ppReport, ppComm, ppCache,
ppDB, ppDBBDE, Db, DBTables;
type
TFInfGastos = class(TForm)
Query1: TQuery;
DataSource1: TDataSource;
ppBDEPipeline1: T... |
unit TestFftw3_80;
interface
uses
{$IFNDEF FPC}
TestFramework,
{$ELSE}
FPCUnit, TestUtils, TestRegistry,
{$ENDIF}
Fftw3_Common, Classes, SysUtils, Fftw3_80;
const
CFFTSize = 8192;
type
TestTFftw80Dft = class(TTestCase)
strict private
FFftw80Dft: TFftw80Dft;
FInput, FOutput: PFftw80Complex;
pub... |
unit GetConfigValueResponseUnit;
interface
uses
REST.Json.Types, SysUtils,
NullableBasicTypesUnit, GenericParametersUnit, JSONNullableAttributeUnit, CommonTypesUnit;
type
TConfigValue = class
private
[JSONName('member_id')]
[Nullable]
FMemberId: NullableInteger;
[JSONName('config_key')]
... |
{
*****************************************************************************
* *
* See the file COPYING.modifiedLGPL, included in this distribution, *
* for details about the copyright. ... |
program simplechrono;
uses
SysUtils,
DateUtils,
Quick.Commons,
Quick.Console,
Quick.Chrono;
var
crono : TChronometer;
starttime : TDateTime;
ms : Int64;
begin
try
Console.LogVerbose := LOG_ALL;
cout('Chrono Test',etInfo);
crono := TChronometer.Create;
crono.Start;
starttime := No... |
// --------------------------------------------------------------------------
// Archivo del Proyecto Ventas
// Página del proyecto: http://sourceforge.net/projects/ventas
// --------------------------------------------------------------------------
// Este archivo puede ser distribuido y/o modificado bajo lo terminos ... |
{$mode objfpc} { Directive for defining classes }
{$m+} { Directive for using constructor }
program PascalProgram37;
uses crt, math; { e.g. crt enables `readkey`; math - `power`, `abs` etc }
{ class Vector }
type
array_of_double_type = array of double;
type
VectorClass = class
private
_size ... |
unit uContatoVO;
interface
uses
System.SysUtils, uKeyField, uTableName, System.Generics.Collections;
type
[TableName('Contato')]
TContatoVO = class
private
FEmail: string;
FId: Integer;
FDepartamento: string;
FIdOrcamento: Integer;
FFone2: string;
FFone1: string;
FIdCliente: Integ... |
unit URepProfesoresAerobicos;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, UUniversal, Grids, DBGrids, StdCtrls, jpeg, ExtCtrls, UDatosDB,
DBCtrls, DB, IBCustomDataSet, IBQuery, ComCtrls, cxTextEdit, cxControls,
cxContainer, cxEdit, cxMaskEdit, cxDropDownE... |
unit uFrmPaiCadastro;
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.ExtCtrls, Vcl.Buttons, Vcl.ComCtrls,
System.UITypes, Datasnap.DBClient;
type
TfrmPaiCadastro = class... |
unit TTSLOANTable;
interface
uses
Classes, DB, DBISAMTb, SysUtils, DBISAMTableAU, DataBuf;
type
TTTSLOANRecord = record
PLenderNum: String[4];
PLoanNum: String[20];
PModCount: Integer;
PCifNum: String[20];
PBranch: String[8];
PDivision: String[8];
PBalance: Currency;
... |
unit GX_IconMessageBox;
interface
uses
GX_MessageBox;
type
TShowMissingIconMessage = class(TGxMsgBoxAdaptor)
protected
function GetMessage: string; override;
function ShouldShow: Boolean; override;
end;
implementation
uses SysUtils;
{ TShowMissingIconMessage }
function TShowMi... |
unit Order_class;
interface
uses data_module,IBX.IBTable, SysUtils;
type TOrder = Class
private
id : integer;
status : integer;
driver_id : integer;
customer : string;
date_delivery : string;
procedure push;
public
constructor Create(row : TIBTable);
destructor Destroy;
pro... |
unit l3TypedIntegerValueMap;
{* реализация мапы "строка"-"число" для чистой замены array [TSomeType] of string. Берет данные из ResourceString. }
// Модуль: "w:\common\components\rtl\Garant\L3\l3TypedIntegerValueMap.pas"
// Стереотип: "UtilityPack"
// Элемент модели: "l3TypedIntegerValueMap" MUID: (478E1D94023E)
{$I... |
UNIT VIDEO;
INTERFACE
uses dos,crt;
const videoseg:word=$B800;
type twin=array[0..8003] of byte;
var win:twin;
FUNCTION ISEGAVGA:byte;
PROCEDURE GETVIDEOMODE(var modevideo,nbrecol,page:byte);
PROCEDURE SETVIDEOMODE(mode:word);
PROCEDURE SCREENOFF;
PROCEDURE SCREENON;
{Mode TEXTE seuleument}
Proced... |
unit TreeAttributeFirstLevelKeywordsPack;
{* Набор слов словаря для доступа к экземплярам контролов формы TreeAttributeFirstLevel }
// Модуль: "w:\garant6x\implementation\Garant\GbaNemesis\View\Search\Forms\TreeAttributeFirstLevelKeywordsPack.pas"
// Стереотип: "ScriptKeywordsPack"
// Элемент модели: "TreeAttributeFi... |
program ejericicio13;
const
Pi = 3.1415;
procedure circulo(radio:Real; var diametro: Real; var perimetro: Real);
begin
diametro:= 2 * radio;
perimetro:= 2*pi*radio;
end;
var
radio,diametro,perimetro: Real;
begin
write('Ingrese el radio de un circulo: ');
readln(radio);
circulo(radio, diametro, perimetro);
wri... |
unit kwPopEditorSplitCell;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "ScriptEngine"
// Модуль: "w:/common/components/rtl/Garant/ScriptEngine/kwPopEditorSplitCell.pas"
// Родные Delphi интерфейсы (.pas)
// Generated from UML... |
unit uFrmEditarLembrete;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.ComCtrls, Vcl.StdCtrls,
Vcl.ExtCtrls, uLembreteDAO, uLembrete;
type
TFrmEditar = class(TForm)
Label... |
{ Subroutine SST_W_C_ARMODE_PUSH (MODE)
*
* Set the new mode for interpreting array identifiers. The old array identifier
* interpretation state is saved on the stack.
}
module sst_w_c_ARMODE_PUSH;
define sst_w_c_armode_push;
%include 'sst_w_c.ins.pas';
procedure sst_w_c_armode_push ( {set new array inte... |
{
в таблице calculated_data (Reports) переписываются данными 2го расчета
кроме красных пределов
}
unit thread_calculated_data;
interface
uses
SysUtils, Classes, Windows, ActiveX, System.Variants, Math,
ZAbstractDataset, ZDataset, ZAbstractConnection, ZConnection, ZAbstractRODataset,
Types, Generics.Collect... |
unit OrderParametersUnit;
interface
uses
HttpQueryMemberAttributeUnit, JSONNullableAttributeUnit,
NullableBasicTypesUnit, GenericParametersUnit;
type
TOrderParameters = class(TGenericParameters)
private
[HttpQueryMember('limit')]
[Nullable]
FLimit: NullableInteger;
[HttpQueryMember('offset')... |
unit l3MultipartTextNode;
// Простая нода с многокусочным текстом (для использования в многоколоночном дереве)
{ $Id: l3MultipartTextNode.pas,v 1.2 2006/03/27 13:20:13 lulin Exp $}
// $Log: l3MultipartTextNode.pas,v $
// Revision 1.2 2006/03/27 13:20:13 lulin
// - cleanup.
//
// Revision 1.1 2005/06/10 13:33:26 ... |
unit UMonthBoldStorage;
interface
type
// Verwaltet für jeden Tag eines Jahres ein Bit
// ist das Bit gesetzt, dann ist der Tag "fett"
TYearBoldManager = class(TObject)
private
FMonthBoldInfo : array[1..12] of Cardinal;
class function DayBits(day:Word):Cardinal;
public
constructor ... |
unit atrMail;
interface
uses mimemess, mimepart, smtpsend, Classes;
Procedure SendMail (const Host, Subject, pTo, From , TextBody, login,password : string);
Procedure SendMailinHTML(const Host, Subject, pTo, From , HTMLBody, login,password : string);
implementation
Procedure SendMail (const Host, Subject, pTo, F... |
unit uDAOCardapio;
interface
uses
UCardapio, FireDAc.Comp.Client;
type TDAOCardapio = class(TCardapio)
private
FConexao : TFDConnection;
public
constructor Create(poConexao: TFDConnection);
destructor Destroy;
function fncInsereProduto: Boolean;
function fncDeletaProdu... |
unit Model.CadastroEnderecos;
interface
uses Common.ENum, FireDAC.Comp.Client, Dialogs, Control.Sistema, DAO.Conexao, System.SysUtils, Data.DB;
type
TCadastroEnderecos = class
private
FID: Integer;
FTipo: String;
FCEP: String;
FLogradouro: String;
FNumero: String;
FCompl... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Buttons, ExtCtrls, IniFiles, Misc, NMUDP, SensorTypes, Menus,
DdhAppX, ImgList, StdCtrls, ArchManThd;
type
TFormDataCol = class(TForm)
AppExt: TDdhAppExt;
TrayPopupMenu: TPopupMenu;
pmiClose: TMenu... |
{ Subroutine SST_R_PAS_ITEM (TERM)
*
* Read and process ITEM syntax. The appropriate fields in the expression term
* descriptor TERM are filled in.
}
module sst_r_pas_ITEM;
define sst_r_pas_item;
%include 'sst_r_pas.ins.pas';
procedure sst_r_pas_item ( {create compiled item from input stream}
out ... |
unit classUtil;
interface
type
TUtil = class
class function somenteNumero(texto: String) : String;
class function validarEmail(email: string): Boolean;
end;
implementation
uses
System.SysUtils;
{ Util }
class function TUtil.somenteNumero(texto: String): String;
var
index: intege... |
(*---------------------------------------------------------*)
(* First List (Single Link) *)
(* Neuhold Michael *)
(* 28.11.2018 *)
(*---------------------------------------------------------*)
PROGRAM F... |
unit F1DocumentAPIPrototype;
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Библиотека "SandBox"
// Автор: Люлин А.В.
// Модуль: "F1DocumentAPIPrototype.pas"
// Начат: 29.07.2010 16:26
// Родные Delphi интерфейсы (.pas)
// Generated from U... |
{ Subroutine SST_R_SYN_UTITEM (JTARG)
*
* Process UNTAGGED_ITEM syntax.
}
module sst_r_syn_utitem;
define sst_r_syn_utitem;
%include 'sst_r_syn.ins.pas';
procedure sst_r_syn_utitem ( {process UNTAGGED_ITEM syntax}
in out jtarg: jump_targets_t); {execution block jump targets info}
val_param;
va... |
{$I OVC.INC}
{$B-} {Complete Boolean Evaluation}
{$I+} {Input/Output-Checking}
{$P+} {Open Parameters}
{$T-} {Typed @ Operator}
{$W-} {Windows Stack Frame}
{$X+} {Extended Syntax}
{$IFNDEF Win32}
{$G+} {286 Instructions}
{$N+} {Numeric Coprocessor}
{$C MOVEABLE,DEMANDLOAD,DISCARDABLE}
{$ENDIF}
{********************... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.