text
stringlengths
14
6.51M
{************************************************** llPDFLib Version 6.4.0.1389, 09.07.2016 Copyright (c) 2002-2016 Sybrex Systems Copyright (c) 2002-2016 Vadim M. Shakun Al...
unit uFrameGridSum; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls, {$IF CompilerVersion >= 31} FMX.DialogService, {$ENDIF} UI.Standard, UI.Base, UI.Grid, UI.Frame, FireDAC.Stan.Intf...
unit fHFSearch; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, fAutoSz, ORFn, StdCtrls, ComCtrls, ORCtrls, ExtCtrls, VA508AccessibilityManager, VA508ImageListLabeler; type TfrmHFSearch = class(TfrmAutoSz) cbxSearch: TORComboBox; tvSearch: TORTreeView; pnl...
// // This unit is part of the GLScene Project, http://glscene.org // { : GLHeightData<p> Classes for height data access.<p> The components and classes in the unit are the core data providers for height-based objects (terrain rendering mainly), they are independant from the rendering stage.<p> I...
{ DCC - Rubbermade: Create ARMA Colours darkconsole http://darkconsole.tumblr.com This script will allow you to select a specific ARMA form and use it as a template to create the bajillion others for the other colour variants that Rubbermade supports. You have to select a template form that way we can d...
unit oGridPanelDisplay; interface uses System.Classes, System.SysUtils, System.RTLConsts, Vcl.Controls, Vcl.ExtCtrls, Vcl.Graphics, iGridPanelIntf; type TGridPanelDisplay = class(TInterfacedObject, IGridPanelDisplay) private fGridPanel: TGridPanel; fRowCollapsedHeight: integer; fColCol...
unit JWT.TestCase; interface uses TestFramework, JWT, JWKS; type TTestCase_Base64Url = class(TTestCase) public class constructor Create; published procedure DecodeBytes; procedure DecodeString; procedure EncodeBytes; procedure EncodeString; end; TTestCase_JWT = class(TTestCase) ...
{*************************************************************** * * Project : CBServ * Unit Name: MainForm * Purpose : * Version : 1.0 * Date : Wed 25 Apr 2001 - 01:12:54 * Author : Jeremy Darling <webmaster@eonclash.com> * History : * Tested : Wed 25 Apr 2001 // Allen O'Neill <allen_oneill@hotmail....
{*******************************************************} { } { CodeGear Delphi Runtime Library } { Copyright(c) 2014-2018 Embarcadero Technologies, Inc. } { All rights reserved } { ...
unit ncaFrmPopupPrecoAuto; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ncaFrmPopUpEdit, cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit, cxNavigator, DB, cxDBData, nxdb, dxBarE...
unit oCoverSheetParamEnumerator; { ================================================================================ * * Application: CPRS - Coversheet * Developer: doma.user@domain.ext * Site: Salt Lake City ISC * Date: 2015-12-04 * * Description: Simp...
UNIT diff; INTERFACE USES sysutils, Classes, math; CONST MAX_DIAGONAL = $FFFFFF; //~16 million TYPE {$IFDEF UNICODE} P8Bits = PByte; {$else} P8Bits = PAnsiChar; {$endif} PDiags = ^TDiags; TDiags = array [-MAX_DIAGONAL .. MAX_DIAGONAL] of integer; TChangeKind = (ckNone, ckAdd, ckDelete, ckMod...
{ $Id: UnitTestLeak.pas 7 2008-04-24 11:59:47Z judc $ } {: DUnit: An XTreme testing framework for Delphi programs. @author The DUnit Group. @version $Revision: 7 $ } (* * 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 co...
{ ****************************************************************************** } { Fast KDTree Currency Type support } { ****************************************************************************** } { * https://zpascal.net ...
unit osLex; interface uses RegExpr, SysUtils, Classes; type // Class que representa o token e o padrao que o representa TExprCasamento = class private FExprReg : String; FValorToken : Integer; public property ExprReg : String read FExprReg write FExprReg ; property ValorToken : ...
{: Solar system planetary elements and positions utility unit.<p> Based on document by Paul Schlyter (Stockholm, Sweden)<br> http://www.stjarnhimlen.se/comp/ppcomp.html<p> Coordinates system takes Z as "up", ie. normal to the ecliptic plane, "axis" around which the planets turn.<p> Eric Grange<br> ...
unit Global; {$mode objfpc}{$H+} interface type GameFieldArray = Array of Array of Byte; var Configuration: Array of string; ResetConfig: Boolean; DoNotSave, ScheduleDoNotSave: Boolean; const AboutMessage: String = 'Gomoku v1.0, vytvořil Kryštof Žucha, 2018 - 2019' + LineEnding + ...
unit uProof; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TfrmProof = class(TForm) btnGoBack: TButton; btnGoForward: TButton; btnExit: TButton; Timer1: TTimer; pnlStep1: TPanel; pnlStep2: TPanel; pnlSte...
unit Food; {$MODE Delphi} INTERFACE USES LCLIntf, LCLType, LMessages, Graphics, Classes, MapObject, Map, LinkedList; VAR gfx : ARRAY [1..2] OF TBitmap; VAR foodCount : INTEGER = 0; TYPE TFood = CLASS(TMapObject) PUBLIC CONSTRUCTOR create(_x,_y : INTEGER); OVERLOAD; CLASS PROCEDURE loadGfx(); CLASS FUNCTION...
unit Cadastro.Disciplina; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cadastro.modelo, Data.DB, Vcl.ComCtrls, Vcl.StdCtrls, Vcl.Buttons, Vcl.Grids, Vcl.DBGrids, Vcl.ExtCtrls, Vcl.Imaging.pngimage, Datasnap....
{ Copyright (C) 1998-2018, written by Mike Shkolnik, Scalabium Software E-Mail: mshkolnik@scalabium.com WEB: http://www.scalabium.com This components allow to generate INSERT/UPDATE/DELETE/CREATE TABLE statements by TDataset } unit SQLGen; interface {$I SMVersion.inc} uses Classes, DB; ty...
unit DocBindExcelDataModule; interface uses System.SysUtils, System.Classes, ExcelDataModule, Excel2010, Vcl.OleServer, CustomExcelTable, FieldInfoUnit, Data.DB, SearchComponentOrFamilyQuery; type TDocBindExcelTable = class(TCustomExcelTable) private FqSearchComponentOrFamily: TQuerySearchComponentOrFami...
inherited frmMain: TfrmMain Caption = 'Main' ClientHeight = 422 ClientWidth = 804 Menu = mmMenu OnShow = FormShow ExplicitWidth = 820 ExplicitHeight = 481 PixelsPerInch = 96 TextHeight = 13 inherited actlstList: TActionList object actFuel: TAction Category = 'Register' Caption = 'Fue...
{$A+,B-,D+,E-,F-,G+,I+,L+,N+,O-,P-,Q-,R-,S-,T-,V+,X+,Y+} {$M 65520,0,0} { by Behdad Esfahbod Algorithmic Problems Book September '1999 Problem 34 O(N^3) Matching Method } program BipartiteMaximumIndependentSet; const MaxNum = 100; var M, N, K : Integer; G : array [1 .. MaxNum, 1 .. MaxNum] of Integer; Mark...
unit Frmtrans; interface uses SysUtils, Windows, Messages, Classes, Graphics, Controls, StdCtrls, Forms, DBCtrls, DB, DBGrids, Buttons, DBTables, Grids, ExtCtrls, Dialogs, BDE; type TFrmTransDemo = class(TForm) DBGrid1: TDBGrid; DBNavigator: TDBNavigator; Panel1: TPanel; Panel2: TPanel; B...
unit GridRefUnitTests; interface uses TestFramework; type // Test methods for unit Geo.pas TGridRefUnitTest = class(TTestCase) private public published procedure Test00; procedure Test01; procedure Test02; procedure Test03; procedure Test04; procedure Test05; procedure Test0...
//****************************************************************************** //*** LUA SCRIPT FUNCTIONS *** //*** *** //*** (c) Massimo Magnano 2005 ...
constructor FbException.create(status: IStatus); begin inherited Create('FbException'); self.status := status.clone; end; destructor FbException.Destroy(); begin status.dispose; inherited Destroy; end; function FbException.getStatus: IStatus; begin Result := status; end; class procedure FbException.checkExcepti...
(********************************************************) (* *) (* Print Mender *) (* *) (* Read Code Unit *) (* ...
// // This unit is part of the GLScene Project, http://glscene.org // {: GLCompositeImage<p> This class is required for loading images such classes as TGLDDSImage, TGLO3TCImage, TGLHDRImage etc. <b>History : </b><font size=-1><ul> <li>23/08/10 - Yar - Added OpenGLTokens to uses, replaced Ope...
unit UntMainScreen; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Menus; type TFrmMainScreen = class(TForm) MMenuTelaPrincipal: TMainMenu; MItemPesquisa: TMenuItem; MItemFuncionario: TMenuIte...
{=============================================================================== Copyright(c) 2007-2009, 北京北研兴电力仪表有限责任公司 All rights reserved. 错误接线,表达式生成单元 + TWE_PHASE_EXPRESSION 表达式生成 ===============================================================================} unit U_WE_EXPRESSION; interf...
{**********************************************} { TBezierSeries Component } { Copyright (c) 1996-2004 by David Berneda } {**********************************************} unit TeeBezie; {$I TeeDefs.inc} { This Series component is derived from PointLine Series. It draws PolyBezier curves usin...
{*************************************************************************** * * Orion-project.org Lazarus Helper Library * Copyright (C) 2016-2017 by Nikolay Chunosov * * This file is part of the Orion-project.org Lazarus Helper Library * https://github.com/Chunosov/orion-lazarus * * This Library is free soft...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2018 Embarcadero Technologies, Inc. } { All rights rese...
unit LuiJSONHelpers; {$mode objfpc}{$H+} interface uses fpjson; type { TJSONObjectHelper } TJSONObjectHelper = class helper for TJSONObject public end; { TJSONArrayHelper } TJSONArrayHelper = class helper for TJSONArray public function IndexOf(const ItemValue: Variant): Integer; overload; ...
unit BF_INTV; {$ifdef VirtualPascal} {$stdcall+} {$else} Error('Interface unit for VirtualPascal'); {$endif} (************************************************************************* DESCRIPTION : Interface unit for BF_DLL REQUIREMENTS : VirtualPascal EXTERNAL DATA : --- MEM...
unit uVfsExecuteOperation; {$mode objfpc}{$H+} interface uses Classes, SysUtils, uFile, uFileSource, uFileSourceExecuteOperation, uVfsFileSource; type { TVfsExecuteOperation } TVfsExecuteOperation = class(TFileSourceExecuteOperation) private FVfsFileSource: IVfsFileSource; ...
{----------------------------------------------------------------------------- The contents of this file are subject to the GNU General Public 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.gnu.org/copyleft/gpl...
{*************************************************************** * * Project : EchoServer * Unit Name: mainform * Purpose : Demonstrates ECHO server * Date : 21/01/2001 - 13:05:54 * History : * ****************************************************************} unit mainform; interface uses {$IFDEF Lin...
{ Copyright (c) 2013-2017, RealThinClient components - http://www.realthinclient.com Copyright (c) Independent JPEG group - http://www.ijg.org Copyright (c) 1999, Cristi Cuturicu THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLU...
unit ConnectionModule; interface uses System.SysUtils, System.Classes, Data.DB, DBAccess, Uni, DASQLMonitor, UniSQLMonitor, UniProvider, SQLiteUniProvider, Common.Utils, MemDS; type TDM = class(TDataModule) conn: TUniConnection; SQLiteProvider: TSQLiteUniProvider;...
unit uCadastrarCliente; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids, Vcl.Mask, Vcl.DBCtrls, Vcl.DBLookup, db; type TfrmCadastrarCliente = class(TForm) Label3: T...
unit uDownloads.Model.Query.Firedac; interface uses System.SysUtils, uDownloads.Model.Interfaces, FireDAC.DApt, Data.DB, 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.Phys.SQLite, ...
unit MainForm; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, MyThread; type TfmPrime = class(TForm) btnPrime: TButton; edPrimeNumber: TEdit; lblNumber: TLabel; Prim...
{ALGORITHME CarreMagique //BUT: Construit un carré magique de dimension impaire //ENTREE: Rien //SORTIE: Carré magique CONST TAILLE <- 5 : ENTIER Procedure initialisation(carre : Tableau[1..TAILLE,1..TAILLE] de ENTIER) //BUT: Initialise le carré magique //ENTREE: Le tableau //SORTIE: Rien VAR i,j:ENTIER; DEBUT POUR ...
unit BarCodeLocDAOU; interface uses BarCodeLocDTOU, ArticleLocDTOU, APIUtilsU, REST.Json, System.Generics.Collections ,FireDAC.UI.Intf, FireDAC.FMXUI.Wait, FireDAC.Stan.Intf, FireDAC.Comp.UI, FireDAC.Stan.ExprFuncs, FireDAC.Phys.SQLiteDef, FireDAC.Phys, FireDAC.Phys.SQLite, FireDAC.Comp.Client, IOUtils, Fir...
unit BarCodeWebDAOU; interface uses BarCodeWebDTOU, ArticleWebDTOU, APIUtilsU, REST.Json ,FireDAC.UI.Intf, FireDAC.FMXUI.Wait, FireDAC.Stan.Intf, FireDAC.Comp.UI, FireDAC.Stan.ExprFuncs, FireDAC.Phys.SQLiteDef, FireDAC.Phys, FireDAC.Phys.SQLite, FireDAC.Comp.Client, IOUtils, FireDAC.DApt, FireDAC.Stan.Def, ...
unit Rx.Observable.AdvancedOps; interface uses Rx, Rx.Implementations, Rx.Subjects, Rx.Observable.Map, Generics.Collections, Generics.Defaults, SyncObjs; type TScanObservable<CTX, T> = class(TMap<T, CTX>) strict private FContext: CTX; FContextHolder: TSmartVariable<CTX>; FScanRoutine:...
unit UFireScan; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.Objects, FMX.Platform, System.Math, FMX.ExtCtrls, FMX.Ani, System.IniFiles, System.IOUtils; type TIniSett = record ColWidth : integer; Mi...
{*******************************************************} { } { Copyright (C) 1999-2000 Inprise Corporation } { } {*******************************************************} unit employee_impl; {This fil...
{*******************************************************} { } { Delphi DataSnap Framework } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit adot.Alg.Compression; { TRLE = class PDF-compatible RLE codec. } interface uses System.SysUtils; type { PDF-compatible RLE codec } TRLE = class public class function MaxEncodedSize(ASrcSize: cardinal): cardinal; class function Encode(const ASrc; ASrcSize: cardinal; var ADest): cardinal; ...
unit DemoTemplates; interface uses ProdTemplateReg; procedure Register; implementation uses TemplateResItems, WProdReg; var TemplateResources: TTemplateResources; type TDemoTemplates = class(TProducerTemplatesList) public constructor Create; end; const sProducerTemplateNamespace = 'Borland.SiteXTemp...
unit uDownloads.View.Principal; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.ComCtrls, uDownloads.Controller.Interfaces; type TFrmPrincipal = class(TForm) btnDownload:...
unit ToHClasses; interface uses SysUtils, typinfo; type TBlock = (Unset,Red,Green,Blue); TBlockArray = array[1..3] of TBlock; TTower = class private _blocks: TBlockArray; function GetBlocks(): TBlockArray; function GetHeight(): Integer; function BlockAsString(value: TBlock): String;...
unit BackgroundWorker; { The following code example demonstrates the use of the BackgroundWorker class for executing a time-consuming operation asynchronously. The following illustration shows an example of the output. The operation computes the selected Fibonacci number, reports progress updates as ...
Program FizzBuzz; Var cnt, teen, five, three : Integer; Begin {no semicolon} for cnt := 1 to 100 do begin teen := cnt mod 15; five := cnt mod 5; three := cnt mod 3; if (teen = 0) then write('FizzBuzz'#9) else if (five = 0) then writ...
unit uProdutos; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Grids, Vcl.DBGrids; type TfrmProdutos = class(TForm) Label1: TLabel; dbgrid: TDBGrid; btnAdicionar: TButton; ...
{ sIRC.pas Copyright (c) 2019 Paul Davidson. All rights reserved. } unit sIRC; {$MODE OBJFPC} {$H+} interface uses cthreads, cmem, BlckSock, Classes; type tIRC = class( TThread ) private fAPIXU : string; fChannel : string; fCritical...
namespace RemObjects.Elements.Futures; interface uses Foundation; type IOxygeneFuture = public interface property done: Boolean read; property started: Boolean read; property value: id read; property exception: NSException read; method wait(aRaise: Boolean := true); end; ...
unit uMain; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.SvcMgr, Vcl.Dialogs, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient, IdHTTP, Vcl.ExtCtrls, uCommon, uGlobal, uSavePicThread; type TItsPicReSaveService = class(TService) ...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC DataSnap metadata } { } { Copyright(c) 2004-2018 Embar...
{&AlignCode-,AlignData-,AlignRec-,G3+,Speed-,Frame-} {$M 262144} uses os2base, miscUtil, SysLib, CmdLine, Collect, strOp, Crt, Dos, lxlite_Global; const Recurse : boolean = FALSE; Pause : boolean = FALSE; Verbose : boolean = FALSE; AssumeYes : boolean = FALSE; cmBreak = 0; cmLower =...
// // Copyright (c) 2009-2010 Mikko Mononen memon@inside.org // // This software is provided 'as-is', without any express or implied // warranty. In no event will the authors be held liable for any damages // arising from the use of this software. // Permission is granted to anyone to use this software for any purpose...
{ Copyright (C) 2012-2013, 2019-2020 Matthias Bolte <matthias@tinkerforge.com> Redistribution and use in source and binary forms of this file, with or without modification, are permitted. See the Creative Commons Zero (CC0 1.0) License for more details. } unit Device; {$ifdef FPC}{$mode OBJFPC}{$H+}{$endif} ...
{ Copyright (C) 2013-2019 Tim Sinaeve tim.sinaeve@gmail.com 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...
type massive = array of real; var a, b: massive; n, m, i: integer; procedure intersection(s1, s2: massive); var i, k: integer; begin k := 1;i := 1; while (i < s1.Length) and (k < s2.length) do begin if s1[i] = s2[k] then begin write(s1[i], ' '); k := k + 1;i := i + 1; end ...
unit osGrafo; interface uses SysUtils, Classes; { Funcoes e estruturas auxiliares } type { Tipos de erros possiveis de serem retornados pelo processamento } TErrGrafo = (efSemErros = 0, efCiclo, efProcessamento); TListaElementos = class; { Tipo de objeto que o grafo pode ter como conteudo de...
unit stringgridutils; interface uses vcl.grids, system.types, system.Classes, vcl.graphics, vcl.controls; procedure StringGrid_Clear(grd: TStringGrid); procedure StringGrid_DrawCheckBoxCell(grd: TStringGrid; acol, arow: integer; Rect: TRect; State: TGridDrawState; checked: boolean); procedure StringGrid_Redraw(grd...
unit proc_py; {$mode objfpc}{$H+} interface uses SysUtils, PythonEngine; procedure Py_SetSysPath(const Dirs: array of string; DoAdd: boolean); const cDefFixedFontName = {$ifdef windows} 'Consolas' {$else} {$ifdef linux} 'Ubuntu Mono' {$else} 'Monaco' {$endif} {$endif}; cDefFixedFontSize = {$ifdef windows} ...
{*******************************************************} { } { Delphi Runtime Library } { } { Copyright(c) 1995-2011 Embarcadero Technologies, Inc. } { ...
unit uEmail; interface // É necessario Configurar o host // no gmail basta Ativa o POP3 ou algo parecido uses IdSMTP, IdSSLOpenSSL, IdMessage, IdText, IdAttachmentFile, IdExplicitTLSClientServerBase,Vcl.StdCtrls, System.SysUtils, Vcl.Dialogs, System.UITypes; type TMail = Class Strict Private Port: in...
unit fPCEEdit; interface uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ORFn, uPCE, fBase508Form, VA508AccessibilityManager; type TfrmPCEEdit = class(TfrmBase508Form) btnNew: TButton; btnNote: TButton; lblNew: TMemo; lblNote: TMemo; btnCancel: TButt...
unit Unit1; interface uses System.Classes, System.SysUtils, System.Math, Vcl.Forms, Vcl.ExtCtrls, Vcl.Controls, Vcl.Dialogs, //GLS GLScene, GLObjects, GLTexture, GLVectorGeometry, GLCadencer, GLWin32Viewer, GLSpaceText, GLShadowPlane, GLShadowVolume, GLCrossPlatform, GLMaterial, GLCoordinates, G...
unit ClassGlobals; interface type TGlobals = class private FLastOpened : string; FDodacieDir : string; FDodacieExt : string; procedure LoadFromReg; procedure SaveToReg; public constructor Create; destructor Destroy; override; functio...
{*******************************************************} { } { Delphi FireDAC Framework } { FireDAC SQLite Local SQL classes } { } { Copyright(c) 2004-2018 Embar...
A continuación se definen los tipos de datos que representan un banco con sus cuentas. Existen dos categorías de cuentas: cuenta corriente y cuenta de ahorro. Para cada una de ellas se almacenan sus movimientos de dinero en el registro TipoCuenta. Se pide: a) (20 puntos) Implementar el procedimiento que, para cada c...
unit Horse.JWT; interface uses Horse, System.Classes, System.JSON, Web.HTTPApp, System.SysUtils, JOSE.Core.JWT, JOSE.Core.JWK, JOSE.Core.Builder, JOSE.Consumer.Validators, JOSE.Consumer, JOSE.Context, REST.JSON; procedure Middleware(Req: THorseRequest; Res: THorseResponse; Next: TProc); function HorseJWT(ASecr...
unit sNIF.worker.candidatos; { ******************************************************* sNIF Utilidad para buscar ficheros ofimáticos con cadenas de caracteres coincidentes con NIF/NIE. ******************************************************* 2012-2018 Ángel Fernández Pineda. Madrid. Spain. This work is...
unit Model.OrderItem; interface uses Model.Interfaces, System.Generics.Collections, iORM.Attributes, FMX.Graphics; type [ioEntity] TOrderItem = class private FID, FOrderID: Integer; FPizza: IPizza; FQty: Integer; function GetListViewDetail: String; function GetListViewText: String; f...
{ Copyright (c) 2011, Loginov Dmitry Sergeevich 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 conditio...
unit UVeiculo; interface uses DateUtils, SysUtils; type Veiculo = class protected Id : Integer; Antt : String[20]; Placa : String[8]; Uf : String[2]; DataCadastro : TDateTime; DataAlteracao : TDateTime; public Constructor CrieObjeto; ...
unit FormServerMain; 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.StdCtrls, FMX.Controls.Presentation, FMX.Gestures, System.Actions, FMX.ActnList, IdContext, IdBaseComponent, Id...
unit u_J08TaskIntf; interface uses Classes, BT_Taskintf, u_J08WeakGlobal, IniFiles; type // IJ08Task = Interface(IBTTask) // ['{A65C7629-3C31-4A10-8568-ABCF98EC6A0B}'] // function get_Instrument: ISignalGenerator; // function CalcuCompensateSignalOutLevel(AFreqMHz: Double; AWishDbm: Double): Double; // ...
{ AD.A.P.T. Library Copyright (C) 2014-2018, Simon J Stuart, All Rights Reserved Original Source Location: https://github.com/LaKraven/ADAPT Subject to original License: https://github.com/LaKraven/ADAPT/blob/master/LICENSE.md } unit ADAPT.Math.Averagers; {$I ADAPT.inc} interface uses {$IFDE...
unit Ths.Erp.Database.Table.SysLangGuiContent; interface {$I ThsERP.inc} uses SysUtils, Classes, Dialogs, Forms, Windows, Controls, Types, DateUtils, FireDAC.Stan.Param, System.Variants, Data.DB, Ths.Erp.Database, Ths.Erp.Database.Table, Ths.Erp.Database.Table.SysLang; type TSysLangGuiContent = class(TT...
unit AddFriendDlg; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls, ExtDlgs; type { TFormAddFriend } TFormAddFriend = class(TForm) Bevel: TBevel; ButtonAvatar: TButton; ButtonCancel: TButton; ButtonRegister: TButton; ...
unit QuestionABCDInputFrame; interface uses TestClasses, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, ExtCtrls; type TfrmQuestionABCDInput = class(TFrame) PanelInputABCDQuestion: TPanel; lbQuestion: TLabel; edExampleA: TLabeledEdit; edExampleB:...
object ResliceForm: TResliceForm Left = 389 Top = 87 BorderStyle = bsDialog Caption = 'Reslice overlay to match background' ClientHeight = 173 ClientWidth = 400 Color = clBtnFace Font.Charset = DEFAULT_CHARSET Font.Color = clWindowText Font.Height = -11 Font.Name = 'MS Sans Serif' Fo...
{=============================================================================== 数据库升级单元 ===============================================================================} unit xDBUpdate; interface uses xDBConn, xDBActionBase, xFunction, xConsts, System.SysUtils, FireDAC.Stan.Intf, FireDAC.Stan.Option, F...
unit CRCunit; {$R-} {$Q-} {$O-} interface function CRCGet(StPtr: pointer; StLen: integer): integer; function crc_stm32(data:pcardinal; length:integer):cardinal; function crc_stm32_sum16(data:pcardinal; length:integer):word; implementation var CRCtable: array[0..255] of cardinal; function GetNewCRC(OldCRC: cardina...
unit IdFingerServer; interface { 2000-May-15 J. Peter Mugaas -Added verbose querry event to complement TIdFinger 2000-Apr-22 J Peter Mugass -Ported to Indy 2000-Jan-13 MTL -Moved to new Palette Scheme (Winshoes Servers) 1999-Apr-13 -Final Version Original Author: Ozz Nixon } uses Classes, IdAssignedNu...
{ Ultibo USB HID IR Touch Screen Driver. Copyright (C) 2018 - SoftOz Pty Ltd. Arch ==== <All> Boards ====== <All> Licence ======= LGPLv2.1 with static linking exception (See COPYING.modifiedLGPL.txt) Credits ======= Information for this unit was obtained from: References ========== USB HID Device Class...
unit MD5.Hash; interface uses System.SysUtils, shared.Utils; type PMD5Digest = ^TMD5Digest; TMD5Digest = record case byte of 0: (A, B, C, D: Cardinal); 1: (V: array[0..15] of Byte); 2: (W: array[0..3] of Cardinal); end; // TMD5Hash = class private FDigest: TMD5Digest; FL...
{ *************************************************************************** } { } { Delphi and Kylix Cross-Platform Visual Component Library } { } ...
program test13; (* Test functions *) var a, b, ret : real; (*function definition *) function max(num1, num2: real): real; var (* local variable declaration *) result: real; begin if (num1 > num2) then result := num1 else begin result := num2; end; max := result; end; function xorVal(a, b: bo...
unit u_xpl_fragment_mgr; // Implementation of fragment management as described here : // http://xplproject.org.uk/forums/viewtopic.php?f=2&t=1099&p=7535#p7535 {$ifdef fpc} {$mode objfpc}{$H+}{$M+} {$endif} interface uses Classes , SysUtils , fpc_delphi_compat , u_xpl_message ...
unit CustomList; interface uses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, System.Generics.Collections, System.Threading, System.Net.URLClient, UI.Base, UI.Standard, UI.Frame, UI.ListView; type TDataItem = r...
{********************************************************************* * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * Autor: Brovin Y.D. * E-mail: y.brovin...