text stringlengths 14 6.51M |
|---|
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.9-3, FILE=CONF021, CLASS=... |
{*********************************************************************}
{ TADVSTRINGGRID component }
{ for Delphi & C++Builder }
{ }
{ written by TMS Software ... |
unit Tools;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.StdCtrls, Math;
procedure SetLBHScrollbar(aValue: TListBox);
procedure GetFilesInDirectory(Directory: String; Const Mask: String;
... |
Unit MessageBoxUnit;
INTERFACE
uses Os2Def, Os2PmApi, SysUtils;
Procedure ShowMessage(MsgTitle,Msg:String);
IMPLEMENTATION
Procedure ShowMessage(MsgTitle,Msg:String);
var
Ptl : PointL; // message data
hwndClient : HWnd; // client window handle
Ab : Hab;
Mq : Hmq;
begin
... |
unit AggConvAdaptorVpgen;
////////////////////////////////////////////////////////////////////////////////
// //
// Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') //
// Maintained by Christian-W. Budde (Christian@... |
unit UnitBufferObjectManager;
// Copyright (c) 2021 Sergey-KoRJiK, Belarus
interface
uses
SysUtils,
Windows,
Classes,
OpenGL,
UnitOpenGLext;
type CBufferObjectManager = class
private
iBufferObject: GLuint;
eTarget: GLenum;
eUsage: GLenum; // Only for Muta... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.4-3, FILE=ERR44P... |
unit VamAudio.R8BrainWrapper.v3;
interface
uses
VamLib.MoreTypes, r8bsrc, r8bsrcEx;
type
// MaxInLen = Maximum length of input buffer.
// ReqTransBand = Required Transition Band. Units in percentage (%).
// Range:
// - 0.5-2% is extremely greedy and usually not necessary.
// - 2-3% is good fo... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.7-2, FILE=CONF015, CLASS=... |
{ *******************************************************************************
Copyright (c) 2004-2010 by Edyard Tolmachev
IMadering project
http://imadering.com
ICQ: 118648
E-mail: imadering@mail.ru
******************************************************************************* }
unit EditCont... |
{***************************************************************************}
{ TAdvMemo styler component }
{ for Delphi & C++Builder }
{ }
{ writte... |
{==============================================================================|
| Project : Delphree - Synapse | 002.002.000 |
|==============================================================================|
| Content: Socket Independent Platform Layer ... |
{
* FmEg1.pas
*
* Form unit that implements example 1 for the Version Information Component
* HelpEgs demo program.
*
* $Rev$
* $Date$
*
* Any copyright in this file is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
}
unit FmEg1;
{$UNDEF Supports_RTLNameSpaces}
{$IFDEF C... |
unit frmDepartment;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
// Auto Generate
frmUniMasterEx, Menus, cxLookAndFeelPainters, dxPSGlbl, dxPSUtl, dxPSEngn,
dxPrnPg, dxBkgnd, dxWrap, dxPrnDev, dxPSCompsProvider, dxPSFillPatterns,
dxPSEdgePa... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.5.2-23, FILE=DEV146, ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.1-5, FILE=DEV245, C... |
{-----------------------------------------------------------------------------
Extended precision related support routines
Contains code based off of work by Wolfgang Erhardt and others.
-----------------------------------------------------------------------------}
unit uFPUSupport;
interface
type
TExtRec = pac... |
{==============================================================================|
| Project : Delphree - Synapse | 002.003.000 |
|==============================================================================|
| Content: SNMP traps ... |
program parsephrases;
(* ident "@(#)dapro/simple/parsephrases.p 1.26 16/10/26" *)
(* NOTE: This program MUST be compiled with the -P switch on the Sun
* pascal compiler, in order to ensure partial evaluation of boolean
* expressions involving 'and' and 'or'. /UP
*)
{
Reads nphrset (with phrase function labe... |
unit UCtrlMongo;
interface
uses
System.Classes, System.SysUtils, System.VarUtils, System.Variants, System.Generics.Collections,
REST.Json.Types, REST.Json, System.JSON, System.JSONConsts, System.StrUtils;
type
IMatch = Interface
['{3BF60F61-5B26-47E3-BD0B-6B44EF9A897E}']
function Add(const Value : IMatc... |
unit Model.Conections.Rest;
interface
uses
System.JSON,
System.SysUtils,
Model.Conections.Rest.Interfaces;
type
TRestConnection = class (TInterfacedObject, IRestConnection)
private
protected
FParamsValues: array of String;
FProviders: array of IRestProvider;
FURLBase: String;
FOnAfterGet: ... |
{ Note: This directive exists for FPC (this could also be done with the -Mdelphi flag) }
{$MODE Delphi}
unit UMapTest;
interface
uses
SysUtils,
Classes
;
var
listOf, variables: integer;
const MAX_X = 32;
const MAX_Y = 32;
type
TMapTile = record
TileType: ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.3-6, FILE=DEV049, CLASS... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [Cliente]
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documen... |
unit Helpers.HelperDate;
interface
uses
System.SysUtils, System.DateUtils;
type
THelperDate = record helper for TDate
procedure Encode(Dia, mes, ano: Word);
procedure SetDateNow;
procedure EncodeStr(Dia, mes, ano: string);
procedure ReplaceTimer; overload;
procedure ReplaceTimer(aHora, aMin... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ PRETEST 6.6.5.2-11, FILE=ERR25... |
unit Test.VamLib.Win.Links;
interface
uses
WatchTower;
type
TVamLib_Win_Links_Test = class(TWatchTowerTest)
private
TestDataDirectory : string;
public
procedure Setup; override;
procedure TearDown; override;
[Test]
procedure GetLinkTarget_Test;
[Test]
procedure ResolveLinkTarget... |
unit Venda.Actions.Aberta;
interface
uses
Venda.Interfaces;
type
TVendaActionsAberta = class(TInterfacedObject, iVendaActions)
private
[weak]
FVenda : iVenda;
public
constructor Create(AVenda : iVenda);
destructor Destroy; override;
class function New(Parent : iVenda) : iVen... |
{******************************************************************
* 项目名称:
* 单元名称:盟重指挥官的试炼
* 单元作者:
* 摘 要:
* 备 注:
*******************************************************************}
program Mir2;
{$I common.pas}
//本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复
const CurrentTaskID = 107;
//TASK_TYPE_MAIN 任务类型为主线
/... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
{*******************************************************************************
Title: T2Ti ERP
Description: Classe de controle dos totais de tipos de pagamento.
The MIT License
Copyright: Copyright (C) 2010 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and a... |
unit ObjBlok;
interface
uses IniFiles, Global, PGraphics;
type
TBlkType = (
track, signal, other, text, description, turnout, crossing, linker,
linker_train, lock, derail, disconnector, pst
);
TGraphBlok = class
typ: TBlkType;
block: Integer;
area: Integer;
index: Integer; // index b... |
unit U0100_v2_3;
interface
Type
T0100_v2_3 = class
private
FDesc_Conta: string;
FConta_Supe: string;
FNum_Linha: integer;
FReg: integer;
FCod_Trib_DES_IF: integer;
FConta: string;
FConta_COSIF: integer;
FNome: string;
procedure SetCod_Trib_DES_IF(const Value: integer);
procedu... |
unit BicPenBlack;
interface
uses
BlackPaint, PaintUtils, ShellUtils, PlasticShell, PenUtils, System.SysUtils;
type
TBicPenBlack = class(TPentype)
public
constructor Create;overload;
end;
implementation
{ TPremiumPen }
constructor TBicPenBlack.Create;
begin
FShellBehavior := TPlasticShell.Create;... |
{ *********************************************************** }
{ * ksTools Library * }
{ * Copyright (c) Sergey Kasandrov 1997, 2010 * }
{ * ----------------------------------------- * }
{ * http://sergworks.wordpress.com/kstools * }
... |
{
RedFoxAddonFileBrowser adds File Browser functionality to the RedFoxTreeView
component.
The "FileBrowser" is intended for use in plugins which need an inbuilt browser.
}
unit eeFileBrowserAddon;
interface
uses
Types, Graphics,
Classes, Controls,
VamTreeViewNode,
VamTreeView,
DropSo... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.5-1, FILE=CONF115, CLAS... |
unit ClienteDAO;
interface
uses
System.SysUtils, System.Classes, Data.DB, IBX.IBDatabase,IBX.IBQuery, dialogs,
model.Cliente, IBX.IBCustomDataSet;
type
TClienteDAO = class(TPersistent)
private
FConexao : TIBTransaction;
published
///<summary>Consulta de clientes</summary>
class proced... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.2.3-5, FILE=DEV057, C... |
program aula13;
{
Autor: Samuel T. C. Santos
Data: 07/06/2015
Descricao: Estrutura de Dados - Array Unidimensional
Somar as notas de 10 alunos, calcular media, mostrar
quem esta acima da media e quantos alunos tiveram nota
acima da media.
1 10
0 1 ... |
unit FWSQLBaseDlgfrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.FMTBcd, Data.DB, Data.SqlExpr,
Vcl.ExtCtrls, MySQLAccessor, Datasnap.DBClient, Datasnap.Provider;
type
TFWSQLBaseDialogfra... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.6-1, FILE=CONF085, CLASS=... |
unit InWindowDialog.Prototypes;
interface
uses
Classes, Messages, Controls,
Vcl.Forms, Contnrs,
InWindowDialog.ModalShadow.Form;
type
IPluginDialog = interface(IInterface)
end;
TPluginDialog = class;
TPluginDialogForm = class;
TPluginDialog = class(TInterfacedObject, IPluginDialog)
... |
PROGRAM Fraction(INPUT, OUTPUT);
CONST
UpperBound = 1000000;
TYPE
{Тип данных Смешанная дробь}
CompoundFraction = RECORD
IntegerPart, Numerator, Denominator: INTEGER;
END;
{Выводит смешанную дробь на экран}
PROCEDURE PrintFraction(Fract: CompoundFraction);
BEGIN
IF Fract.Numerator = 0
TH... |
unit frmReceipt;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, FWGridBasefrm, Vcl.AppEvnts,
Vcl.StdCtrls, Vcl.Imaging.jpeg, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids,
Vcl.ComCtrls, Vcl.Buttons, frmReceiptDlg,MyS... |
program trayrestore;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp, Windows, Messages
{ you can add units after this };
type
{ TMyApplication }
TMyApplication = class(TCustomApplication)
protected
procedure DoRun; override;
pu... |
unit JNIWrapper;
{
Copyright (c) 1998 Jonathan Revusky
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions... |
namespace RemObjects.Elements.System;
interface
type
KeyValuePair<T, U> = public class({$IFNDEF NOGC}Object{$ELSE}UnmanagedObject{$ENDIF})
where T is Object, U is Object;
public
constructor(aKey: T; aValue: U);
method &Equals(obj: Object): Boolean; override;
method ToString: String; override;
m... |
unit ViBindings;
interface
uses
Classes,
ToolsAPI,
Winapi.Windows;
type
TViRegister = record
IsLine: Boolean;
Text: String;
end;
TViAction = record
ActionChar: Char;
FInDelete, FInChange: Boolean;
FEditCount, FCount: Integer;
FInsertText: string;
end;
TViBindings = class(TOb... |
function sum(a,b,c,d:real):double;
begin
sum := a + b + c + d;
end; |
unit ZapMQ.Methods;
interface
uses
System.Classes,
JSON;
type
{$METHODINFO ON}
TZapMethods = class(TComponent)
public
function GetMessage(const pQueueName : string) : string;
function GetRPCResponse(const pQueueName : string; const pIdMessage : string) : string;
function UpdateMessa... |
{
Module "Oracle Login Dialog"
@author: SCRIBE (Volodymyr Sedler)
@date: 24.06.2015
@contacts: skype: neo-scribe; e-mail: justscribe@yahoo.com
@point: AlfaBank
Using:
---------------EXAMPLE---------------
uses uLogin;
procedure TForm1.ConnectClick(Sender: TObject);
var
conString, db, name, pa... |
{
TP Lex - A lexical analyzer generator for Turbo Pascal
Copyright (c) 1990-92 Albert Graef <ag@muwiinfa.geschichte.uni-mainz.de>
Copyright (C) 1996 Berend de Boer <berend@pobox.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public Licen... |
unit KeyStrokes;
interface
uses
Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls,
Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts,
FunLabyToolsConsts, Generics, GraphicsTools, MapTools;
type
{*
Configuration de touches au clavier
@author sjrd
@version 5.0
*}
... |
unit IpAuthentication;
interface
uses
System.Classes, System.Generics.Collections;
type
IAuthentication = interface(IInvokable)
['{B5E132F3-D321-48D1-88E9-DFEF2C248381}']
function isAuthorised(const IP: String): Boolean;
function GetIPs(): TArray<String>;
end;
type
TIpAuthentication = class(TInt... |
unit dbcSystemStrings;
// **************************************************************
// Projekt : PLANB
// Modul : dbcSystemStrings
// --------------------------------------------------------------
// Autor(en) :
// Beginn-Datum : 17.06.2016
// Generierung : 17.06.2016... |
program Example1;
{$I slackasm/assembler.pas}
{$X+}
var
assembler: TSlackASM;
Method: external procedure();
var
x: Int32 = 2;
y: Int32 = 100;
z,tmp,i: Int32;
lim: Int32 = 25000000 - 1;
t: Int64;
begin
//---- Pure lape version which we'll write
Write('Pure Lape: ');
t := GetTickCount();
repeat
... |
unit FormOutputControler;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, JvExControls, JvLED, Grids, ExtCtrls, LPTControlerClient,
ActnList;
type
TFrmOutputControler = class(TForm)
GrdEvents: TDrawGrid;
BtnToggle: TButton;
... |
unit U0410_v2_3;
interface
Type
T0410_v2_3 = class
private
FSaid_Final: Currency;
FValr_Cred: Currency;
FCod_Depe: string;
FNum_Linha: integer;
FReg: integer;
FValr_Debt: Currency;
FConta: string;
FSald_Inic: Currency;
FAno_Mes_Cmpe: string;
procedure SetAno_Mes_Cmpe(const Val... |
unit Main;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIRegClasses, uniGUIForm, uniGUIBaseClasses, uniBasicGrid,
uniDBGrid, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : D:\test\QPX7EFKV.xml
// >Import : D:\test\QPX7EFKV.xml>0
// Encoding : UTF-8
// Version : 1.0
// (2018/3/22 18:28:52 - - ... |
unit VamSamplerKeys;
interface
uses
Types, Classes, Controls,
RedFox, AggColor, RedFoxColor,
VamWinControl, VamKeyStateTracker;
const
kKeyCount = 128;
type
TRootKeyChangingEvent = procedure(Sender : TObject; const NewRootKey : integer) of object;
TRootKeyChangedEvent = procedure(Sender : TObject; co... |
unit AudioPlugin.Globals;
interface
uses
PlugLib.AirControl,
AudioPlugin.PlugMain,
Classes,
VamVst2.DAEffect,
VamVst2.DAEffectX;
type
//===============================================
// Vst2 Plug Methods
//===============================================
TGetVstParameter = function (Index: integ... |
unit FileManager.Providers.Response.Default;
interface
uses
FileManager.Providers.Response.Intf, System.Classes, System.JSON;
type
TResponse = class(TInterfacedObject, IResponse)
private
FRequeiredFields: TStringList;
FTipo: TResponseType;
FErrorMessage: TStringList;
function GetRequiredFields:... |
program dzp1;
const
MAX_1 = 100;
MAX_2 = 5050;
type
niz = array [1..MAX_2] of integer;
var
i, n, len: integer;
foo : real;
lin_matrica : niz;
flag : boolean;
function Inicijalizacija(var lin_matrica: niz) : integer;
var
n, i, j, ind: integer;
begin
write('Unesite dimenziju kvadratne m... |
{-----------------------------------------------------------------------------
Selftests for the kernel and several functions
NOT 100% coverage. Tests are added as needed.
-----------------------------------------------------------------------------}
unit uMathSelfTests;
interface
uses SysUtils, uMath, uMathIntf;
... |
program _HouseHolder_;
{ méthode Housholder pour la décomposition Q∙R d'une matrice }
uses Matrices;
procedure HouseHolder(var A,Q,R:matrice);
var
n,co,i,j,k:word;
x,y,norm2:real;
B,M:matrice;
begin
if A.estcarre=false then
begin
writeln('Mauvaise utilisation de Householder.');
exit;
end;
n:=... |
program diagonal;
const CMin = 1;
CMax = 4;
Type matrix = array[CMin..CMax,CMin..CMax] of integer;
Var
a:matrix;
procedure PrintArray(var ar:matrix);
Var i,j:integer;
begin
for i:=CMin to CMax do
begin
for j:=Cmin to Cmax do
begin
Write(ar[i,j]:5);
end;
Writeln;
... |
{Benito van der Zander
}
unit w32initOpengl;
{$mode objfpc}{$H+}
interface
uses
windows,gl,sysutils;
type
{ TOGLW32Base }
EOGLW32BaseException=class(Exception);
TOGLW32Base=class
private
wnd: hwnd; //Fenster
dc: HDC; //Device-Context
gl:HGLRC; //OpenGL-Context
public
property ogl:... |
unit FormEventEditor;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, LPTPort;
type
TFrmEventEditor = class(TForm)
EdtDate: TDateTimePicker;
CbxState: TComboBox;
LblDate: TLabel;
LblTime: TLabel;
LblState: ... |
unit untUtils;
interface
uses
Windows, winsock;
type
TAPIRec = packed record
hKernel32, hUser32, hShell32, hShFolder, hAdvapi32, hNtdll: Cardinal;
xGetProcAddressEx:function(hBase, hHash, dwLen:Cardinal):Pointer;stdcall;
xGetProcAddress:function(hModule: HMODULE; lpProcName: LPCSTR): FARPROC; stdcall... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.1.9-6, FILE=IMPDEF03, C... |
unit FrmEnvioEmail;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Menus, uITransporte, uTTransporteFactory, IdMessage;
type
TForm1 = class(TForm)
lblSmtpHost: TLabel;
lblPorta: TLab... |
{-----------------------------------------------------------------------------
The TAU Math Kernel
Main class TMathSystem, expression primitives and internal packages.
-----------------------------------------------------------------------------}
unit uMath;
interface
uses
SysUtils, Classes, IniFiles, Windows, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.7.2.2-10, FILE=ERR64T, ... |
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)
BtnCalcularExceptGenerico: TButton;
EdtNumero1: TEdit;
EdtNumero2: TEdit;
EdtResult: TEdit;
... |
unit Lucidity.Env.ADSR;
interface
{$INCLUDE Defines.inc}
uses
uConstants,
Lucidity.Types,
VamLib.MoreTypes, soADSR, {eeFunctions,} Lucidity.Enums, eeDsp;
type
TEnvelopeStage = soADSR.TEnvelopeStage;
TLucidityADSR = class
private
fSampleRate: integer;
fAttackTime: single;
f... |
{
TVamSampleZoomControl is a special purpose control to designed for
zooming/scrolling sample displays, similar in function to a scroll bar. The
user can set both the zoom factor and scroll position of the sample display
with one control.
}
unit VamSampleZoomControl;
interface
uses
Types, Controls, Class... |
{
*******************************************************************************
* *
* LGPL with linking exception (like Lazarus). See the file license.md, *
* included in this distribution, for details about the copyright. ... |
unit uftab_main;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ComCtrls, LCLProc, fphttpclient, Process;
type
{ TForm1 }
TForm1 = class(TForm)
eFilter: TEdit;
lv: TListView;
procedure eFilterChange(Sender: TObject);
procedure ... |
unit CadModelList;
{*************************************************************************}
{* *}
{* Author : Alcindo Schleder *}
{* Copyright: © 2007 by Alcindo Schleder. All rights reserved. ... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.3.5-8, FILE=DEV213, C... |
program hw7_1;
const
N = 2;
M = 2;
type
Matrix = array[1..N, 1..M] of real;
var
A, B: Matrix;
procedure initMatrix(var D: Matrix);
var
i, j: integer;
begin
for i := 1 to N do
for j := 1 to M do
D[i, j] := random;
end;
procedure getMaxElementIndex(D: Matrix; var max_i: integer; var max_j: int... |
unit controller.base;
{$mode delphi}{$H+}
interface
uses
SysUtils,
Classes,
httpdefs,
fpHTTP,
fpWeb,
SQLite3Conn,
SQLDB,
eventlog,
controller.dto,
openssl,
sslbase,
opensslsockets,
sslsockets;
type
//controller log types
TControllerLogType = (
clInfo,
clWarn,
clError
);
... |
unit BackEndMockController;
interface
uses
MVCFramework, MVCFramework.Commons, SendServerProxy.interfaces,
ReceptionResponce, ReceptionRequest, FrontEndRequest;
type
[MVCPath('/')]
TBackEndMockController = class(TMVCController)
public
[MVCPath('/send')]
[MVCHTTPMethod([httpPOST])]
procedure se... |
unit Tiny.Invoke;
{******************************************************************************}
{ Copyright (c) Dmitry Mozulyov }
{ }
{ Permission is hereby granted, free of charge, to any per... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.9.3.6-2, FILE=CONF205, CLAS... |
unit cxBoldLookupComboBox;
{$I cxVer.inc}
interface
uses
{$IFDEF DELPHI6}
Variants,
{$ENDIF}
Windows, Messages, SysUtils, Classes, Controls, Graphics,
cxClasses, cxContainer, cxCustomData, cxDataStorage,
cxLookAndFeels, cxEdit,
cxEditConsts, cxDropDownEdit,
cxLookupEdit,
cxBoldLookupEdit,
cxLookupGri... |
unit UPoolThread;
interface
uses
Data.DB,SQLServerUniProvider,
System.Threading, System.Classes, DBAccess, Uni, MemDS;
type
TSQLType = (stOpen, stExecute);
TCallback = procedure(SQLType: TSQLType; Q: TUniQuery) of object;
procedure RunSQL(sSQL: string; SQLType: TSQLType = stExecute; pCallback: TCallback = ... |
Unit ESoft.Launcher.UI.ParamEditor;
Interface
Uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.ExtCtrls,
ESoft.Launcher.DM.Main,
ESoft.Launcher.Parameter... |
{-----------------------------------------------------------------------------
Output Provider for RichTextBox
-----------------------------------------------------------------------------}
unit uMathOutputRichEdit;
interface
uses
SysUtils, ComCtrls, Graphics, Windows, Messages, uMath, uMathIntf;
type
TOutputRi... |
unit ClientLoadOperator;
interface
uses
System.Classes, LoadOperator, ClientInserter, MySQLAccessor,
Client, ClientGmat, ClientToefl, LoadColumn, ClientLoadColumns;
type TClientLoadOperator = class(TInterfacedObject, ILoadOperator)
private
ClientColumns: TClientLoadColumns;
Headers: TStrings;
Inserte... |
unit uConst;
interface
const
// de OpenGL far-plane van het frustum:
MaxViewDistance = 5000.0;
// de grootte van de skybox:
// Dit is de afstand camera-SkyBox (de helft van de totale grootte dus)
// => SizeČ + sqrt(SizeČ + SizeČ) = MaxViewDistance
SkyBoxSize = MaxViewDistance / 1.75; // in uOpenGL
// ... |
{ ******************************************************************
Trapezoidal integration
****************************************************************** }
unit utrapint;
interface
uses
utypes, uConstants;
function TrapInt(X, Y: TVector; N: Integer): Float;
{ Integration by trapezoidal rule,... |
unit FrmEditar;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls,
ClienteController, ClienteModel, CPFException;
type
TFormularioEditar = class(TForm)
PainelAcoes: TPanel;
... |
program aula6;
{
Autor: Samuel T. C. Santos
Data: 03/06/2014
Descricao: Operadores lógicos
IGUAL [ = ] ----> 3 = 4 (false)
DIFERENTE [ <> ] -> 4 <> 5 (true)
menor ou igual <= 3 <= 3 (true)
< menor 6 < 9 (true)
>= 7 maior ou igual >= 7 (true)
> maior --- 18 > 18 (false)
in contida em.
}
beg... |
{$MODE OBJFPC}
{$H+}
unit fi_common;
interface
uses
strutils;
type
TFontInfo = record
family,
style,
full_name,
ps_name,
version,
copyright,
unique_id,
trademark,
manufacturer,
designer,
description,
vendor_url,
designer_url,
license,
license_url,
... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.8.2.3-5, FILE=DEV202, C... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.6.3.2-3, FILE=CONF107, CLAS... |
{ Pascal Validation Suite Version 5.7 }
{ }
{ (C) Copyright 1982, British Standards Institution }
{ }
{ TEST 6.4.3.5-12, FILE=CONF076, CLA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.