text stringlengths 14 6.51M |
|---|
{*
* Copyright 2013 Artur Mkrtchyan
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agree... |
unit VamSampleDisplay;
interface
uses
VamLib.Graphics,
Graphics, System.Types, System.Classes,
RedFox, RedFoxColor,
VamSampleDisplayBackBuffer, VamWinControl;
type
TSampleDisplayInfo = VamSampleDisplayBackBuffer.TSampleDisplayInfo;
TSampleImageBuffer = VamSampleDisplayBackBuffer.TSampleImageBuffer;
IS... |
unit uMdlUser;
interface
uses
System.SysUtils, FireDAC.Comp.Client, Data.DB, uSrvDatabase, uEntUser, uUtlCrypto,
System.Generics.Collections;
type
TUserModel = class(TObject)
private
FDB: TSrvDatabase;
FQry: TFDQuery;
FDS: TDataSource;
FUser: TUser;
public
constructor Create;
destr... |
unit VamVst.Extra;
interface
function VstDispatcherOpcodeToStr(Opcode:integer):string;
function VstAudioMasterOpcodeToStr(Opcode:integer):string;
implementation
uses
SysUtils;
const
//------------------------------------------------------------------------------
// VST 2.x dispatcher Opcodes (Plug-in to Hos... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.1-8, FILE=DEV125, C... |
program alg009;
{
#-------------------------------------------#
# Autor: Samuel T. C. Santos #
# Data: 24-04-2014 #
# Free Pascal Compiler #
#-------------------------------------------#
}
var
distancia, tempo, velocidade_media: real;
begin
write('Distancia [k... |
unit VamGraphicControl;
interface
uses
Classes, Types,
RedFoxGraphicControl, VamVisibleControl, VamLayoutWizard;
type
TVamGraphicControl = class(TRedFoxGraphicControl, IVamVisibleControl, IVamLayoutWizard)
private
fLayout: TVamLayoutWizard;
protected
function GetObject : TObject;
public
const... |
unit ReliefBitmapSymbols;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, IniFiles,
StrUtils, ReliefText, VektorBasedObject, Global, symbolHelper, Types;
const
_MAX_MOVE = 64;
type
TBSData = record
Width, Height: Integer;
Data: array [0 .. ((_MAX_WIDTH * _MAX_HEI... |
unit ClientGmat;
interface
uses
DBImportableData;
type TClientGmat = class(TDBImportableData)
private
FClient_id: Int64;
FScore_no: Integer;
FTest_date: TDateTime;
FTotal: Integer;
FVerbal: Integer;
FMath: Integer;
FAwa: Integer;
FIntegrated_reasoning: Integer;
FMemo: string;
... |
unit SelfTeleportation;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools, KeyStrokes;
const
idSelfTeleportationPlugin = 'SelfTeleportationPlugin';
type
... |
(* Implementation of MiniPascal/MidiPascal VM. *)
(* GHO, 20.05.2017 *)
UNIT MPVMImpl;
INTERFACE
TYPE
(* Execution mode *)
ExecutionMode = (
(* Execute code in regular fashion. *)
Run,
(* Execute code step by step and display op codes. *)
RunVerbose,
(* Only display op codes without executing code. *)
D... |
{
part of: MP3FileUtils v0.5
-------------------------------------------------------
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.m... |
var
ch: Char;
pos: integer;
str: string;
procedure error();
begin
writeln('^':pos);
writeln('Ошибка в символе ', ch);
halt;
end;
procedure NextCh;
begin
read(ch);
pos += 1;
end;
begin
writeln('Введите строковое представление числа (оканчивающееся символом !):');
var list:= new List<char>;
... |
{***********************************************************************}
{ TAdvDBLookupComboReg component }
{ for Delphi & C++Builder }
{ version 1.5 }
{ ... |
unit Amplifier;
interface
type
TAmplifier = class
procedure AmpOn;
procedure AmpOff;
procedure SetCD(Cd : String);
procedure SetDVD(Dvd : string);
procedure SetStereoSound;
procedure SetSurroundSound;
procedure SetTuner;
procedure SetVolume(vol : string);
end;
implementation
{ TAm... |
unit NightState;
interface
uses
Base;
type
NightStateClass = class(BaseState)
private
class var p_Singleton : NightStateClass;
constructor Create;
public
class destructor Destroy;
class function GetInstance:BaseState;
procedure DoClock(context : IContext; hour:... |
unit FarScape.ControlHelper;
interface
uses
FarScape.CustomControl,
Types;
type
TFarScapeControlHelper = class helper for TFarScapeControl
public
function IsChildOf(const PossibleParent : TFarScapeControl):boolean;
function GetBounds : TRect;
function GetBoundsInReferenceTo(const Target : TFarSca... |
{
Helper script that makes modifying script properties easier.
Original code: DavidJCobb @ https://github.com/DavidJCobb/xedit-tesv-scripts/
PROPERTY TYPE VALUES:
1 - Object (any forms or aliases)
2 - String
3 - Int32
4 - Float
5 - Bool
11 - Array of Object
12 - Array of String
1... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.3-3, FILE=CONF110, CLAS... |
unit VamScrollBox;
interface
uses
Types, StdCtrls, Classes, RedFox, RedFoxColor, VamWinControl, VamScrollBar;
type
// TVamScrollbox is a container component that can optionally show a vertical and/or
// horizontal scrollbar. The scrollbars have no impact on the container's
// child controls by default. Any ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.5.3.2-6, FILE=IMPDEP01,... |
unit VamGraphicUtils;
interface
type
TXYBoundsF = record
x1 : single;
y1 : single;
x2 : single;
y2 : single;
function Width : single;
function Height : single;
end;
// Translates a XY cooridinate position from one sized plane to another.
procedure TranslateCoordinate(const SourceBounds... |
program pentaminos;
{$M 65000,0,0,r-,s-}
uses crt,dos;
const
maxx=10;
maxy=6;
limite=12;
path='c:\$pentas';
version='0.32p 22/08/92';
{ PENTAMINOS - (c) René DEVICHI 1992 - août 1992
Problème :
On peut former 12 pièces différentes avec 5 petits carrés qui gardent au
moins un côté en commun (voir la définit... |
object DemoForm: TDemoForm
Left = 275
Top = 109
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsSingle
Caption = 'Message Dialog Components Demo'
ClientHeight = 471
ClientWidth = 817
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -12
... |
program Maximum (input, output);
{gives out the maximum of user-input intergers}
const
COUNT = 4; {Number of inputs}
type
tnumber = 1..COUNT;
var
i : tnumber;
number : integer;
max : integer;
begin
writeln('please enter ', COUNT, ' numbers');
writeln('to determine the higehest number ');
write('1st ... |
{*******************************************************************************
* Created by Vladimir Georgiev, 2014 *
* *
* Description: ... |
unit UCL.Colors;
interface
uses
SysUtils,
Classes,
Controls,
Graphics,
UCL.Types,
UCL.ThemeManager;
type
TUThemeColorSet = class(TPersistent)
private
FEnabled: Boolean;
FOnChange: TNotifyEvent;
procedure SetEnabled(const Value: Boolean);
protected
procedure SetColor(Index: Integ... |
unit ClientRequestTest;
interface
uses
DUnitX.TestFramework, System.JSON, ClientRequest;
type
[TestFixture]
TClientRequestTest = class(TObject)
private
json: TJsonObject;
pairHtml, pairText: TJsonPair;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
/// A test s... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.1-10, FILE=CONF106, CLA... |
unit BeRoStringToDouble;
(**********************************************************
** BeRo String To Double Conversion Library *
***********************************************************
**
** This file is part of the BeRo String To Double Conversion Library.
** Copyright (C) 2011-2012 by Benjam... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-6, FILE=DEV211, C... |
{
GUI controls will sometimes be invalidated many times in a short period. For example, a user moves a scroll bar.
If a control is repeatably invalidated at too great a rate, each Invalidate() call will arrive before
the screen has finished drawing. This can have two side effects.
- sometimes a control may app... |
unit PluginFx;
interface
function tptpc(var state:Single; inp, cutoff : Single):single;inline;
function tptlpupw(var state:Single; inp, cutoff, srInv : Single):single;inline;
/// <summary>
/// static float linsc(float param,const float min,const float max) {
/// return (param) * (max - min) + min;
/... |
unit uTetherUtil;
interface
uses
System.SysUtils, System.IOUtils, Generics.Collections, System.Tether.Manager;
const
DelimVal = '+'; // Achtung: '|' funktioniert nicht!
DelimRow = #13#10;
DftUser = 'Default User';
Password = 'Tether@DB@Test';
TetherAppIdentClient = 'TetherClientAppXYZ';
TetherAppIden... |
unit TextViewer;
interface
uses DIB, Graphics, Classes;
Type
TBGType = (bgNone, bgColor, bgImage, bgImageFill, bgImageResize);
TBorders = (bdLeft, bdTop, bdRight, bdBottom, bdLeftTop, bdRightTop, bdRightBottom, bdLeftBottom);
TShowBorder = Set of TBorders;
const
bdAll: TShowBorder = [bdLeft, bdTop, bdRigh... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.1-12, FILE=ERR86T, ... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
unit uMainForm;
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.Layouts, FMX.Controls.Presentation, FMX.MultiView, System.Actions, FMX.ActnList,
uAppData, AppViewTypes, FMX... |
unit Scanner;
{$i Compiler.inc}
interface
uses Math,BeRoStringToDouble,BeRoStream,BeRoStringTree,Globals,Error,Symbols,Preprocessor,
HugeString,UnicodeUtils,CodePages;
type TScannerToken=(tstNone,
tstPeriod,tstComma,tstPlus,tstMinus,tstMul,tstSlash,
tstLeftParen... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, ShellAPI, IOUtils, Registry;
type
TFormMain = class(TForm)
Label1: TLabel;
ComboBoxResolutions: TComboB... |
unit uDadosPessoa;
interface
uses
System.SysUtils;
Type
RDados_Pessoa = Record
Altura : Double;
Peso : Double;
Sexo : String;
IMC : String;
End;
function CalcularIMC(p_Peso, p_Altura : Double; p_Sexo : String) : String;
Var
P_Dados_Pessoa : RDados_Pessoa;
implemen... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-13, FILE=ERR27... |
{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) }
{ ... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
UNIT POLYNM;
{ calcul sur les polynômes - version 2.07 M }
{ utilisation de Modulog }
{ TURBO PASCAL 4.0 et 5.0 }
{ René DEVICHI , 21 - 22 décembre 1989 , Le LUC }
{ ... année 1990 pour le développement }
(* Notice: rappel du type... |
unit AggSpanInterpolatorPerspective;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde ... |
PROGRAM ParserTest;
USES
Parser, sysutils;
VAR
ok: BOOLEAN;
value: INTEGER;
expression: STRING;
PROCEDURE AssertEquals(expected: INTEGER; actual: INTEGER);
BEGIN
IF expected <> actual THEN
Writeln('Assert failed! Expected: (', IntToStr(expected), '), Actual: (', IntToStr(actual),')');
END... |
unit eeDsp.Interpolation.Tests;
interface
uses
TestFrameWork;
type
{$M+}
TInterpolationUnitTest = class(TTestCase)
published
procedure Linear_Test;
end;
implementation
uses
eeFunctions, eeDsp.Interpolation;
{ TInterpolationUnitTest }
procedure TInterpolationUnitTest.Linear_Te... |
unit eeParSmoothingUtils;
interface
// CalculateSmoothingCoefficient()
// - SmoothingTime is in milliseconds.
function CalculateSmoothingCoefficient(const SmoothingTime, SampleRate : single):single;
function SmoothParameterChange(const CurrentParameterValue, TargetParameterValue, SmoothingCoefficient:singl... |
{ SdpoFreenect v1
CopyRight (C) 2011 Paulo Costa
This library is Free software; you can rediStribute it and/or modify it
under the terms of the GNU Library General Public License (LGPL) as published
by the Free Software Foundation; either version 2 of the License, or (at your
option) any later version.
T... |
unit u3dSpace;
{ Unit u3dSpace : 3D space processing Unit
Created by : Alex Vergara Gil
Contains the routines for 3D handling algorithms
}
interface
uses utypes, umodel3d, uConstants;
function distance_point_to_plane(point: Tpoint3d; plane: Tplane3d): float;
// function Point3D(x,y,z:integer):... |
program ArithFunc;
const
Sentinel =0.0;
var
X:Real;
begin
writeln('After each line enter a real number or 0.0 to stop');
writeln;
writeln('X', 'Trunc(x)' :16, 'Round(x)' : 10, 'Abs(X)' :10,
'Sqr(X)' :10, 'Sqrt(Abs(X))' : 15);
readln(X);
while x <> Sentinel do
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.6-7, FILE=LEV1F03, ... |
unit UMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData,
cxDataStorage, cxEdit, cxNavigator, Data.DB... |
unit MyUtils;
interface
uses Windows, SysUtils, TntSysUtils;
//******** Working with files *******//
type
TCheckFileResult = (cfNotExist, cfLocked, cfCanWrite);
function CheckFileName(const FileName: AnsiString): Boolean;
function CheckFileNameW(const FileName: WideString): Boolean;
//Validates file name AnsiStrin... |
Unit TCP_SettingsNotebook;
Interface
Uses
Classes, Forms, Graphics, TabCtrls, Buttons, ExtCtrls, StdCtrls, ListView,
Spin,ustring,sysutils,Messages,Dialogs,tCP_ExceptionUnit;
Type
TProgrammSettingsNotebook = Class (TDIalog)
TabbedNotebook1: TTabbedNotebook;
Okbutton: TButton;
CancelButton: TButton;... |
{==============================================================================|
| Project : Delphree - Synapse | 002.003.001 |
|==============================================================================|
| Content: PING sender ... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit VamSamplePeakBuffer;
interface
type
TPeakBuffer = class;
IPeakBuffer = interface;
TPeakBufferDataPoint = record
MinValue : single;
MaxValue : single;
end;
TPeakBufferData = TArray<TPeakBufferDataPoint>;
PPeakBufferData = ^TPeakBufferData;
IPeakBuffer = interface
['{E925DFD8-A07D-40... |
unit TimelineControler;
interface
uses
Windows, Winsock, Classes, SysUtils, Log4D, ExtCtrls,
LPTPort, LPTControlerClient, TimelineFile;
type
TTimelineControler = class (TObject)
private
FClient: TLPTControlerClient;
FTimer: TTimer;
FTimelineData: TTimelineFile;
FTimelineFileName... |
Program Adventure;
{Erick Nave
DS&A II 1:00
Start: 3-30-94
Last Update: 4-11-94
Adventure begins by reading a number and room name pair from input
which builds a list of rooms. Then 2 numbers and a character are
read to build the adjacency list. The list is then displayed by
showing which 2 rooms are... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.4-1, FILE=CONF047, CLAS... |
unit UCL.Separator;
interface
uses
Classes,
Messages,
Controls,
Graphics,
UCL.Classes,
UCL.Types,
UCL.Utils;
type
TUSeparator = class(TUGraphicControl)
private var
LineColor: TColor;
private
FCustomColor: TColor;
FOrientation: TUOrientation;
FAlignSpace: Inte... |
{ *********************************************************************** }
{ }
{ SearchUtils }
{ }
{ Copyright (c) ... |
Program Problem55;
Uses sysutils, math;
Type pstring = ^string;
Function IsPalindrome(s : string) : boolean;
Var
i : integer;
len : integer;
Begin
len := Length(s);
For i := 1 To len div 2 + 1 Do
Begin
If s[i] <> s[len - i + 1] Then
Begin
IsPalindrome := false;... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.4.1-2, FILE=IMPDEF1... |
{==============================================================================|
| Project : Delphree - Synapse | 001.001.000 |
|==============================================================================|
| Content: HTTP client ... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
{Custom Exceptions}
EDupHandle = class(Exception);
{Define form class that application's "GUI" thread processes}
TForm1 = class(TForm)
MainCounterEdit: TEdit;
Th... |
unit uAnalysisPic;
interface
uses
SysUtils, Classes, uGlobal, uCommon, uHik, IdCustomHTTPServer;
type
TAnalysisPic = Class
private
class var FPicName: String;
class function SavePicAndGetUrl(ABase64Str: String): String;
public
class procedure AnalysisPic(AUrl, APic: String;
AResponseInfo: ... |
unit SpreadUnit;
{
This unit provides the TSpreader class, which is a descendant
of TWorker. This class is capable of detecting and infecting
USB Drives and Network Shares.
}
{$WARN SYMBOL_PLATFORM OFF}
interface
uses
SysUtils, Classes,
Winapi.Windows, Winapi.ActiveX, ShellAPI, ShlObj, ComObj, INIFiles,
... |
unit TrayIconType;
interface
type
TIconType = (ictBlue, ictGreen, ictRed, ictGray, ictYellow, ictOrange);
TChangeIconEvent = procedure (Sender: TObject; IconType: TIconType) of object;
implementation
end.
|
unit uEditors;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, VirtualTrees, ExtDlgs, ImgList, Buttons, ExtCtrls, ComCtrls,
Mask, uSharedGlobals;
type
TValueType = (
vtNone,
vtString,
vtPickString,
vtNumber,
vtPickNumber,
vtMemo,
... |
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)
memo1: TMemo;
button1: TButton;
edit1: TEdit;
edit2: TEdit;
Edit3: TEdit;
ListBox1: ... |
/// <summary>
/// Unit uMetaImage handles ITK MetaImage medical images.
/// Created by Alex Vergara Gil.
/// </summary>
/// <remarks>
/// Created jan 15, 2015
/// </remarks>
Unit uMetaImage;
Interface
Uses sysutils, Dialogs, utypes, uConstants, uInterfile, gaugefloat,
umedicalImage;
Type
AMetaType... |
Unit StatisticsFrm;
Interface
Uses
Winapi.Windows, Winapi.Messages, System.SysUtils,
System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls,
VCFRecord, Generics.Collections;
Type
TIncidentLengthStat = Record
TPs : Cardinal;
FNs : Cardinal;
FPs : Cardin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.2.2-7, FILE=CONF031, CLASS=... |
UNIT BeRoStream;
{$IFDEF FPC}
{$MODE DELPHI}
{$WARNINGS OFF}
{$HINTS OFF}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$IFDEF CPUI386}
{$DEFINE CPU386}
{$ASMMODE INTEL}
{$ENDIF}
{$IFDEF FPC_LITTLE_ENDIAN}
{$DEFINE LITTLE_ENDIAN}
{$ELSE}
{$IFDEF FPC_BIG_ENDIAN}
{$DEFINE BIG_ENDIAN}
{$ENDIF}
{$ENDIF}
... |
unit usuarios;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DB, Vcl.Grids,
Vcl.DBGrids, Datasnap.DBClient, PAIMDICHILD;
type
TUsuario = CLASS
private
fId:integer;
fLo... |
unit Test.Model.Pedido;
interface
uses Model.ModelBase, Exceptions, System.Generics.Collections, Test.Model.Item, Utils.Funcoes, Model.Atributos, Model.Atributos.Tipos;
type
[Tabela('PEDIDO')]
TPedido = class(TModelBase)
private
FID: Integer;
FNUMERO: string;
FDATAPEDIDO: TDateTime;
FHORAPEDID... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.6.4-1, FILE=CONF137, CLAS... |
{
MIT License
Copyright (c) 2017-2018 Marcos Douglas B. Santos
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, cop... |
unit BOs;
interface
uses
FrameworkTestsU, system.TimeSpan, system.SysUtils, generics.collections,
ObjectsMappers, system.Classes;
type
TMyObject = class
private
FPropString: string;
FPropAnsiString: AnsiString;
FPropInt64: Int64;
FPropUInt32: cardinal;
FPropUInt64: UInt64;
... |
unit ConditionInterface;
interface
uses
ActiveQueueEntry;
type
/// <summary>An interface for determining whether a TReceptionRequest instance satisfies a condition.
/// The scope of the interface is to be able to filter out TReceptionRequest instances satisfying
/// certain conditions (i.e., in order to canc... |
unit uPessoa;
interface
uses uEndereco, IdHTTP, IdSSLOpenSSL, RTTI, XMLDoc;
type
TPessoa = class
private
FEmail: string;
FCPF: string;
FIdentidade: string;
FNome: string;
FTelefone: string;
FEndereco: TEndereco;
function GetEndereco: TEndereco;
public
procedur... |
unit RESTRequest4D.Request.Params;
interface
uses RESTRequest4D.Request.Params.Intf, REST.Client, REST.Types;
type
TRequestParams = class(TInterfacedObject, IRequestParams)
private
FRESTRequest: TRESTRequest;
function Clear: IRequestParams;
function AddParam(const AName, AValue: string): IRequestPara... |
unit eeFilters.Allpass;
interface
uses
VamLib.MoreTypes;
type
// TSecondOrderAllPass implements the block-diagram found in
// "Streamlining Digital Signal Processing" by richard G.Lyons.
// Chapter 9.7, Figure 9-12, page 97.
TSecondOrderAllPass = class
private
x1, x2, y1, y2:double;
... |
unit UdtmConexao;
interface
uses
System.SysUtils, System.Classes, Data.DBXDataSnap,
IPPeerClient, Data.DBXCommon, Data.DB, Data.SqlExpr, IdBaseComponent,
IdComponent, IdTCPConnection, IdTCPClient, IdHTTP,
Data.DBXFirebird;
type
TDtmConexao = class(TDataModule)
IdHTTP1: TIdHTTP;
CnxDATABASEHUB: TSQ... |
unit UnitRecords;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Grids, DBGrids, ExtCtrls, DB, ADODB, ComCtrls, UnitMain;
type
TFrameRecords = class(TFrame)
GridPanelRight: TGridPanel;
DBGridRecords: TDBGrid;
GridPanelLeft: TGridPanel;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.3-7, FILE=DEV050, CLASS... |
unit unitResourceHTML;
interface
uses Windows, Classes, SysUtils, unitResourceDetails;
const
RT_HTML = MakeIntResource(23);
type
//------------------------------------------------------------------------
// HTML resource details class
THTMLResourceDetails = class (TAnsiResourceDetails)
protecte... |
(*********************************************************************
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... |
PROGRAM InsertSort2(INPUT, OUTPUT);
CONST
MAX = 60;
TYPE
NodePtr = ^Node;
Node = RECORD
Next: NodePtr;
Key: STRING
END;
ArraySort = ARRAY [1 .. Max] OF STRING;
VAR
FirstPtr, NewPtr, Curr, Prev: NodePtr;
Found: BOOLEAN;
ArrayForSort: ArraySort;
Index: ... |
unit CadParGlb;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
{*
* Actividad23
* Este programa calcula la sumatoria de los cuadrados hasta un numero n
* Autor: Jose Pena
* Última modificación: 22 / 01 / 2013
*}
program actividad23;
var h : integer; // Horas
m : integer; // Minutos
s : integer; // Segundos
Begin
(* Lectura de datos *)
Writeln (' El programa le va a ... |
PROGRAM PrintGoodbye(INPUT, OUTPUT);
BEGIN
WRITELN('GOODBYE')
END.
|
(****************************************************************************
* Tree.pas *
* Created by Arman Elahi *
* Pascal implementation of a Binary Tree *
* Professor Pantoja - COEN 171 *
****************************************************************************... |
{==============================================================================|
| Project : Delphree - Synapse | 001.000.001 |
|==============================================================================|
| Content: Socket Independent Platform ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.10-2, FILE=CONF208, CLASS=C... |
program FirstSteps;
VAR
username: String;
luckyNumber: integer;
begin
Randomize;
writeln('Hello world!');
writeln('Please tell me your name...');
readln(username);
writeln('Hello ', username);
luckyNumber:=random(10);
writeln('Your lucky number is: ',luckyNumber);
readln();
end.
|
unit EditPlugAPITypes;
interface
type
TBufCoord = record
char: longint;
line: longint;
end;
TWinPos = record
top: longint;
left: longint;
width: longint;
height: longint;
end;
implementation
end.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.