text stringlengths 14 6.51M |
|---|
unit Data.Entities.Item;
interface
uses
Aurelius.Mapping.Attributes;
type
[Entity]
[Automapping]
[Table('Items')]
TItem = class
private
FId: Integer;
FTitle: string;
public
property Id: Integer read FId write FId;
property Title: string read FTitle write FTitle;
end;... |
unit SelectChrScene
interface
uses
Share
type
TSelChar = record
Valid: Boolean;
UserChr: TUserCharacterInfo;
Selected: Boolean;
FreezeState: Boolean; //TRUE:倔篮惑怕 FALSE:踌篮惑怕
Unfreezing: Boolean; //踌绊 乐绰 惑怕牢啊?
Freezing: Boolean; //倔绊 乐绰 惑怕?
AniIndex: integer; //踌绰(绢绰) 局聪皋捞记
DarkLevel: integer;
Ef... |
{$include kode.inc}
unit kode_const;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
const
KODE_CR = LineEnding; // #13#10;
KODE_HEX_TABLE = '0123456789abcdef';
KODE_INV12 = 1/12;
KODE_IN... |
{********************************************************}
{ }
{ Zeos Database Objects }
{ Formula parser component }
{ }
{ Copyright (c... |
unit DataProxy.Categories;
interface
uses
Data.DB,
Data.DataProxy;
type
TCategoriesProxy = class(TDatasetProxy)
protected
procedure ConnectFields; override;
public
CategoryID: TIntegerField;
CategoryName: TWideStringField;
Description: TWideMemoField;
Picture: TBlobField;
// propert... |
//------------------------------------------------------------------------------
//
// Voxelizer
// Copyright (C) 2021 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation;... |
program ejer5;
type
articulo = record
codigo:integer;
nombre:string;
descripcion:string;
precio:real;
stockMin:integer;
stockDisp:integer;
end;
arc_articulos = file of articulo;
{------------LEER REGISTRO ARTICULO---------------------}
{procedure leer_articulos (var a:articulo);
begin
writeln('ING... |
unit Task;
interface
type
HCkTask = Pointer;
HCkByteData = Pointer;
HCkString = Pointer;
function CkTask_Create: HCkTask; stdcall;
procedure CkTask_Dispose(handle: HCkTask); stdcall;
procedure CkTask_getDebugLogFilePath(objHandle: HCkTask; outPropVal: HCkString); stdcall;
procedure CkTask_putDebugLogFilePath(objH... |
// Copyright 2018 by John Kouraklis and Contributors. All Rights Reserved.
//
// 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
//
// Unle... |
unit CheckCBSDefault;
interface
uses Classes, SysUtils, StrUtils, DB, adscnnct, adsdata, adsfunc, adstable, ace;
type
TCBSDefaultType = (dtExam, dtPatient, dtFrame, dtContact);
TDefaultCheck = class
private
DefaultList: TStringList;
public
constructor Create(DefaultType: TCBSDefaultType);
destruct... |
unit uGnDictionary;
interface
uses
SysUtils, uGnArray, uGnEnumerator, uGnStrConst, uGnGenerics, uGnStructures;
type
EDictionary = class(Exception);
EDictionaryKeyNotFound = class(EDictionary);
EDictionaryKeyDuplicated = class(EDictionary);
TGnDictRecord<_KeyType, _ValueType> = record
Key: _KeyType;
... |
//////////////////////////////////////////////////////////
// Desenvolvedor: Humberto Sales de Oliveira //
// Email: humbertoliveira@hotmail.com //
// humbertosales@midassistemas.com.br //
// humberto_s_o@yahoo.com.br //
// Objetivo: //
// 1)Conectar software atraves ... |
unit VisibleDSA.MonteCarloPiData;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Generics.Collections,
VisibleDSA.Circle;
type
TMonteCarloPiData = class
private type
TList_TPoint = specialize TList<TPoint>;
private
_circle: TCircle;
_pointLists: TList_TPoint;
_inSideCircle: in... |
{ This form is a dialog which contains a listbox. The listbox is used to hold
the list of all variables in the model. The user chooses items from the
to be shown in the chart on the Display form. }
unit SeriesForm;
interface
uses SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Dialogs... |
{
This unit shows an example of how to integrate the FHIR Server into another
application server. It instantiates a FHIR Server, and provides storage
to allow the FHIR server to expose application functionality.
This example FHIR server uses some CSV files to provide somewhat meaningful
services. The intent is that yo... |
unit TestStreamingTestTypes;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, JSONS... |
unit OGCDefs;
interface
uses
ShareTools;
type
TOGSServiceType = (ost_WMS, ost_WFS);
const
OGSServiceType_Names : array[TOGSServiceType] of string = ('WMS', 'WFS');
OGSServiceType_Titles : array[TOGSServiceType] of string = ('Web Map Service', 'Web Feature Service');
function StrToOGSServiceType(s : string) :... |
{
文件名:uContDlg.pas
说 明:合同操作窗体
编写人:刘景威
日 期:2009-03-15
更 新:
}
unit uContDlg;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uBase, uDlgBase, uGlobal, RzSpnEdt, StdCtrls, RzEdit, RzBtnEdt,
ComCtrls, DB, ADODB, Grids, DBGridEh, ExtCtrl... |
unit UCadHospedes;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UBaseCadastro, Data.DB, Vcl.Buttons,
Vcl.ExtCtrls, Vcl.StdCtrls, Vcl.Mask, Vcl.DBCtrls, RzEdit, RzDBEdit, RzDBBnEd,
AdvMetroButton, A... |
unit LookAheadUnit;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source cod... |
// TITLE: Pop3 Demo for Winshoes Pop3 Component
// DATE: 8-JULY-1999
// AUTHOR: Hadi Hariri
// UNIT NAME: msg.pas
// FORM NAME: fmMESSAGE
// UTILITY: View the body and attachments of a message
unit msg;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, For... |
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.Phys.PG,
FireDAC.Phys.PGDef, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Comp... |
object EditOrderTeachForm: TEditOrderTeachForm
Left = 214
Top = 142
BorderStyle = bsToolWindow
Caption = 'Edit Teach Order'
ClientHeight = 260
ClientWidth = 413
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Fo... |
unit matrix;
INTERFACE
Uses crt;
{$I typen.inc}
Function vabs (a: tv1X4): Real;
Procedure vnorm (a: tv1X4; Var an: tv1X4);
Procedure vcross (a, b: tv1X3; Var c: tv1X3);
Procedure m4mul (a: tm4X4; b: tv1X4; var c: ptv1X4);
Procedure m3mul (a: tm3X3; b: tv1X3; var c: ptv1X3);
Function vdotv (a, b: tv1X4): Real;
... |
unit LogConfig;
interface
uses
System.Classes, Winapi.Windows, Vcl.Forms, Vcl.Mask,
Vcl.StdCtrls, Vcl.Buttons, Vcl.Controls, Vcl.CheckLst,
LoggerInterface, LoggerEx, JvExStdCtrls, JvEdit, JvValidateEdit;
type
TLogConfigFrm = class(TForm)
EventsList: TCheckListBox;
CheckBox1: TCheckBox;
Label1: TL... |
unit Model.Main;
interface
uses
Database, Declarations, Model.Interfaces;
function CreateMainModelClass: IMainModelInterface;
implementation
uses System.SysUtils;
type
TMainModel = class(TInterfacedObject, IMainModelInterface)
private
fMainFormLabelsText: TMainFormLabelsText;
fDatabase... |
unit vMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, VirtualTrees, Vcl.ComCtrls,
API_MVC_VCL,
API_MVC,
eVideoMovie;
type
TViewMain = class(TViewVCLBase)
btnTest: TBi... |
unit DialogSmsSendFRMUnit;
interface
uses Windows, SysUtils, Classes, Graphics, Forms, Controls, StdCtrls,
Buttons, ExtCtrls, Spin, ComCtrls;
type
TDlgSmsSend = class(TForm)
OKBtn: TButton;
CancelBtn: TButton;
Bevel1: TBevel;
MemoSmsText: TMemo;
Label1: TLabel;
Label2: TLabel;
LabelSm... |
{$include kode.inc}
unit syn_s2_osc;
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
uses
kode_const,
kode_debug,
kode_control,
kode_editor,
kode_plugin,
kode_voice,
kode_widget,
syn_s2_osc_phas... |
(*
@abstract(Contient un ensemble de classes polymorphique ressemblant à 'TCollection'. Ces classes sont à surcharger.)
-------------------------------------------------------------------------------------------------------------
@created(2016-11-16)
@author(J.Delauney (BeanzMaster))
Historique : @br
@un... |
unit iaFMXDemo.ScreenCursorStack.MainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls;
type
TScreenCursorStackDemoForm = class(TForm)
butTo... |
unit PromiseTest;
interface
uses
System.SysUtils, System.Classes, System.SyncObjs,
DUnitX.TestFramework;
type
TExceptionCalss = class of Exception;
[TestFixture]
TSinglePromiseTest = class(TObject)
private
function SuccessCall<TResult>(value: TResult; const waitMiliSecs: integer): TFunc<... |
unit uthrPopulaRelatorioRetorno;
interface
uses
System.Classes, clEntrega, clUtil, udm, Dialogs, Windows, Forms, SysUtils,
Messages, Controls,
System.DateUtils, clAgentes, clCodigosEntregadores;
type
thrPopulaRelatorioRetorno = class(TThread)
private
{ Private declarations }
entrega: TEntrega;
... |
unit TestsPasPdf;
interface
uses
TestFramework, Classes, SysUtils, PasPdf, Contnrs;
type
// Testmethoden für Klasse TPdfFile
TestTPdfFile = class(TTestCase)
strict private
FPdfFile: TPdfFile;
public
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestLoadSimp... |
program AlgLista6Ex1; //Exercicio 1 da Lista 6 de algoritmos. Autor: Henrique Colodetti Escanferla.
type vetor=array[1..1000,1..1000]of integer; // Criação do tipo de variavel vetor bidimensional.
var v, vaux:vetor; // Variaveis globais: vaux=> guardará imagem codificada em PGM e v=> receberá os nºs com os deslocamen... |
unit uLoading;
interface
uses System.SysUtils, System.UITypes, FMX.Types, FMX.Controls, FMX.StdCtrls,
FMX.Objects, FMX.Effects, FMX.Layouts, FMX.Forms, FMX.Graphics, FMX.Ani,
FMX.VirtualKeyboard, FMX.Platform;
type
TLoading = class
private
class var Layout : TLayout;
class var Fun... |
program TextBasedMusicPlayerWMenu;
uses TerminalUserInput, Crt;
type
Track = record
trackName: String;
trackLoc: String;
end;
Album = record
albumName: String;
artistName: String;
albumGenre: Genre;
tracks: array of Track;
end;
Genre = (Pop, Classical, Rock);
Albums = array of Album;
Playlist = ar... |
unit uPrincipal;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uClassSingletonConexao, System.Actions,
Vcl.ActnList, Vcl.Menus, System.UITypes, uEstadoController,
Vcl.ExtCtrls, uMunicipioControler, uBairr... |
unit FMX.VPR.Text;
interface
(* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* 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.mozill... |
{
Does the same as internal "Check for errors" function in xEdit
}
unit CheckForErrorsScript;
function CheckForErrors(aIndent: Integer; aElement: IInterface): Boolean;
var
Error : string;
i : Integer;
begin
Error := Check(aElement);
Result := Error <> '';
if Result then begin
Error := Check(aElemen... |
unit SISVISA.Model.Arquivo.Ini;
interface
uses
SISVISA.Model.interfaces, FMX.Forms, System.IOUtils;
type
TModelArquivoIni = class(TInterfacedObject, iArquivoINI)
private
public
constructor create;
destructor destroy; override;
class function New: iArquivoINI;
function ReadIn... |
unit DSE_Panel;
interface
uses
Windows, SysUtils, Classes, vcl.Controls, vcl.Graphics , Vcl.ExtCtrls, DSE_Bitmap;
type
SE_Panel = class(TPanel)
private
{ Private declarations }
fBackground: SE_Bitmap;
procedure SetBackground(const Value: SE_Bitmap);
protected
{ Protected declarations }
pr... |
unit dao.Usuario;
interface
uses
classes.ScriptDDL,
model.Usuario,
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.StrUtils;
type
TUsuarioDao = class(TObject)
strict private
aDDL : TScriptDDL;
aModel : TUsuario;
aMainMenu : Boo... |
unit CustomBase85;
// uses 85 ascii characters which are better to use in XML ( no &'<"\> chars and no space char = more efficient )
//
// Base85ToBin doesn't support white spaces and line breaks (HexToBin doesn't support it too)
// implementation by mgr.inz.Player http://forum.cheatengine.org/viewtopic.php?t... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2013 Embarcadero Technologies, Inc.
// www.embarcadero.com
//
// This is example source code, provided as is and without warranty.
// You may only use this software if you are an authorized licensee
// of Del... |
unit uDuckTurkey;
interface
type
IDuck = interface
['{0A1D56E4-A771-4541-804C-67A58182738D}']
procedure Quack;
procedure Fly;
end;
TMallardDuck = class(TInterfacedObject, IDuck)
procedure Quack;
procedure Fly;
end;
ITurkey = interface
['{28F40116-3E73-414A-AF11-A11257E3FF25}']
proc... |
{
Remove invalid items/spells/npcs from containers and leveled lists
}
unit UserScript;
// rec - Record
// lstname - name of list
// refname - path to FormID reference relative to list's entry
// countname - counter subrecord to update
procedure RemoveInvalidEntries(rec: IInterface; lstname, refname, countname: stri... |
/// <summary>
/// 艺术家编辑浏览窗体
/// </summary>
unit View.Artists;
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.ExtCtrls, Vcl.StdCtrls, Vcl.DBCtrls, Vcl.Mask,
Aurelius.Eng... |
unit uReaction;
interface
uses FMX_Types, Types, sysUtils;
Type
TReaction = class(TObject)
x, y, w, h: single;
name: string;
RateConstant: single;
Constructor Create(x, y, w, h: single; name: string);
procedure paint(Canvas: TCanvas);
end;
implementation
constructor TReaction.Create(x: Sing... |
unit FreeOTFEfrmSelectOverwriteMethod;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.FreeOTFE.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Form... |
{$MODE OBJFPC} { -*- delphi -*- }
{$INCLUDE settings.inc}
unit methodregistry;
interface
uses
typinfo;
procedure RegisterMethod(Address: Pointer; Signature: PTypeInfo);
{$IFOPT C+} procedure AssertMethodRegistered(Address: Pointer); {$ENDIF}
function GetTypeInfo(Address: Pointer): PTypeInfo;
implementation
uses... |
(******************************************************************************
* PasVulkan *
******************************************************************************
* Version see PasVulkan.Framework.pas ... |
{ Routines for handling overlapped commands.
}
module picprg_cmdovl;
define picprg_cmdovl_init;
define picprg_cmdovl_out;
define picprg_cmdovl_outw;
define picprg_cmdovl_in;
define picprg_cmdovl_flush;
%include 'picprg2.ins.pas';
{
*******************************************************************************
*
* ... |
unit Data.Repositories.OrdersRepository;
interface
uses
Generics.Collections,
Data.Repositories.Repository,
Data.Repositories.IOrdersRepository,
Data.Entities.Order,
Data.Entities.OrderDetails;
type
TOrdersRepository = class sealed (TRepository<TOrder, Integer>, IOrdersRepository)
public
... |
unit rsdat_common;
{$mode objfpc}{$H+}
interface
type
(*
uint32 {4} - Offset
uint32 {4} - Length (entry count * 32)
uint32 {4} - Padding (all 255's) 0xFF FF FF FF
uint16 {2} - type flag:
%10000000 - folder
%00000010 - file
%10000010 - subfolder
... |
unit USysPageManager;
interface
uses URecentPage, UFavoritePage, USearchPage, UGroupPage, URecycleBin;
type
TSysPageManager = class
private
FRecentHandler: TRecentRootHandler;
FFavoriteHandler: TFavoriteHandler;
FSearchHandler: TSearchHandler;
FGroupRootHandler: TGroupRootHand... |
{* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Author: François PIETTE
Creation: Jan 15, 2005
Description:
Version: 7.03
EMail: francois.piette@overbyte.be http://www.overbyte.be
Support: Unsupported code.
Legal issues: Copyright (C) 2005-2010 by Fran... |
unit uAbstractControl;
interface
uses
Forms, SysUtils, Classes, Variants, 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.Comp.Client,
FireDAC.DBX.Migrate;
const
MO_ExceptionMsg = ... |
unit xxmPageParse;
interface
uses Classes;
type
TXxmPageSection=(
psHTML,
psUses, // [[@
psDefinitions, // [[:
psHeader, // [[!
psBody, // [[
psFooter, // [[_
psSend, // [[=
psSendHTML, ... |
unit Work.Table.Addresses;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Generics.Collections, Vcl.Grids,
TableDraw, SQLLang, SQLiteTable3, Work.DB;
type
TTableAddresses = class;
TItemAddress = ... |
{ Subroutine TYPE1_SHADER_FIXED (RAY,HIT_INFO,COLOR)
*
* Shader that always returns a fixed color. This can be used for the background.
}
module type1_shader_fixed;
define type1_shader_fixed;
%include 'ray_type1_2.ins.pas';
procedure type1_shader_fixed ( {always returns fixed color, used for backg}
in v... |
{==============================================================================|
| MicroCoin |
| Copyright (c) 2018 MicroCoin Developers |
|=========================================================================... |
program MultAndAdd;
var
sum, mult, n: real;
f: text;
begin
{$I-}
if ParamCount < 1 then begin
writeln('Please specify the file 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
... |
unit DNRClientAllSamplesFrame;
interface
uses
SysUtils, Forms,
ImgList, Controls, ComCtrls,
StdCtrls, Classes, Windows, Menus, ExtCtrls, Buttons, Dialogs,
CommonFilter, DNRClientResearchViewFrame, SamplesTree;
// здесь будет загрузка из уже полученного массива образцов
type
TframeAllSamples = class(TFrame)... |
(*
@created(2020-02-06)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(06/02/2020 : Creation )
)
--------------------------------------------------------------------------------@br
@bold(Description :)@br
Prise en charge des Images au format XXX proposé XXXXXXX en lec... |
unit memdisplay;
{
Will render a memory block using an opengl drawPixel command. Display options are userchangable
Should also have the ability to highlight blocks of memory with a specific color
setPointer(block, address)
setWidth(integer)
setFormat(x)
id=createOverlay(address, size)
setOverlayColor(id, ... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FERIAS_PERIODO_AQUISITIVO]
The MIT L... |
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free S... |
{+-------------------------------------------------------------------------+}
{| |}
{| MYSORT 4.0 |}
{| ---------- |}
{| ... |
unit ftrapi;
interface
uses
Windows, Messages, SysUtils, Variants, Classes;
CONST
//'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
//'
//' Futronic SDK constants
//'
//
//' Return code values.
FTR_RETCODE_ERROR_BASE :Integer = 1 ;// ' Base value for the error codes.
FTR_RETCO... |
unit FTPConn;
interface
uses
System.JSON, SysUtils, Data.DBXJSONReflect;
type
TFTPConn = class
private
_Host: string;
_Dir: string;
_Login: string;
_Pass: string;
public
constructor create(Host, Dir, Login, Pass: string);
property Host: string read _Host;
property Dir: string rea... |
unit GBJSON.Attributes;
interface
uses
System.SysUtils;
type
JSONIgnore = class(TCustomAttribute)
private
FIgnoreProperties: TArray<String>;
public
property IgnoreProperties: TArray<String> read FIgnoreProperties;
constructor create; overload;
constructor create(AIgnoreProperties: String); o... |
{
Version 11.9
Copyright (c) 1995-2008 by L. David Baldwin
Copyright (c) 2008-2010 by HtmlViewer Team
Copyright (c) 2011-2018 by Bernd Gabriel
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Soft... |
unit smuViveiro;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, smuBasico,
FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Param,
FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf, FireDAC.DApt.Intf... |
(* Last edit: 18-Feb-2012
Author : Nick Korasidis
Generator of maximal conflict-free strings.
Input : d = number of avalable distinct characters. 1 <= d <= 26
Output: A maximal conflict-free string with d distinct characters.
Time complexity : O(2^d).
Space complexity: O(2^d).
*)
program cfree1... |
Program lr6;
type
PTree = ^TNode;
TNode = record
name, birthDate: String; {Значение элемента}
Left, Right: PTree; {Ссылки на следующий элементы}
end;
var
Tree, Root: PTree;
procedure insertInTree(var Tree: PTree; InName: string; InDate: string); {Добавляем новый элемент в дерево}
procedure CreateNode(var p: P... |
unit HttpClient;
interface
uses
Classes, System.JSON, System.SysUtils,
URL, IdHTTP, Response;
type THttpClient = class(TObject)
private
Furl :TURL;
Fjson :TJSONObject;
Fresponse :TStringStream;
Frequest :TStringStream;
Fhttp :TIdHTTP;
Ftoken :String;
protected
public
function Get () :TResponse;
... |
unit UOpProgram;
interface
uses UOptionBox, UxlComboBox, UxlMiscCtrls, UxlFile, UOptionManager;
type
TOpProgram = class (TOptionPanel)
private
FCallWinHotKey: TxlHotKey;
FUdRecentNotesCount: TxlUpDown;
FCmbRecyclerLimit: TxlComboBox;
protected
procedure OnInitialize (); ov... |
unit NovusBOField;
interface
Uses NovusInfrastructre, DB, NovusStringUtils, SysUtils, Variants, Classes, math;
Type
TNovusBOFieldType = (nftUnknown,
nftString,
nftInteger,
nftBoolean,
nftFloat,
nftCurrency,
nftDateTime,
nftLargeInt,
nftBlob ,
nftSmallInt
);
TNovusBO... |
/// <summary>
/// Provides the 'standard' implementation of the IProjectData interface
/// as defined in fieldlogger.data.pas
/// </summary>
unit fieldlogger.logdata.standard;
interface
uses
Data.DB, FireDAC.Comp.Client, fieldlogger.Data;
type
TLogData = class(TInterfacedObject, ILogData)
private
[weak]
... |
unit rcIssueStatus;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, rcObject,rcArrayManager;
type
{ TIssueStatus }
TIssueStatus = class(TRCObject)
private
isDefault1: boolean;
isClosed1: boolean;
public
property isDefault: boolean read isDefault1 write isDefault1;
property isClosed... |
unit JPP.GPHatchStyleComboBox;
{
Jacek Pazera
http://www.pazera-software.com
https://github.com/jackdp
TJppGPHatchStyleComboBox - combo box with hatch styles
GDI+ control (Windows only).
Last mods:
2020.01.22
2020.04.10 - Anchored controls
}
{$I jpp.inc}
{$IFDEF FPC} {$mode delphi} {$ENDIF}
in... |
unit Gebaeude1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs;
type
THaus=class(TObject)
private
FX, FY: Integer;
FBreite: Integer;
FFarbe: TColor;
FBesitzer: TForm;
FLichtAn, FTuer: bool... |
var
a:array[0..30000] of longint;
n,p,i:longint;
s:int64;
procedure quicksort(m,n:longint);
var
i,j,x,temp:longint;
begin
x:=a[(m+n) div 2];
i:=m;
j:=n;
repeat
while a[i]<x do i:=i+1;
while a[j]>x do j:=j-1;
if i<=j then
begin
temp:=a[i];
a[i]:=a[j];
a[j]:=temp;... |
(*====< GLSoundFileModPlug.pas >===================================================@br
@created(2016-11-16)
@author(J.Delauney (BeanzMaster))
Historique : @br
@unorderedList(
@item(06/11/2017 : Creation )
)
--------------------------------------------------------------------------------@br
@bold(Descr... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [FIN_CONFIGURACAO_BOLETO]
The MIT Lic... |
PROGRAM InsertionSort(INPUT, OUTPUT);
{Сортирует символы из INPUT}
CONST
Max = 16;
ListEnd = 0;
TYPE
Interval = 0 .. Max;
RecArray = ARRAY [1 .. Max] OF
RECORD
Key: CHAR;
Next: Interval
END;
PROCEDURE Sorting(VAR Arr: RecArray; VAR Index, First: ... |
unit frmDialogA;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, frmAbstractDialog, StdCtrls;
type
TDialogAForm = class(TAbstractDialog)
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure btnOkClick(Sender: TObject);
procedur... |
(******************************************************************************
* parser *
* Ron Loewy, 1992. A mathematical recursive decent parser +-/*^ and functions *
*****************************************************************************... |
unit uRatingPrintAll;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Menus, StdCtrls,
cxButtons, cxControls, cxContainer, cxEdit, dxSkinsCore, dxSkinCaramel,
cxTextEdit, cxMaskEdit, cxSpinEdit, ComCtrls, ADO... |
unit main;
{$mode objfpc}{$H+}
interface
{$ifndef cpu32}
{$error The xmplayer can ONLY be compiled for 32-bit}
{$endif}
uses
windows, Classes, SysUtils,dialogs, xmplayer_defines, uFMOD;
var pipe: THandle;
currentsong: pointer;
procedure StartListening;
implementation
procedure HandleSe... |
//========================================================================
// For this example solution I utilized Stefen Glienke's
// open-source code library titled Spring4D. Latest
// version is available here: https://bitbucket.org/sglienke/spring4d
// Spring4D is not absolutely necessary, but it does greatly help... |
unit Domain.Entity.Empresa;
interface
uses
System.Classes, Dialogs, SysUtils, EF.Mapping.Base, EF.Core.Types,
EF.Mapping.Atributes, Domain.Consts;
type
[Table('Empresas')]
TEmpresa = class( TEntityBase )
private
FDescricao: TString;
FCNPJ: TString;
published
[Column('Descricao',varchar20,fal... |
unit CustomersView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Data.DB, Vcl.ExtCtrls, Vcl.Grids, Vcl.DBGrids,
Generics.Collections,
Aurelius.Bind.Dataset,
Data.Repositories.ICustomersRepository,
Data.En... |
unit uEditProtocol;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, uForm, ICSLanguages, Vcl.StdCtrls,
Vcl.ExtCtrls, Vcl.Buttons, PngBitBtn, XMLIntf, System.ImageList,
Vcl.ImgList, PngImageList, Vcl.M... |
unit TextEditor.Search.Highlighter.Colors;
interface
uses
System.Classes, System.UITypes, TextEditor.Consts, TextEditor.Types;
type
TTextEditorSearchColors = class(TPersistent)
strict private
FBackground: TColor;
FBorder: TColor;
FForeground: TColor;
public
constructor Create;
procedure ... |
unit MainForm;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
{$H+}
interface
uses
Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,
Graph, UFig, Fig3D,
{$IFNDEF FPC}Jpeg, ShellAPI
{$ELSE}lclintf
{$ENDIF}
;
type
TForm1 = class(TForm)
Image1: TImage;
Timer1: T... |
unit Object_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, Grids, DBGrids, DB;
type
TObj = class(TForm)
DBGrid1: TDBGrid;
EditButton: TBitBtn;
ADDButton: TBitBtn;
DelButton: TBitBtn;
CloseButton: TBitBtn;
eFilt... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [ECF_R02]
The MIT License ... |
unit uTools;
interface
type
TTools = class
class function getPath(Programme, Plateforme: string): string;
class function getReleasePath(Programme, Plateforme, VersionNumber
: string): string;
class function getNextReleasePath(Programme, Plateforme,
VersionNumber: string): string;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.