text stringlengths 14 6.51M |
|---|
{ ******************************************************************
Minimization of a sum of squared functions along a line
(Used internally by equation solvers)
****************************************************************** }
unit ulinminq;
interface
uses
utypes, umachar, uConstants;
proce... |
unit vm;
interface
uses Classes, SysUtils, Dialogs, StdCtrls, Forms, Contnrs;
type
TPointerArray = array of Pointer;
TOpCodeProc = procedure(var Ptr: PByte);
TStackFrame = class(TObject)
Return: PByte;
constructor Create(const Return: PByte);
end;
TCallback = class(TObject)
Offset: Cardinal;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.4-7, FILE=DEV177, C... |
{ ******************************************************************
Student t-test for paired samples
****************************************************************** }
unit ustdpair;
interface
uses
utypes, math, umeansd, umachar, uConstants;
procedure StudPaired(X, Y: TVector; Lb, Ub: Integer; ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.1-4, FILE=DEV244, C... |
{***************************************************************************}
{ }
{ Spring Framework for Delphi }
{ }
{ ... |
{
* FmDropFilesDemo.pas
*
* Main form file for demo program that demonstrates use of Drop Files
* Components and filters.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmDropFilesDemo;
interface
{$UNDEF DELPH... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-2, FILE=CONF178, CLAS... |
unit UnitRenderingContextManager;
interface
uses
SysUtils,
Windows,
Classes;
type CRenderingContextManager = class
private
hWindowHandle: HWND;
hDeviceContext: HDC;
hRenderingContext: HGLRC;
iPixelFormat: Integer;
pfd: TPixelFormatDescriptor;
//
bValid: Boolean;
... |
unit Ucxgridfileds;
interface
uses cxGridTableView, cxGridDBTableView, Generics.Collections, System.Classes, System.IOUtils,
System.SysUtils, System.Types, cxTextEdit, FireDAC.Comp.Client, Data.DB,
cxDBLookupComboBox;
type
TfiledsRec = class
private
Fwidth: Integer;
Fmc: string;
Fdm: string;
... |
unit IndexedColors;
interface
uses
System.Generics.Collections;
type
TIndexedColor = class(TObject)
private
class var fColors: TDictionary<Integer, String>;
class function getColor(index: Integer): String; static;
public
class constructor Create;
class destructor Destroy;
class property ... |
Unit WordCounterAdressing;
INTERFACE
(*
* Parameter WordRecord: The word to store in the cache.
* Returns: TRUE if the Add operation was successful. FALSE if the operation failed (Addressing: Most likely no more space in the HashMap).
*)
FUNCTION Add(wordToAdd: STRING): BOOLEAN;
(*
* Retur... |
{ ******************************************************************
Reduction of a square matrix to upper Hessenberg form
****************************************************************** }
unit uelmhes;
interface
uses
utypes;
procedure ElmHes(var A: TMatrix; Lb, Ub, I_low, I_igh: Integer;
out... |
unit DemoForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, pngimage, ExtCtrls, TransparentCanvas,
ComCtrls, StdCtrls;
type
TfrmDemo = class(TForm)
LoadedImage: TImage;
PaintBox: TPaintBox;
AlphaTrackBar: TTrackBar;
Compositi... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-16, FILE=DEV231, ... |
namespace RedisClassLibrary;
uses
StackExchange.Redis;
type
ConnectionMultiplexerFactory = public class(IConnectionMultiplexerFactory)
public
method Connect(options:ConfigurationOptions):IConnectionMultiplexer;
begin
exit StackExchange.Redis.ConnectionMultiplexer.Connect(options)
end;
m... |
unit frmSettingGlobal;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
// Auto Generate
frmUni, Menus, cxLookAndFeelPainters, dxSkinsCore, dxSkinBlack, dxSkinBlue,
dxSkinCaramel, dxSkinCoffee, dxSkinDarkSide, dxSkinGlassOceans,
dxSkiniMaginary... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.2-1, FILE=CONF200, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.1-2, FILE=DEV053, CLA... |
unit u4DBUtility;
interface
Uses
System.SysUtils, System.Classes, Vcl.StdCtrls, Data.DB, Vcl.DBGrids;
Type
Tu4DBUtility = class
private
protected
// 文字圧縮表示
// CR --> ' ', LF := '', 及びスペースの圧縮
class function StripCRLF(const src: String): String;
// 文字列のサイズ調整(AnsiString)
cl... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-21, FILE=CONF120, CLA... |
unit eeProfiler;
interface
uses
Classes,
Generics.Collections;
{.$DEFINE ProfilerEnabled}
{$SCOPEDENUMS ON}
type
TSectionTime = record
SectionName : string;
CallCount : integer;
TotalTime : single; //in milliseconds.
end;
TSectionTimeList = class(TList<TSectionTime>)... |
program ifthen;
var year:integer;
begin
write("Input year:");read(year);
write(year);
write("\n");
if ((year mod 400)=0 ) then
write("is a leap year.")
else
if ((year mod 4)=0)and(year mod 100<>0)
then write("is a leap year.")
else write("is not a leap year.");
end. |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-6, FILE=DEV223, C... |
unit soAudioFilePreviewPlayerV2;
interface
uses
SysUtils,
Math,
eeSampleFloat,
VamLib.Types,
VamLib.MoreTypes,
VamDsp.Interpolation,
VamAudio.RealTimeDecimationFilter,
soAudioFilePreviewPlayer.Voice;
const
kPreviewVoiceCount = 4;
type
PPreviewSampleProperties = ^TPreviewSampleProperties;
TPrevi... |
{******************************************************************************}
{ }
{ Part of speech }
{ ... |
unit uSfzToXML;
interface
uses
uSfzParser, NativeXML;
procedure LoadSfzAsXML(const SfzFileName : string; XML:TNativeXML);
type
TSfzToXmlLoader = class
private
protected
SfzParser : TSfzParser;
XmlDoc : TNativeXml;
ActiveNode : TXmlNode;
LastRegion : TXmlNode;
Last... |
unit c_jump;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, StdCtrls,
Graphics, crDefs, c_song, c_msgbox;
type
{ TFrmJumpToPos }
TFrmJumpToPos = class(TFrame)
BtnCancel: TPanel;
BtnOK: TPanel;
IntHrs: TEdit;
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.9.3.6-4, FILE=ERR88P... |
unit Dexed_ttl;
interface
uses Math;
type
peg_data_t = record
min,
max,
default_value : Single;
toggled,
integer,
logarithmic : byte;
end;
p_port_enum = (
p_midi_in = 0,
p_audio_out = 1,
p_cutoff = 2,
p_res... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.3-9, FILE=DEV074, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.9-9, FILE=ERR74T, C... |
unit uLucidityVCA;
interface
{$INCLUDE Defines.inc}
uses
VamLib.MoreTypes;
type
TVCAModPoints = record
ModInput_Gain : single;
end;
PVcaConfigData = ^TVcaConfigData;
TVcaConfigData = record
GainPar : PSingle;
GainMod : PSingle;
PanPar : PSingle;
PanMod : PSingle... |
unit djfxExtra;
interface
uses
Classes, Menus, djfxBase;
procedure BuildFxSelectionMenu(Menu:TPopupMenu; CurrentFx:TDJFXType; OnFxClick:TNotifyEvent);
implementation
procedure BuildFxSelectionMenu(Menu:TPopupMenu; CurrentFx:TDJFXType; OnFxClick:TNotifyEvent);
var
mi:TMenuItem;
begin
Menu.Items... |
namespace RemObjects.Elements.System;
interface
type
Console = public static class
private
{$IFDEF WINDOWS}
class var fOutputHandle: rtl.HANDLE;
class var fInputHandle: rtl.HANDLE;
{$ENDIF}
public
class method &Write(s: String);
class method &Write(s: Object);
class method WriteLine... |
{******************************************************************************************************************
* Nome do aplicativo: semantic-net *
* *
* Desenvolvedores: Ana Paula Fernandes Souza - 0022647; *
* Renata... |
unit VenditoriSimple;
interface
uses
Provider, Actions;
type
{ Perform the operations related to the site "venditori.com".
The class contains the following actions:
1. Send
2. Contact
}
TVenditoriSimple = class(TProvider)
private
const
PATH = 'venditori';
public
constructor Create... |
unit SimpleSQL;
interface
uses
SimpleInterface, SimpleTypes;
Type
TSimpleSQL<T : class, constructor> = class(TInterfacedObject, iSimpleSQL<T>)
private
FSQLType : TSQLType;
FInstance : T;
FFields : String;
FWhere : String;
FOrderBy : String;
FGroupBy : String;
... |
unit Controller;
interface
uses
CommandInterface;
type
TController = class
public
procedure SetCommand(Command : ICommand);
procedure ButtonPressed;
private
FNum : ICommand;
end;
implementation
{ TController }
procedure TController.ButtonPressed;
begin
FNum.Execute;
end;
procedu... |
unit DispatcherProxyInterface;
interface
uses
MVCFramework.RESTAdapter, MVCFramework.Commons, DispatcherEntry, DispatcherResponce;
type
IDispatcherProxy = interface(IInvokable)
['{7A30B2C3-B314-4D52-A62F-7714C206E8A8}']
[RESTResource(TMVCHTTPMethodType.httpPUT, '/request')]
function PutEntry([Body(F... |
unit AggPixelFormatAlphaMaskAdaptor;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde ... |
unit CadPedHst;
{*************************************************************************}
{* *}
{* Author: Alcindo Schleder. *}
{* Copyright: © 2003 by Sistema Processa Ltda. All rights reserved. ... |
unit MW_SynEditUtils;
interface
// =================================================================================================
// Mageware RAD Utilities
// Magetech (PTY) Ltd.
// Mike Heydon JUL 2016
//
// SynEditUtils
// ------------
// Enhancements and helper classes for SynEdit components.
// SynEdit version ... |
unit AppResource;
interface
uses
Windows, Classes, ExtCtrls, Jpeg;
function GetResString(dll: THandle; ResIndex: Integer): String;
//procedure ResSetImageFromJpeg(AImage: TImage; dll: THandle; ResName: Integer);
procedure __InitResourceS1;
var
STR_00490: String; //'异动原因'
STR_00501: String; //'品名'
STR_... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-22, FILE=DEV220, ... |
{*********************************************************************}
{ TAdvDirectoryEdit }
{ for Delphi & C++Builder }
{ }
{ written by ... |
unit InWindowDialog;
interface
uses
Classes,
Vcl.Forms,
InWindowDialog.SampleFinderDialog,
InWindowDialog.CustomDialog,
InWindowDialog.MessageDialog,
InWindowDialog.InputDialog;
type
TInputDialogResultCallback = InWindowDialog.InputDialog.TDialogResultCallback;
TCustomDialogResultCallback = InWindow... |
unit Requisicao;
interface
uses Diretory, IdTCPClient, IdHTTP, system.Classes;
type
TRequisicao = class(TObject)
public
var
HTTP: TIdHTTP;
constructor create();
function GET(servico: string): string;
function DELETE(servico: string): string;
function PUT(servico: string; paramter: TStringSt... |
unit VamTreeView;
interface
uses
Types,
Graphics,
Contnrs,
Classes, Controls, WinApi.Messages,
Agg2D, AggColor,
RedFoxImageBuffer,
VamTreeViewNode,
VamCustomTreeView;
type
TNodeEvent = VamCustomTreeView.TNodeEvent;
TBooleanNodeEvent = VamCustomTreeView.TNodeEvent;
PVamTreeViewNode = VamTreeVi... |
unit AudioPlugin.EventScheduler;
interface
// TODO:LOW this unit isn't being used anywhere. Consider deleting it.
uses
Classes,
VamLib.Collection.DoubleLinkedList,
VamLib.Collection.List,
VamLib.UniqueID,
PlugLib.Types;
type
PEventData = ^TEventData;
TEventData = record
ID : TUniqueID;
... |
unit CliParam;
interface
type
/// <summary>Immutable ADT that represents a command line argument.</summary>
/// Immutablity is achieved by the fact that all properties are of primitive
/// types (string and boolean) and are read-only.
TCliParam = class
strict private
FSwitchString: String;
FTag: Str... |
unit Report;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ImgList, StdCtrls;
type
TReportForm = class(TForm)
Listbox: TListBox;
Label1: TLabel;
Images: TImageList;
Button1: TButton;
Label2: TLabel;
Memo: TMemo;
procedure ListboxD... |
{ **********************************************************************
This unit fits a rational fraction :
p0 + p1.x + p2.x^2 + ...
y = ------------------------
1 + q1.x + q2.x^2 + ...
********************************************************************** }
unit ufracfit;
interface
uses
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.8-3, FILE=LEV1F45, ... |
unit D7ComboBoxStringsGetPatch;
// The patch fixes TCustomComboBoxStrings.Get method for empty string item in Delphi 7.
interface
{$IF RTLVersion <> 15.0}
'This patch is intended for Delphi 7 only';
{$IFEND}
implementation
uses
Windows, SysUtils, StdCtrls;
resourcestring
RsPatchingFailed = 'TCustomComboBoxStr... |
unit eeBiquadFilterCore;
interface
uses
eeDsp,
VamLib.MoreTypes;
//NOTES:
// Digital Biquad Filter
// http://en.wikipedia.org/wiki/Digital_biquad_filter
// Earlevel blog. A good artical on transposed IIR filter forms.
// http://www.earlevel.com/main/2003/02/28/biquads/
// Example ... |
{
TLifeTimeManager holds a list of objects and maintains reference counts for each. If an object is freed by
the manager's interface, the manager will not free it until the reference count for it drops to zero.
The LifeTimeManager class is useful in situations when a data object is owned by a single object b... |
{ ******************************************************************
Marsaglia's Multiply-With-Carry random number generator
****************************************************************** }
unit uranmwc;
interface
uses
uConstants, urandom;
type
TRanMWC = class(TBaseRandomGen)
const
{... |
unit Form_Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DB, ADODB, StdCtrls, CheckLst, ExtCtrls, AdvMemo, AdvmPS,
ActnList, RzEdit, Mask, RzLabel, RzCommon, ComCtrls, RzButton, RzRadChk,
RzDTP, RzGroupBar, Clipbrd, RzPanel, RzCmboBx;
type
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-11, FILE=ERR25T, ... |
var
ch: Char;
pos: integer;
str, tmp: String;
procedure error();
begin
writeln('^':pos);
writeln('Error ',ch);
halt;
end;
procedure NextCh;
begin
read(ch);
pos += 1;
end;
begin
writeln('Введите строковую лексему, заключенную в /* */: ');
NextCh;
if ch = '/' then
begin
NextCh;
... |
unit CustomTime;
interface
type
TCustomTime = class(TObject)
public
function LastAccessTime(Path: String): String;
end;
implementation
uses
Winapi.Windows, System.SysUtils, System.DateUtils;
{ TCustomTime }
function TCustomTime.LastAccessTime(Path: String): String;
var
FileSpecs: TGetFileExInfoLeve... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.8.3.9-9, FILE=ERR74P... |
unit CadTPrc;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder. *}
{* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ... |
UNIT ReadN;
INTERFACE
USES
ReadD;
PROCEDURE ReadNumber(VAR Temp: TEXT; VAR N: INTEGER);
IMPLEMENTATION
PROCEDURE ReadNumber(VAR Temp: TEXT; VAR N: INTEGER);
VAR
D: INTEGER;
BEGIN {ReadNumber}
N := 0;
ReadDigit(Temp, D);
WHILE (D <> -1) AND (D < MAXINT - N * 10)
DO
BEGIN
N := N *10 + D;
Rea... |
/// <exclude />
unit Model.Provider;
interface
uses Model.IntActions, Model.Interf,
System.Generics.Collections;
function ProviderClass: IProvider;
implementation
type
TProvider = class (TInterfacedObject, IProvider)
private
/// <summary>
/// This list keeps track of the subscriber... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.1-1, FILE=CONF001, CLASS=... |
{**********************************************************************}
{ TAsgComboBox component }
{ for Delphi & C++Builder }
{ }
{ written by ... |
{
NOTE: When storing the state of the AutoPan, remember to convert
the RATE parameter value to Sync Numerator/Denominator value to
ensure the RATE related methods can be updated whilst maintaining
backwards compatibility.
}
unit djfxAutoPan;
interface
uses
eeGlobals, VamLib.MoreTypes, djfxBas... |
{******************************************************************
* 项目名称:
* 单元名称:英雄
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 106;
//TASK_TYPE_MAIN 任务类型为主线
//TASK_... |
{
Crafting Interpreters
https://craftinginterpreters.com/
}
unit statement;
{$ifdef FPC}
{$mode delphi}
{$interfaces corba}
{$endif}
interface
uses
Classes, SysUtils, Generics.Collections,
environment, expression, token;
type
IStatementVisitor = interface;
TStatement = class
abstract
public
... |
unit Classe.Pessoa;
interface
uses
System.SysUtils;
type
TPessoa = class
private
FNome: String;
FEmail: String;
procedure SetNome(const Value: String);
procedure SetEmail(const Value: String);
public
property Nome : String read FNome write SetNome;
property Email : String read FEmail writ... |
unit DispatcherResponce;
interface
uses ObjectsMappers, AQResponce;
type
TDispatcherResponceMessages = class abstract(TObject)
const
INVALID_BODY_REPORT = 'Dispatcher failed to cast the request: %s';
MISSING_BODY = 'No request body found.';
EMPTY_BODY = 'Null request body found.';
NOT_AUTHORISED ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.3-9, FILE=ERR35T, C... |
unit uVeriFoneMX915;
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.Layouts, FMX.Objects, FMX.Controls.Presentation,
uGeniusEmulatorMain, FMX.ListBox;
type
TGeniusEmulatorForm... |
unit uControllerDividas;
interface
Uses FireDAC.Comp.Client, JSON, idHTTP, IdSSLOpenSSL , Data.DB, System.SysUtils;
type
TControllerDividas = class
procedure UniFormCreate(Sender: TObject);
private
{ Private declarations }
idHttp: TidHTTP;
idSSLIOHandlerSocketOpenSSL: TIdSSLIOHandlerS... |
{******************************************************************************}
{ }
{ Part of speech }
{ ... |
UNIT UCircle;
INTERFACE
USES UShape;
TYPE
Circle = ^CircleObj;
CircleObj = OBJECT(ShapeObj)
CONSTRUCTOR Init(x, y, radius: INTEGER);
PROCEDURE Draw; VIRTUAL;
PROCEDURE MoveBy(dx, dy: INTEGER); VIRTUAL;
// FUNCTION GetX: INTEGER; (VIRTUAL;) ...
PRIVATE
_x... |
// MySql Database Editor.
unit DBEditorMainFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, DBGridBaseFrm, MySQLAccessor, Vcl.StdCtrls,
Data.DBXMySQL, Data.DB, Data.SqlExpr, DBEditFrm, Vcl.ExtCtrls, TableLi... |
unit BmpUtils;
interface
uses
Types, Classes, Graphics;
type
TRGBQ = packed record
function GetColor: TColor;
procedure SetColor(col: TColor);
property Color: TColor read GetColor write SetColor;
case Integer of
0: (C: Cardinal);
1: (B, G, R, reserve: Byte);
2: (Bytes: array [0..3... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://10.46.177.139:8181/traffic/ws/police?wsdl
// >Import : http://10.46.177.139:8181/traffic/ws/police?wsdl>0
// Encodi... |
unit GuiUtils;
interface
uses
Controls, Dialogs;
procedure alignHorizontalCommitButtons(const commit: TControl; const cancel: TControl);
procedure alignHorizontalRight(const controls: array of TControl);
function saveModifiedDataDialog: integer;
implementation
procedure alignHorizontalCommitButtons(const ... |
unit uDJThread;
interface
uses
Windows, Classes, Types, SysUtils, IOUtils, DateUtils, Generics.Collections,
Variants, IdHTTP, uBaseThread, uTypes, uGlobal, uImageOps, uCommon,
UInterface, uPassList;
type
TDJThread = class(TBaseThread)
private
FConfig: TDJThreadConfig;
FVioList: TList<TPass>;
FT... |
{ ******************************************************************
Student t-test for independent samples
****************************************************************** }
unit ustudind;
interface
uses
uConstants;
procedure StudIndep(N1, N2: Integer; M1, M2, S1, S2: Float; var T: Float;
var... |
unit uEntity;
interface
type
TDBConfig = Record
DBServer: String;
DBPort: Integer;
DBUser: String;
DBPwd: String;
DBName: String;
end;
TDevice = class
SBBH: string;
BABH: string;
LKBH: string;
LKMC: string;
FXBH: string;
FXMC: string;
CJJG: string;
SBDDMC: s... |
{* test simple constants *}
program test00;
const
i = 111;
r = 33.3;
s = 'hello';
t = true;
f = false;
begin
debug(i, r, s, t, f);
end. |
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)
BtnNaoTratarException: TButton;
BtnTratarException: TButton;
Button1: TButton;
Button2: TBut... |
Program quad;
Var x1,x2:real;
function quadratic(a,b,c:real; var x1,x2:real):boolean;
var
d:real;
begin
if a = 0 then
begin
quadratic:=false;
exit
end;
d:=b*b-4*a*c;
if d < 0 then
begin
quadratic:=false;
exit
end;
d:=sqrt(d);
x1 :=(-b-d)/(2*a);
x2 :=(-b+d)/(2*a);
quadratic:=true;
end;
begin
if q... |
unit uranmt;
interface
uses uConstants, urandom;
{ ******************************************************************
Mersenne Twister 64-bit Random Number Generator
******************************************************************
A C-program for MT19937-64 (2004/9/29 version).
Coded by Takuji Ni... |
unit Cayan.Genius.Emulator;
interface
uses
System.Classes, System.SysUtils, System.Generics.Collections,
IdContext, IdCustomHTTPServer, IdBaseComponent, IdComponent,
IdCustomTCPServer, IdHTTPServer, IdTCPConnection, IdYarn,
Cayan.Common,
Cayan.Genius.Intf,
Cayan.Genius.Impl,
Cayan.MWv4.Intf,
Cayan.MWv... |
unit SearchOS;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, VirtualTrees, StdCtrls, Buttons, TSysSrvAux, TSysSrv, ExtCtrls,
ComCtrls, OsForms, TSysMan, TSysCad;
type
TfmSearchOS = class(TOSForm)
paDetails : TPanel;
Shape1 : TShape... |
unit eeVstAdapter;
interface
{$INCLUDE Defines.inc}
{$DEFINE TEMPLATE_VERSION_2}
{$IFDEF REQUIRE_TEMPLATE_VERSION_2}
{$IFNDEF TEMPLATE_VERSION_2}
{$MESSAGE Fatal 'EasyEffectTemplate Version 2 required.'}
{$ENDIF}
{$ENDIF}
uses
eeProcessController,
Windows,
eePluginGui,
eeGlobals,
... |
unit DataObjects.WebInfos;
interface
type
/// <summary>Web情報クラス。</summary>
TWebInfo = class
private
FURL: string;
FContent: string;
procedure SetURL(const Value: string);
procedure SetContent(const Value: string);
public
/// <summary>URL。</summary>
property URL: string read FURL write ... |
unit Menu.MissingSampleContextMenu;
interface
uses
Classes,
Vcl.Menus,
Menu.CustomPopupMenu;
type
TMissingSampleContextMenu = class(TCustomPopupMenu)
private
protected
procedure HandleEvent_LocateMissingSamples(Sender : TObject);
public
constructor Create(AOwner: TComponent); override;
dest... |
unit NewChannelDialog;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Supla_proto, ProgCfgUnit, Vcl.StdCtrls, Vcl.ComCtrls, Vcl.ExtCtrls;
type
TNewChannelDlg = class(TForm)
TypeComboBox: TComboBox;
... |
unit AppViewTypes;
interface
uses
System.Classes,
uAppData,
FormViewTypes;
type
// Enum для каждого View в этом приложении
TvmView = ( Startup, Settings, Log, Enter, Stats );
// IViewHost - наследник IFormViewHost и расширяет его специальными функциями данного приложения
ILogViewHost = i... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.6-10, FILE=DEV141, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.5-14, FILE=DEV086, ... |
{
VST GUI's need a way to get and set a variety of values from the VST audio core.
For example, sample file names, float values, integer values, interface references.
Vst Parameters provide one way to get and set values that can be translated to the
0..1 float range. Vst Parameters aren't appropiate for a... |
unit UFuncoes;
interface
uses Windows, Forms, SysUtils, ShellAPI, StrUtils, dialogs, inifiles;
type
TTipoIni = (TiConexao, TiTerminal, TiECF);
// Pega o N° da Unidade do sistema
function SystemDrive: String;
// Insere zeros a esquerda
Function StrZero(const I: Integer; const Casas: byte): string;... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.