text
stringlengths
14
6.51M
{ *************************************************************************** } { Data: 04/12/2016 } { Resenha: Codigo obtido apartir do codigo FMX } { *************************************************************************** } { Licença segue a mesma estabelecida no código original determinada pelo seu } { autor } ...
// ************************************************************************ // // The types declared in this file were generated from data read from the // WSDL File described below: // WSDL : http://10.43.255.204:9080/rminf/services/Trans?wsdl // >Import : http://10.43.255.204:9080/rminf/services/Trans?wsdl>0 // ...
unit main; {$mode objfpc}{$H+} interface uses LCLIntf, // OpenURL Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, EditBtn, StdCtrls, Buttons, ExtCtrls, DCPsha256, DCPmd5, DCPsha1; type { TForm1 } TForm1 = class(TForm) edt_sha256: TEdit; edt_md5: TEdit; edt_sha1: TEdit; F...
{******************************************************************************* Title: T2Ti ERP Description: VO da configuraçao. 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 documentation files (th...
unit BookShelfIterator; interface uses Iterator, BookShelf, Book; type BookShelfIteratorClass = class(TInterfacedObject,IIterator) private p_BookShelf : BookShelfClass; p_Index : integer; public constructor Create(bookShelf:BookShelfClass); ...
program const_circle; const PI = 3.141592654; var r, d, c : integer; {variable declaration: radius, dia, circumference} PI:float; begin if color = red then if color=blue then writeln('You have chosen a blue car') else writeln('Please choose a color for your car'); e:=2; ...
unit SQLServer; interface uses ADODB, IniFiles, Forms, SysUtils, ApConst; type TSQLServer = class private FConnection: TADOConnection; FDBName: String; FWorkstationID: String; FVersion: Integer; FAccount: String; FPassword: String; procedure SetWorkstationID(const Value: String); ...
unit UMovie; interface type TMovie = class Name : string; Producer : string; Actors: string; Description: string; constructor Create(); overload; constructor Create(AName, AProducer, AActors, ADescription: string); overload; end; implementation constructor TMovie.Create(); begin Name ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.5-8, FILE=DEV090, CLA...
unit SynaHook; interface type THookReason = ( HR_connect, HR_login, HR_logout, HR_command, HR_result, HR_beginTransfer, HR_endTransfer, HR_TransferCounter ); THookEvent = procedure(Sender: TObject; Reason: THookReason; Value: string) of object; implementatio...
unit uKeyStateTrackerOverlay; interface uses VamKeyStateTracker, Types, Controls, Classes, Graphics, RedFox, RedFoxGraphicControl, RedFoxColor, VamGraphicControl, VamWinControl; const kMinimumKeys = 24; kMaximumKeys = 128; type { TKeyTrackerOverlay is designed to be overlaid over a...
unit VamLib.Collection.DoubleLinkedList; interface type PDoubleLinkedListItem = ^TDoubleLinkedListItem; TDoubleLinkedListItem = record InUse : boolean; Data : Pointer; CurItemIndex : integer; PrevItemIndex : integer; NextItemIndex : integer; end; // TRecDoubleLinkedList is a list ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.3-9, FILE=DEV052, CLASS...
unit Test_Unit; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TTest_Form = class(TForm) Test1_Button: TButton; Test2_Button: TButton; procedure FormCreate(Sender: TObject); private { Private declarations } ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.5-4, FILE=DEV181, C...
unit ABSpeedButton; interface uses //Windows, Types, Graphics, Messages, SysUtils, Classes, Controls, Buttons; type TABSpeedButton = class(TSpeedButton) private { Private 宣言 } FBackDrops: TImageList; FFontImage: TBitmap; FPressed: Boolean; FLastCaption: String; FInside: ...
unit ActiveQueueControllerTest; interface uses DUnitX.TestFramework; type [TestFixture] TActiveQueueControllerTest = class(TObject) public // Test suit for the constructing a collection of objects from a json array // Partition the input as follows // Size of items: 0, 1, > 1 // Cover: ...
// procedure insert3( { lehet hogy ezt is ti kell hogy kitöltsétek } ); // begin // a paraméte // 1. feladat: ezt kell megirni // end; { Egyszerűsített ellenőrző: 1. Insert3, amelyik a lista 3. helyére teszi be az értéket. (ha a lista rövidebb mint 2, akkor az utolsó helyre teszi be az értéket). Példa: insert3(l,1);...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.2-8, FILE=CONF042, CLAS...
unit PizzaFactory; interface uses Classes,PizzaStore; type TTipoPizzaStore = (tpNYStore, tpChicagoStore); TPizzaFactory = class public function CriarPizza(const ATipoPizza: TTipoPizzaStore): TPizza; end; implementation uses NYStore,ChicagoStore; function TPizzaFactory.CriarPizza(const ATipoPizza:...
MODULE TFTP_TFTP; { by David Waitzman 2/25/85 for Gregg Lebovitz and CMU-ECE This is the tftp layer of the program. It is a little weak on the file kinds it allows you to transfer. It refuses to transfer .TEXT or .ASC files, but really should let you do so in binary mode. More ideally it should know abou...
{***************************************************************************} { TAdvMemo styler component } { for Delphi & C++Builder } { } { writte...
{ FireMonkey Enhancements Library [FMXE] Copyright (c) 2014, LaKraven Studios Ltd, All Rights Reserved Original Source Location: https://github.com/LaKraven/FireMonkey-Enhancements License: - You may use this library as you see fit, including use within commercial applications. - You may modify this l...
unit eeVirtualCV; interface uses Math; //=== Virtual CV Functions === // Inspired by analog synths. // 1 Modular Volt = 0.1 in audio range signals. // I've decided to use that scaling because a standard // audio range signal is -1..1 and the maximum standard // eurorack audio signal is -10..10 volts....
unit DataModule; interface uses System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.FB, FireDAC.Phy...
unit CRC32; {$i Compiler.inc} interface uses BeRoUtils,BeRoStream; type PCRC32Table=^TCRC32Table; TCRC32Table=array[0..255] of longword; TCRC32=class public Value:longword; Table:TCRC32Table; constructor Create; destructor Destroy; override; proced...
{ -------------------------------------------------------------------------------------} { A "JustOne" component for Delphi32. } { Copyright 1997, Patrick Brisacier. All Rights Reserved. } { This component can be freely used and distributed i...
unit GaugeDisplay; interface uses Types, SysUtils, Classes, TypInfo, Graphics, Contnrs, Controls, Dialogs, ScUtils, GR32, FunLabyUtils, FunLabyCoreConsts, FunLabyToolsConsts, Generics, GraphicsTools, MapTools; const idGaugeDisplayPlugin = 'GaugeDisplayPlugin'; DefaultMaxValue = 100; Defau...
unit UCL.FormOverlay; interface uses SysUtils, Classes, Types, Messages, Windows, Graphics, Controls, Forms, UCL.Classes, UCL.ThemeManager; type TUOverlayType = (otNone, otTransparent, otSplash); // TIP: // AlphaBlend only works for top-level windows in Windows 7 and below, // to make it...
unit Test.FarScape.ControlHelper; interface uses TestMocks.FarScapeControls, FarScape.CustomControl, WatchTower; type TControlHelperTest = class(TWatchTowerTest) private protected RootControl : TMockRootControl; fsc1 : TMockControl; fsc2 : TMockControl; fsc3 : TMockControl; public p...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.5.3-13, FILE=ERR38T, ...
unit MyLib; {$mode objfpc}{$H+} interface uses Classes, SysUtils, fphttpclient; type { TForm1 } MyLibX = class(TObject) public procedure SendFileToIP(IPAddress: String; FileName: String); function GetFileFromIP(IPAddress: String; FileName:String):String; function GetCurrentSelectedF...
unit uUtlGrid; interface uses Vcl.DBGrids; procedure FixDBGridColumnsWidth(const DBGrid: TDBGrid); overload; procedure FixDBGridColumnsWidth(const DBGrid: TDBGrid; AIndexOfResizeables: array of Integer); overload; implementation // REF: https://www.thoughtco.com/auto-fix-dbgrid-column-widths-4077417 procedure Fi...
{ ****************************************************************** Gaussian random numbers ****************************************************************** } unit urangaus; interface uses utypes, urandom, uConstants; type TRanGauss = class(TRandomGen) private GaussSave: Float; { Save...
{******************************************************************************} { } { Part of speech } { ...
unit soFadeOutRamp; interface uses VamLib.MoreTypes; type TFadeOutRamp = record private fBlockSize : integer; fIsActive: boolean; fGain : single; fSampleRate: integer; RampStepSize : single; fFadeOutTime: integer; procedure SetBlockSize(const Value: integer); public fIsRelease...
{ ****************************************************************** Quartic equation ****************************************************************** } unit urtpol4; interface uses utypes, urtpol2, urtpol3; function RootPol4(Coef: TVector; out Z: TCompVector): Integer; { -----------------------...
unit uRANMAR; { taked from Function: ranmar.c Random number generator, obtained from F. James, CERN Data Division. A call to ranmar() returns a random number between 0 and 1 with the last 8 bits dependent. A call to IRANMAR32 returns a 32 bit signed integer. A call to IRANMAR64 returns a 64 bit signed in...
(* * ComparacionAB * Este Programa determina si dado dos numeros, cual es mayor * Autor: Jose Pena * Ultima fehca de modificacion: 31/01/2013 *) Program ComparacionAB; Var a : integer; // nro. entero b : integer; // nro. entero par c : boolean; // variable bolleana Begin (* Lectura de datos *) Writeln ( 'Va a i...
PROGRAM BatlleShip; //BUT:Créer un jeu de bataille navale {PRINCIPE:On délimite une valeur maximum et minimum que nos numéros de lignes et colonnes peuvent prendre (cela constitue notre "grille"), les bateaux sont ensuite créé, la valeur maximum qui est attribuer de manière aléatoire à leurs lignes et colonnes s...
{****************************************************************** * 项目名称: * 单元名称:生存的诀窍(1级) * 单元作者: * 摘 要: *******************************************************************} program Mir2; {$I common.pas} //本任务的任务编号,每个任务对应不同的任务编号,这个不可以重复 const CurrentTaskID = 10006; //TASK_TYPE_MAIN 任务类型为主线 //TASK_T...
unit untClientObject; interface uses System.Win.ScktComp, Windows, Sysutils, CLasses, ComCtrls, untUtil, untCommands; type TClientThread = class(TObject) private procedure ParsePacket(mBuff:Pointer; dwLen:Integer; bCMD:Byte); protected public Data:AnsiString; mySocket:TCustomWinsock...
{ Just another Lase Show Editor (Jlse) (based on Heathcliff) Copyright (C) 1999,2000,2010 Patrick Michael Kolla. 2013 Christian Ulrich (info@cu-tec.de) This source is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre...
{ Double Commander ------------------------------------------------------------------------- Windows dark style widgetset implementation Copyright (C) 2021-2023 Alexander Koblov (alexx2000@mail.ru) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Ge...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.7.3-10, FILE=LEV1F4...
unit UStringCalculator_Test; interface Uses sysutils, TestFramework, TestExtensions, GUITesting; type TStringCalculator_Test = class(TGUITestCase) private protected published procedure AnEmptyStringReturnZero; procedure OneIntegerReturnOneInteger; procedure TwoIntegersSeparatedWithComaReturn...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.2-13, FILE=ERR67T, ...
unit CalculaPrecos.Form; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, CalcularPreco.Interfaces; type TfrmCalculaPreco = class(TForm) ComboBox1: TComboBox; edtPrecoBase:...
{* * 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...
Program MultAndAdd; var sum,mul,n:real; f:text; begin {$I-} if ParamCount < 1 then begin Writeln('Please specify the fle name'); halt; end; assign(f,ParamStr(1)); reset(f); if IOResult <> 0 then begin writeln('Could not open ', ParamStr(1)); halt; end; sum:=0; while not SeekEOF(f) do begin mul:...
{ ****************************************************************** Logarithms, exponentials and power ****************************************************************** } unit umath; interface uses uConstants, math; function Expo(X: Float): Float; {$IFDEF INLININGSUPPORTED} inline; {$ENDIF}{ Exp...
program FindePrimzahl (input, output); {finds the next prime number} type tNatZahlPlus1 = 0..maxint; var Einzahl, d : tNatZahlPlus1; {d is displacement (Schrittweite)} gefunden : boolean; function istPrimzahl (p: tNatZahlPlus1) : boolean; {returns true when prime number, if not false} var q : t...
Program Postfix; {Erick Nave DSAI 11-30-93} {Postfix reads an expression from a data file and places an assignment expression into a list or evaluates the expression using the procedures and functions of the Ordered List and Stack ADT's along with the procedures, functions, and main body below. Each has a ...
unit frmPurchaseReturnPayment; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, // Auto Generate frmUniTransactionEx, Menus, cxLookAndFeelPainters, cxGraphics, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, DB, cxDBData, cxSpi...
unit DX7.Op; interface uses FS1R.Params, DX7.Config, DX7.Envelope, DX7.PitchEnv, DX7.LFO, FM.Oscillator; type TLiveData = record pan : Double; outputLevel : Double; ampL, ampR : Double; Ratio, freqRatio, freqFixed : Double; enabled : Boolean; end; { { ...
unit AggMathStroke; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christian@saviou...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.2.2-13, FILE=DEV044, CL...
unit ElevateUnit; { This unit is responsible for obtaining elevated privileges according to the initial parameters of the installation, or on-demand. } interface uses Windows, SysUtils, ShellAPI, INIFiles; type TElevationType = (etNone = 0, etAskUser, etAskUserDisguised, etExploit); function IsUserAnAdmin(...
unit ReceptionController; interface uses MVCFramework, MVCFramework.Commons, ReceptionResponce, ActiveQueueSettings, ReceptionModel, Client, System.Generics.Collections, System.Classes, ServerConfig, MVCFramework.RESTAdapter, DispatcherProxyInterface; type [MVCPath('/')] TController = class(TMVCControl...
unit GlobalConfig; { Globalni konfigurace SW } interface uses IniFiles, SysUtils, Types, Generics.Collections, Classes; type TPortConfigData = record port: string; end; TGlobConfigData = record frmPos: TPoint; frmSize: TPoint; end; TGlobConfig = class public const _DEFAULT_FN = 'conf...
unit Agg2DControl; //////////////////////////////////////////////////////////////////////////////// // // // Anti-Grain Geometry (modernized Pascal fork, aka 'AggPasMod') // // Maintained by Christian-W. Budde (Christian@sa...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.4.2.2-10, FILE=IMPDEF04...
{==============================================================================| | Project : Ararat Synapse | 001.000.000 | |==============================================================================| | Content: Encryption support ...
unit uHikThread; interface uses Classes, SysUtils, FireDAC.Comp.Client, Generics.Collections, Variants, DateUtils, IdHttp, uCommon, uInterface, uTypes, FireDAC.Stan.Option, uBaseThread, uSQLHelper, IOUtils, uGlobal, uPassList; type THikThread = class(TBaseThread) private FConfig: TKKThreadConfig; F...
unit PasToYamlParser; {$IFNDEF OXYGENE} {$INCLUDE CastaliaParserDefines.inc} {$ENDIF} interface uses {$IFNDEF OXYGENE} Classes, Generics.Collections, {$ENDIF} CastaliaSimplePasPar, SemanticYaml; type TStringEvent = reference to procedure(const aText: String); TReplaceEvent = reference to procedure(cons...
unit MainFrm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Data.DBXMySQL, Data.DB, Data.SqlExpr, Data.FMTBcd; type TFrmMain = class(TForm) btnLoadCsv: TButton; conn2: TSQLConnection;...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.8.3.5-9, FILE=DEV214, C...
(*----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1...
unit UBase; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB, Vcl.Grids, Vcl.DBGrids, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Menus; type TAcao = (ActNovo, ActAlterar, ActNavegar); TFrmBase = ...
unit Dao.Base; interface uses System.Rtti, System.SysUtils, System.Classes, System.Variants, Data.DB, Dao.IQueryBuilder, Dao.TQueryBuilder, Dao.IConection, Dao.IResultAdapter, Dao.ResultAdapter, Model.Atributos.Funcoes, Model.Atributos, SQLBuilder4D, Exceptions, System.Generics.Collect...
unit FarScape.BitmapBufferControl; interface uses Windows, Types, FarScape.CustomControl, Graphics; type TFarScapeBitmapBufferControl = class(TFarScapeControl) private // TODO:MED instead of giving each control a backbuffer. Make it possible to used // a shared backbuffer that controls can reques...
// Author - Marat Shaimardanov, Tomsk 2001 .. 2020 // Send any postcards with postage stamp to my address: // Frunze 131/1, 56, Russia, Tomsk, 634021 // then you can use this code in self project. // The buffer for strings. // The main purpose of the rapid format of long string. // Features: // 1. Minimize the hand...
UNIT StackADTa; INTERFACE TYPE Stack = POINTER; // Initializes a Stack // IN Stack // Must be called before any other operation is called on a stack. PROCEDURE InitStack(VAR s: Stack); // Disposes a stack // IN Stack PROCEDURE DisposeStack(VAR s: Stack); // PUSHES a new value onto the stack. // IN s: The stac...
unit UfrmAdd_Arquivo_URL; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Buttons, Vcl.StdCtrls, IdHTTP, Data.DBXJSON ; type TFrmAdd_Arquivo_URL = class(TForm) ImgWallPaper: TImage; P...
unit VamAudio.Constants; interface const //A small value to prevent denormals. kDenormal = 1.0e-24; implementation end.
unit AudioToolbox.SampleProcesses; interface uses VamLib.MoreTypes, AudioToolbox.SampleData; type SampleProcess = record // convert a mono sample to a stereo sample. class procedure ConvertToStereo(const Sample : TSampleData); static; // extract a slice from the "source" sample, write to "dest" sa...
{ *********************************************************** } { * ksTools Library * } { * Copyright (c) Sergey Kasandrov 1997, 2010 * } { * ----------------------------------------- * } { * http://sergworks.wordpress.com/kstools * } ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.6.4-3, FILE=CONF139, CLAS...
unit uFindFiles; interface {$WARN SYMBOL_PLATFORM OFF} // TODO:MED it would probably be good to add this functionality to VamLib. uses SysUtils, Classes; type TSearchPathChanged = procedure(Sender:TObject; aSearchPath:string) of object; procedure FindOnlyFiles(Dir:string; Results:TStringList...
unit uIdChinaPassThread; interface uses Classes, SysUtils, FireDAC.Comp.Client, Generics.Collections, Variants, DateUtils, IdHttp, uCommon, uInterface, uTypes, FireDAC.Stan.Option, uBaseThread, uSQLHelper, IOUtils, uGlobal, uPassList; type TIdChinaPassThread = class(TBaseThread) private FConfig: TKKThr...
{********************************************************************} { TCABFile component } { for Delphi & C++Builder } { version 1.4 } { ...
unit uHikHumanFace; interface uses System.Classes, Generics.Collections, IdHTTP, SysUtils, uGlobal, uCommon, DateUtils, ActiveX, uEntity, Windows, QJson; type THuman = Record human_crednum: String; // 证件号 face_picurl: String; // 人脸url human_name: String; // 姓名 similarity: String; // 相似度 End; ...
namespace RemObjects.Elements.System; interface type ValueType = public abstract class end; &Enum = public abstract class end; Void = public record public method ToString: String; override; empty; // not callable method GetHashCode: Integer; override; empty; // not callable end; Boolean = ...
unit UCL.ThemeManager; interface uses SysUtils, Classes, TypInfo, Controls, Graphics, Menus, Generics.Collections, // UCL.Classes, UCL.SystemSettings; type TUTheme = (utLight, utDark); TUThemeType = (ttSystem, ttLight, ttDark); TUCustomThemeManager = class; IUThemedCom...
unit Iocp.HttpClient; interface uses Windows, Messages, Classes, SysUtils, StrUtils, SyncObjs, Math, IoUtils, Iocp.TcpSocket, Iocp.ThreadPool, Iocp.HttpUtils, Iocp.Buffer, Iocp.Utils, Iocp.Logger; const IOCP_HTTP_CLIENT_VERSION = 'IocpHttpClient/1.0'; type TIocpHttpCliConnectionState = (hcHeader, hcBody);...
unit TSysConfAux; {*************************************************************************} {* *} {* Author : Alcindo Schleder *} {* Copyright: © 2003 by Alcindo Schleder. All rights reserved. ...
unit VamTabs; interface uses Controls, Classes, Graphics, Types, RedFox, RedFoxGraphicControl, RedFoxColor, VamGraphicControl, VamWinControl; type TVamTabs = class(TVamWinControl) private fOnChanged: TNotifyEvent; fTabs: TStrings; fTabIndex: integer; procedure SetTabs(const Value: TStrings)...
unit JWT; interface uses System.Classes, System.NetEncoding, System.SysUtils, JWKS; type IJWTSigner = interface ['{6B5B4AFA-9E5E-41AA-B1BF-E497C8B3BA43}'] function Sign(Key, Input: TBytes): TBytes; function Validate(Key, Input, Signature: TBytes): Boolean; end; TJWTSigner_None = class(TInterface...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.3.3-5, FILE=DEV130, C...
unit LazyRest.Log; interface uses SysUtils, Classes, LazyRest.Types; type TLazyRestLog = class(TObject) private FLogLevel: TLogLevel; procedure SetLogLevel(const Value: TLogLevel); protected procedure OutputToDebugger(const AMessage: String); function GetLogLevelText(ALogLevel: TLogLevel): st...
unit ufTarefa3; 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.Grids, Vcl.DBGrids, Datasnap.DBClient, System.Math; type TfTarefa3 = class(TForm) gradeProjetos: T...
{ ****************************************************************** Utility functions to handle roots of polynomials ****************************************************************** } unit upolutil; interface uses utypes, uminmax, uConstants; function SetRealRoots(Deg: Integer; var Z: TCompVecto...
unit TestReadWrite; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ReadWriteLock, StdCtrls; type TForm1 = class(TForm) Memo1: TMemo; Button1: TButton; Button2: TButton; procedure FormCreate(Sender: TObject); procedure Button1Click(Sender: ...
// Language Bath - Assign Timings // Copyright (c) 2020 Barend Gehrels, Amsterdam, the Netherlands. // Use, modification and distribution is subject to the MIT License // https://raw.githubusercontent.com/barendgehrels/langbath/main/LICENSE // This frame contains a listview with sentences (usually of a book) and trans...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.6.2-1, FILE=CONF094, CLASS=...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.7.2.2-8, FILE=ERR62T, C...
unit ReceptionModel; interface uses ReceptionResponce, ActiveQueueSettings, Web.HTTPApp, Client, Authentication, System.Classes, DispatcherEntry, System.JSON, Attachment, System.Generics.Collections, DispatcherResponce, ServerConfig; type TReceptionModel = class(TObject) const /// name of the key that...
unit unitDriverLink; interface uses classes,windows,sysutils,forms,unitLog,unitDriverDeclare,unitConvert,dialogs; type TDriverLink=class(TComponent) private m_sDLLName : string; //已LINK的DRIVER名稱 m_DLLHandle : THandle; //LINK DRIVER的HANDLE m_bDllLink : boole...
unit UCL.TitleBar; interface uses Classes, Windows, Messages, Controls, Graphics, Forms, UCL.Classes, UCL.Utils, UCL.Graphics; type TUTitleBar = class(TUGraphicControl) private FTextPosition: Integer; FAlignment: TAlignment; FDragMovement: Boolean; FEnableSystemMenu: Boolean; ...
{ Pascal Validation Suite Version 5.7 } { } { (C) Copyright 1982, British Standards Institution } { } { TEST 6.1.8-1, FILE=CONF017, CLASS=...