text stringlengths 14 6.51M |
|---|
unit masterkey;
interface
uses Windows, SysUtils,
rsa, sha1, md5, aes, base64, alacnfuncs, xml, utils, crypt;
const
masterkey_enc_aeskey: array [0..31] of byte = (
$A2, $DA, $F6, $AE, $83, $E8, $C6, $6E,
$1B, $5F, $DC, $9C, $12, $33, $7B, $D5,
$FE, $85, $E2, $49, $68, $98, $7A, $EA,
$15, $A2, $1... |
{************************}
{* PRÁCTICA: BUSCAMINAS *}
{* ALUMNO: JESÚS LÉVANO *}
{* FECHA: FEBRERO 2012 *}
{************************}
program BuscaMinas;
{Objetivo: Implementación del juego "Buscaminas"}
{librería crt}
USES crt;
{Constantes y registros}
CONST
LONG_MAX = 20;
LONG_MIN = 5;
MINAS_MIN = 10;
MINAS... |
unit FormProdTester;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ProductConfig, TestConfig;
type
TfrmProdTester = class(TForm)
trvProduct: TTreeView;
txtConfigFile: TEdit;
btnOpenIni: TButton;
btnLoad: TButton;
chkSh... |
unit TelegAPI.Bot.Impl;
{$I config.inc}
interface
uses
CoreAPI,
CrossUrl.HttpClient,
System.Classes,
System.TypInfo,
System.SysUtils,
System.JSON,
System.Generics.Collections,
TelegAPI.Base,
TelegAPI.Bot,
TelegAPI.Types,
TelegAPI.Types.Impl,
TelegAPI.Types.Enums,
TelegAPI.Types.ReplyMarkup... |
unit ArquivoConfiguracao;
interface
uses
IniFiles;
type
TArquivoConfiguracao = class(TIniFile)
private
FDiretorioSistema :String;
private
function GetCaminhoBancoDeDados :String;
function GetCaminhoBancoDeDadosLocal :String;
function GetNomeServidorBancoDeDados :String;
... |
unit RPDLLIntf;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>RPDLLIntf
<What>定义了一个打印报表的动态连接库的接口函数
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses RPDBCB;
const
// 定义错... |
unit Main;
interface
uses
_TaskFrame, _ClickToEditFrame, _EditableTimeFrame, UDebug, UTrayManager,
ConfigManager, ConfigState, ConfigHandlerINIFile, ConfigHandlerRuntime, UConfigDialog,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls, ExtCtrls, ... |
{**********************************************************************}
{ }
{ "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 comp... |
unit Entidades.Itens_Pedidos;
interface
uses
System.SysUtils;
type
TITEM_PEDIDO = class
private
FID_ITEM: Integer;
FPEDIDO: Integer;
FPRODUTO: Integer;
FQUANTIDADE: Real;
FUNITARIO: Real;
FTOTAL: Real;
public
constructor Create;
destructor Destroy; override;
publis... |
{ dynmatrix v0.1
Copyright (C) 2008 Paulo Costa
This library is Free software; you can rediStribute it and/or modify it
under the terms of the GNU Library General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is diStributed in the hope that it w... |
unit DeleteOrderLine_unit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, kbmMemTable, DB, Front_DataBase_Unit, Contnrs, StdCtrls,
ExtCtrls, ActnList, FrontData_Unit, AdvSmoothButton, AdvPanel,
AdvSmoothToggleButton, AdvStyleIF, BaseFrontForm_Unit, A... |
namespace com.remobjects.everwood.beta;
interface
uses
com.google.android.gcm,
com.remobjects.sdk,
android.content,
android.util,
java.io,
java.net,
java.util;
type
/// <summary>
/// Helper class used to communicate with the demo server
/// </summary>
ServerUtilities = public sealed clas... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit StrSearch;
interface
uses Sysutils, DUStrings;
function Like(const AString, APattern: String): Boolean;
function AnsiMatchPattern(InpStr,Pattern :string) :Boolean;
function AnsiMatchPatterns(InpStr,Pattern :string) :Boolean;
function MatchPattern(InpStr,Pattern :PChar) :Boolean;
implementation
{ Like prüft ... |
unit Script_Util;
interface
uses
SysUtils, Classes, ScriptObject, Controls;
type
TScriptUtil = class(TScriptObject)
protected
function GetScriptInstance: TScriptObjectInstance; override;
public
{ Public declarations }
end;
{$METHODINFO ON}
TDiaSemana = (dsLunes, dsMartes, dsMiercoles, dsJueves... |
(* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
*
* Input event codes
*
* *** IMPORTANT ***
* This file is not only included from C-code but also from devicetree source
* files. As such this file MUST only contain comments and defines.
*
* Copyright (c) 1999-2002 Vojtech Pavlik
* Copyright ... |
unit RTLoginDialog;
interface
uses
Forms, Dialogs, StdCtrls, ExtCtrls, Controls, Graphics, Classes;
type
TFLogin = class(TForm)
Label2: TLabel;
Label3: TLabel;
Edit2: TEdit;
Edit3: TEdit;
Image1: TImage;
Button1: TButton;
Button2: TButton;
Edit1: TEdit;
Label1... |
{$A-,B+,D+,E-,F+,G-,I+,L+,N+,O+,P-,Q-,R-,S+,T-,V+,X+}
{$M 16384,0,600000}
Unit GrMesBox;
Interface
Uses
Graph,U_Graph;
Type
TMarginRecord = Record
Left,Right,Up,Down:Word;
End;{TMarginRecord the Record}
{--------------------------}
TMessageBox = Object
XB,YB,XSize,YSize,BorderSize:Word;
... |
unit uAutoMapperTests;
interface
uses
DUnitX.TestFramework,
uTestClassA,
uTestClassB;
type
[TestFixture]
TAutoMapperTests = class(TObject)
private
TestA : TTestClassA;
TestB : TTestClassB;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]
[TestCase('... |
unit define_htmltag;
interface
const
UNKNOWN_TAG = 0;
A_TAG = 1;
ABBR_TAG = 2;
ACRONYM_TAG = 3;
ADDRESS_TAG = 4;
APPLET_TAG = 5;
AREA_TAG = 6;
B_TAG = 7;
BASE_TAG = 8;
BASEFONT_TAG = 9;
BDO_TAG = 10;
BIG_TAG = 11;
BLOCKQUOTE_TA... |
unit DBSequenceNumberGeneratorUnit;
interface
uses
SequenceNumberGeneratorUnit,
SysUtils,
Classes;
type
TDBSequenceNumberGenerator = class (TSequenceNumberGenerator)
protected
FNumberFieldName: String;
FTableName: String;
FFilterStatement: String;
function InternalGetNextNumb... |
///*
// * android-plugin-client-sdk-for-locale https://github.com/twofortyfouram/android-plugin-client-sdk-for-locale
// * Copyright 2014 two forty four a.m. LLC
// *
// * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
// * in compliance with the License. You may o... |
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls, XPMan;
type
TMainForm = class(TForm)
sourceTextMemo: TMemo;
globalVarsMemo: TMemo;
countMetricsBtn: TButton;
rightPnl: TPanel;
lbl1: TLabel;
loadFileBtn:... |
unit Unit1;
interface
uses
Webrequest_unit,
Xml.XMLIntf, Xml.XMLDoc,
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmTest = class(TForm)
btnXML: TButton;
memResp: TMemo;
lblTime: TLab... |
unit UReportInspector;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, ActnList, Menus, ImgList, ComCtrls,
RTObjInspector, ZPropLst, ObjStructViews, UPlugin, RPCtrls;
const
SSeperator = ' : ';
type
TReportInspector = class(TObjectInspector)
ImageList:... |
unit JassUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Controls, StrUtils, Dialogs,
SynJass, Graphics;
type
TStrArray= record
Strs : array of String[255];
end;
TFunction = record
Name, Returns, Code: String;
Native, Constant:Boolean;
ParamName: array... |
{-----------------------------------------------------------------------------
Unit Name: DUSystem
Author: Sebastian Hütter
Date: 2006-08-01
Purpose: Run System functions from Libs
History: 2006-08-01 initial release
-----------------------------------------------------------------------------}
unit D... |
unit zDFMParser;
interface
uses classes, sysutils;
type
TTranslateEvent = function(Sender : TObject; PropName, InStr : string; var OutStr : string) : boolean of object;
// Базовый класс "свойство"
TCustomDFMProperty = class
PropName : string;
function LoadFromLines(Lines : TStrings) : boolean; virtual;... |
unit AqDrop.Core.Helpers.TRttiType;
interface
uses
System.TypInfo,
System.Rtti,
AqDrop.Core.Types,
AqDrop.Core.Collections.Intf;
type
TAqRttiTypeHelper = class helper for TRttiType
private
function VerifyIfIsGeneric: Boolean;
public
function GetDataType: TAqDataType;
funct... |
unit DocRepositoryUnit;
interface
uses AbstractZeosDBRepositoryUnit, DomainObjectUnit, DBTableMappingUnit,
Classes;
type
TDocument = class (TDomainObject)
private
FName: String;
FNumber: string;
FCreationDate: TDateTime;
FContent: String;
FTypeId: Integer;
... |
unit ProjectOptionsController;
interface
uses
Classes, SysUtils, tiObject, mapper, mvc_base, widget_controllers, AppModel,
ProjectOptionsViewFrm, EventsConsts, BaseOptionsDialogController, Vcl.ComCtrls,
Vcl.Forms;
type
// -----------------------------------------------------------------
// Class Objects
... |
unit uF1_load;
interface
uses uP1_tipeBentukan,uP3_umum;
procedure mainLoad(nf_bahanMentah : string; nf_bahanOlahan:string; nf_resep : string; nf_simulasi : string;
var T1 : tabelBahanMentah; var T2 : tabelBahanOlahan; var T3 : tabelResep; var T4 : tabelSimulasi; var loaded : boolean);
{ I.S : semua data belum ... |
unit RDAReg;
interface
uses
Registry, Windows, Mutex;
const
RDARootKey = {HKEY_LOCAL_MACHINE} '\SOFTWARE\LDT\Vesta\RDA';
RegistryMutexName = 'Elbrus_Registry_Mutex';
type
TRDAReg = class(TRegistry)
private
public
constructor Create;
destructor Destroy; override;
end;
var
... |
{******************************************************************************}
{ Boris Damjanovic }
{ Ind. master-230/08 }
{ Faculty of Organizational Sciences (FON), Belgrade ... |
unit EmployeesReg.View;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
System.Bindings.Helper, System.Bindings.Expression,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
Common.Form, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Edit,
Employees.... |
unit UInfo;
interface
uses Classes, SysUtils;
type
TKey = string;
TInfo = class
private
FTitle: TKey;
FDirector: string;
FActors: string;
FSummary: string;
protected
public
constructor Create; overload;
constructor Create(ATitle:TKey;ADirectors,AActors,ASummary:string); overload;
... |
unit GameModules;
interface
uses
Windows, Classes, SysUtils, Graphics, ExtCtrls, Forms;
type
TTileArray = array[0..15] of Integer;
PTileArray = ^TTileArray;
TTileMatrix = array[0..3, 0..3] of Integer;
PTileMatrix = ^TTileMatrix;
TMoveAspect = ( maLeft, maRight, maUp, maDown );
TGameView = class
private
... |
unit UReportInfo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
Contnrs, RPCtrls, RPDB, RPProcessors, RPEasyReports, DB;
type
TRPDataEntry = class(TCollectionItem)
private
FFromFirst: Boolean;
FControllerName: strin... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
program prargs;
{$IFNDEF HASAMIGA}
{$FATAL This source is compatible with Amiga, AROS and MorphOS only !}
{$ENDIF}
{
Project : prargs
Topic : This program prints all Workbench or Shell (CLI) arguments.
Source : RKRM
}
{*
** The following example will display all WBArgs if started from
** Workbenc... |
unit Client.VO;
interface
uses
System.Classes;
type
TAddressVO = class;
TClientVO = class(TPersistent)
private
{ private declarations }
FNome: string;
FIdentidade: Integer;
FCPF: Int64;
FTelefone: string;
FEmail: string;
FEndereco: TAddressVO;
procedure SetNome(const Value: s... |
{***************************************************************************
CanTx.pas - description
-------------------
begin : 07.01.2013
last modified : 21.01.2016
copyright : (C) 2013 - 2016 by MHS-Elektronik GmbH... |
unit CustomStringList;
interface
uses Classes{,Windows},SysUtils;
type
{ TCustomStringList }
TCustomStringList = class(TStringList)
private
function GetDelimitedText: string;
procedure SetDelimitedText(const AValue: string);
public
property DelimitedText: string read GetDelimitedText wri... |
Program Scanner;
USES Crt;
TYPE
TokenType = (tNone, {tipe-tipe token}
tIdentifier,
tInteger,
tReal,
tCharConstant,
tString,
tPlus,
tMin,
tMult,
tDiv,
tAssignment,
tTitikDua,
tRange,
tKoma,
tTitik,
tTitikKoma,
tEqual,
tInequal,
tLess,
tLessEqu,
tGreater,
tGreaterEqu,
tKur... |
unit SimThyrGUIServices;
{ SimThyr Project }
{ A numerical simulator of thyrotropic feedback control }
{ Version 5.0.0 (Mirage) }
{ (c) J. W. Dietrich, 1994 - 2023 }
{ (c) Ludwig Maximilian University of Munich 1995 - 2002 }
{ (c) Ruhr University of Bochum 2005 - 2023 }
{ This unit provides some global functions fo... |
{-----------------------------------------------------------------------------
Unit Name: uSbSpeechRecognize
Author: Salih BA–CI
Date: 04-Nis-2021
Purpose:
History:
-----------------------------------------------------------------------------}
unit uSbSpeechRecognize;
interface
uses System.SysUtils, S... |
unit QGame.Game;
interface
uses
QCore.Input,
QCore.Types,
QGame.SceneManager,
QGame.ResourceManager,
Strope.Math;
type
TQGame = class (TComponent)
strict protected
FGameName: string;
FGameAutors: string;
FGameVersion: Integer;
FGameVersionMajor: Integer;
FGameVersionMino... |
unit fExecutaExemplos6;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, Exemplo6,
Exemplo6_1;
type
TfrmExecutaExemplos6 = class(TForm)
Label1: TLabel;
rdgTipo:... |
{$ifdef license}
(*
Copyright 2020 ChapmanWorld LLC ( https://chapmanworld.com )
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 l... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit AbstractFormController;
interface
uses
AbstractController,
Disposable,
Controls,
Forms,
SysUtils,
Classes;
type
TFormData = class (TInterfacedObject, IDisposable)
public
Owner: TComponent;
Parent: TWinControl;
constructor Create(Owner: TComponent; Parent: TWinControl = n... |
unit PUSHMessage;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Vcl.Menus, dxSkinsCore, dxSkinsDefaultPainters,
Vcl.StdCtrls, cxButtons, Vcl.ExtCtrls, cxCo... |
unit AqDrop.DB.PG;
interface
uses
AqDrop.DB.Adapter,
AqDrop.DB.SQL.Intf;
type
TAqDBPGSQLSolver = class(TAqDBSQLSolver)
strict protected
function SolveLimit(pSelect: IAqDBSQLSelect): string; override;
function SolveOffset(pSelect: IAqDBSQLSelect): string; override;
function SolveBoole... |
program defis;
{$UNITPATH \SDL2}
uses SDL2, SDL2_image;
var
sdlWindow1: PSDL_Window;
sdlRenderer: PSDL_Renderer;
sdlSurface1: PSDL_Surface;
sdlTexture1: PSDL_Texture;
sdlTexture2: PSDL_Texture;
sdlHelico: TSDL_Rect;
sdlframe: TSDL_Rect;
exit: BOOLEAN = false;
sdlKeyboardState: PUInt8;
begin
//ini... |
{******************************************}
{ }
{ FastReport v4.0 }
{ Report classes }
{ }
{ Copyright (c) 1998-2008 }
{ by Alexander Tzyganenko, }
{ ... |
unit FtiEditFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,
tiObject, tiReadOnly;
type
TValidateEvent = procedure(Sender: TObject; Buffer: TtiObject;
var Valid: Boolean) of object;
TEditNotifyEvent = procedure(Sender: TObject; Buffer: TtiObject)... |
{xref_proc1.p - the saga continues}
function lowercase(ch:char):char;
{function to convert a single character input to lower case
variables used:
ch : char (character input) }
begin {function lowercase}
if ch in ['A'..'Z']
then lowercase:=chr(ord(ch)-ord('A')+ord('a'))
... |
unit uSCP;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, uUser, uSmsClient, uSimpleConnectionProtocol, IdComponent,
IdTCPConnection, IdTCPClient, idGlobal, IdBaseComponent;
type TSendCmdDataNotify = procedure(aUser: TUser; aCmd: String)... |
unit AsyncProcess;
INTERFACE
USES MemStream;
type tapx=object
pid:SizeUInt;
output: ^tMemoryStream;
exitcode:Integer;
exitsignal:Word;
event: procedure of object; {notification on statuc change}
procedure Init(const args:ppchar; var ioutput:tMemoryStream);
procedure Kill;
private
opipe:tHandle;
procedure Pip... |
unit Frm_VisorFichero;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics,
Controls, Forms, Dialogs, uniGUITypes, uniGUIAbstractClasses,
uniGUIClasses, uniGUIForm, uniURLFrame, uniToolBar, uniGUIBaseClasses,
Funciones,
uniFileUpload, uniEdit, uniDBEdit,DB, uniImage, uniDBImage;
type
... |
{-------------------------------------------------------------------------------
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/
So... |
//A unit providing the tray icon component.
//Created by Tomas Koutny.
//Version 1.5
//------------------------------------------------------------------------------
//WARRANTIES AND DISCLAIMER:
//
//EXCEPT AS EXPRESSLY PROVIDED OTHERWISE IN A WRITTEN AGREEMENT BETWEEN
//Tomas Koutny ("LICENSOR") AND YOU, THE LICENSE... |
unit TarFTP.Archiver;
interface
uses
SysUtils, Classes, TarFTP.Interfaces, LibTar, IOUtils;
type
TTarArchiver = class(TInterfacedObject, IArchiver)
private
FOnProgress: TProgressEvent;
FSourceFiles : TStringList;
FClean : Boolean;
FTar : TTarWriter;
FOutStream : TStream;
procedure DoPr... |
unit Androidapi.JNI.BluetoothAdapter;
// (c) RedTitan Technology 2013
// JNI BLUETOOTH v.1.0
// Note - REQUIRES - PROJECT OPTIONS - USES PERMISSIONS - BLUETOOTH
interface
{$IF defined(Android)}
uses
Androidapi.Helpers,
Androidapi.JNIBridge,
Androidapi.JNI.JavaTypes,
Classes;
type
JBluetoothDevice = inte... |
unit Do01;
{
ULDO01.DPR ================================================================
File: DO01.PAS
Library Call Demonstrated: cbDOut()
Purpose: Writes a byte to a digital output port.
Demonstration: Configures FIRSTPORTA for output an... |
unit u_scores;
{
Stockage automatisé de scores pour jeux vidéos développés sous Delphi.
Logiciel open source distribué sous licence MIT.
Open source software distributed under the MIT license
Copyright Patrick Prémartin / Olf Software
Permission is hereby granted, free of charge, to any person o... |
unit Abastecimento;
interface
uses Bomba;
type
TAbastecimento = class
private
FBomba: TBomba;
FValor: Currency;
FId: Integer;
FLitros: Currency;
FImposto: Currency;
FData: TDateTime;
procedure SetBomba(const Value: TBomba);
procedure SetData(const Value: TDateTime);
procedure ... |
unit Redis.Client;
interface
uses
Generics.Collections, System.SysUtils, Redis.Command, Redis.Commons;
function NewRedisClient(const AHostName: string = 'localhost';
const APort: Word = 6379; const ALibName: string = 'indy'): IRedisClient;
function NewRedisCommand(const RedisCommandString: string): IRedisCommand... |
unit Main;
interface
{$include KControls.inc}
uses
{$IFDEF FPC}
LCLIntf, LResources, LCLProc,
{$ELSE}
Windows, Messages,
{$ENDIF}
SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs,
KMemo, KGraphics, KFunctions, StdCtrls, ExtCtrls, KEditCommon,
KControls, KDialogs... |
unit MainUnit;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
System.Win.ComObj, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, cxGridExportLink, cxGraphics, Math,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, dxSkinsCore, System.RegularExpressions,
... |
unit ExcecaoParametroInvalido;
interface
uses
SysUtils;
type
TExcecaoParametroInvalido = class(Exception)
private
FNomeDaClasse :String;
FNomeDoMetodo :String;
FNomeDoParametro :String;
function GetNomeDaClasse: String;
function GetNomeDoMetodo: String;
function GetNomeDoParam... |
unit dmConfiguracion;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dmSistemaStorage, JvComponentBase, IBCustomDataSet, IBUpdateSQL,
DB, IBQuery, dmConfigSistema, ConfigVersion,
ConfigEscenarios, ConfigIdentificacion, dmConfigMensajes,
ConfigRecordatorio,... |
unit uImperativeNumberClassifier;
interface
uses
Spring.Collections
, uNumberClassificationTypes
;
type
TNumberClassification = (Perfect, Abundant, Deficient);
TImperativeClassifier = class
private
FFactors: ISet<Integer>;
FNumber: integer;
function IsFactor(aFactor: integer): Boole... |
unit tmbToolEdicaoBottom;
interface
uses
SysUtils, Classes, Controls, ToolWin, ComCtrls, ExtCtrls, Buttons,
DBClient, Forms, DB, Windows;
type
TtmbEdicaoBottom = class(TCoolBar)
private
FCria: boolean;
FClientDataSet: TClientDataSet;
FForm: TCustomForm;
FCloseEvento: boolean;
procedure S... |
unit uThreadPedido;
interface
uses
Classes {$IFDEF MSWINDOWS}, SERVERPEDIDO1, SOAPHTTPClient, ActiveX, Windows,
gputil, StdCtrls, ZConnection,
uDMFast, uDMFaturamento, SysUtils, uLogin, uDMMain {$ENDIF};
type
ThreadPedido = class(TThread)
protected
Flog: Tmemo;
FComponent : TObject;
FipServidor... |
unit UMain_Client;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, FMTBcd, StdCtrls, DB, SqlExpr, Grids, DBGrids, ExtCtrls, DBCtrls,
DBClient, DSConnect, Provider;
type
TForm1 = class(TForm)
DBNavigator1: TDBNavigator;
DBGrid1: TDBGrid;
SqlServer... |
unit Chat;
{
Implement two-way realiable acked lock-step protocol
}
INTERFACE
uses NetAddr,ServerLoop,MemStream;
type tChat=object
remote:tNetAddr;
opcode:byte;
txSeq:Word;
rxSeq:Word;
rxAcked:boolean;
closed:boolean;
RTT:LongWord;{in ms}
Callback: procedure(msg:tSMsg; data:boolean) of object; {client must ma... |
unit RESTMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.TabControl,
FMX.StdCtrls, IPPeerClient, FMX.ListView.Types, System.Rtti,
System.Bindings.Outputs, Fmx.Bind.Editors, Data.... |
unit unExtendedDatabaseAuthentificationForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, unDatabaseAuthentificationForm, cxGraphics, cxLookAndFeels,
cxLookAndFeelPainters, Menus, StdCtrls, cxButtons, ValidateEditUnit,
RegExprValidateEditUnit, Spin, ExtCtr... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
ARGONNE NATIONAL LABORATORY. MINPACK PROJECT. JUNE 1983
JORGE J. MORE', DAVID J. THUENTE
>>> SOURCE LICENSE >>>
This program is free software; you can redistribute it and/or modify
it under the terms of ... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit MoveInf;
interface
uses Windows,messages;
Type
TDirectory = (dirNone,dirUp,dirDown,dirleft,dirRight);
TMoveInfo = record
dx,dy : shortInt;
end;
const
MoveInfos : array[TDirectory] of TMoveInfo
= ((dx : 0;dy : 0),(dx : 0;dy : -1),(dx : 0;dy : 1),
(dx : -1; dy : 0),(dx : 1;dy : 0));
funct... |
unit VideoPlayer;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ComCtrls, Vcl.Buttons,
GraphicsSpeedButton, Vcl.ExtCtrls, Vcl.StdCtrls, GraphicsTrackBar,
VideoConverterInt;
type
TfrmVideoPl... |
unit XMLPropertyEditorReg;
interface
uses DesignIntf, DesignEditors, XMLClientDataSet;
Type TXMLProperty = Class(TPropertyEditor)
Public
Function GetAttributes: TPropertyAttributes; Override;
Procedure Edit; Override;
Function AllEqual: boolean; Override;
Function GetValue: string; Ove... |
{********************************************************************}
{** UNIVERSIDADE DO SUL DE SANTA CATARINA - UNISUL - 17-03-94 **}
{** CURSO DE CIENCIAS DA COMPUTACAO **}
{** PROF : CLAYTON BONELLI - PROGRAMACAO II **}
{** ALUNO : OSMAR DE OLIVEIRA B... |
unit Utils.Timer.Interval;
interface
uses
System.Classes,
System.SysUtils,
Vcl.ExtCtrls;
type
// --------------------------------------------------------------------
// TIntervalTimer
// * class method Run(Owner, Interval, OnTimerProc);
// * class method RunOnce(Owner, DelayMs, OnTimerProc);
// -----... |
// Fit4Delphi Copyright (C) 2008. Sabre Inc.
// 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;
// either version 2 of the License, or (at your option) any later version.
//
// This program ... |
program SpaceX_API;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
cthreads,
{$ENDIF}
Classes, SysUtils, CustApp, Dragon, VolumeInfo, ThrustInfo, IspInfo, SizeInfo,
MassInfo, CompanyHeadquarters, Company, CompanyLinks, SpaceTrackInfo,
Capsule, Core, Crew,
Landpad, DatePrecision, LaunchCore, LaunchFailure, Launc... |
{-------------------------------------------------------------------------------
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/
So... |
unit Ao02;
{
ULAO02.DPR****************************************************************
File: AO02.PAS
Library Call Demonstrated: cbAOutScan()
Purpose: Writes to a range of D/A Output Channels.
Demonstration: Sends a digital output to the ... |
unit core_gBuffer;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,dglOpenGL,core_types;
const GBUFFER_DIFFUSE_TEXTURE_UNIT=0;
GBUFFER_NORMAL_TEXTURE_UNIT=1;
GBUFFER_POSITION_TEXTURE_UNIT = 2;
GBUFFER_DEPTH_TEXTURE_UNIT=3;
type
GBUF_TEX_TYPE = (
GBUF_TEX_TYPE_COL,
GBUF_TEX... |
{* pcx_TP.PAS *}
{* Copyright (c) Genus Microprogramming, Inc. 1988-90 All Rights Reserved. *}
{****************************************************************************
This file contains the TURBO Pascal interface to the PCX Library.
... |
unit NetUtils;
interface
uses
windows,
classes,
sysutils,
IdHTTP,
ComObj,
ActiveX,
Variants;
type
TThreadAction = (taNone, taPing, taIP, taForward);
TPingThread = class
private
FIsPingSucces: boolean;
FOnPing: TNotifyEvent;
FOnGetIP: TNotifyEvent;
FOnForwardP... |
program exer17;
var
a,b,c:integer;
begin
read(a,b,c);
if (a < b + c) and (b < a + c) and (c < a + b) then
begin
if (a = b) and (b = c) then
writeln('equilatero')
else if (a = b) or (b = c) or (a = c) then
writeln('isosceles')
else
writeln('escaleno');
end
else
writeln('invalido');
end.
//EXERCIC... |
unit upcdaemon;
{$mode objfpc}{$H+}
{ Copyright (c) 2016 by Albert Molina
Distributed under the MIT software license, see the accompanying file LICENSE
or visit http://www.opensource.org/licenses/mit-license.php.
This unit is a part of Pascal Coin, a P2P crypto currency without need of
historical operations... |
unit HeatCapacity;
interface
uses Classes, Grids, PluginUtil, Logger, Config, HeatCapacityPeakUtils, HeatCapacityForm, Misc;
type
REtalonData = record
etalonName: string;
etalonData: string;
end;
THeatCapacityPlugin = class( TPlugin )
private
fHeatCapacityForm: TfrmHeatCapacity;
fEtalonData:... |
unit Udf.ObjectUtils;
interface
uses
System.Types,
System.SysUtils,
System.Classes,
mungis.utils;
{
DECLARE EXTERNAL FUNCTION OBJECT_DESTROY
INTEGER
RETURNS INTEGER BY VALUE
ENTRY_POINT 'ObjectDestroy' MODULE_NAME 'mungis.dll';
COMMENT ON EXTERNAL FUNCTION OBJECT_DESTROY IS
'Функция уничтожает объект ти... |
{*******************************************************}
{ }
{ 06.11.97 }
{ }
{ TXAppControl - master of Application }
{ with coommon PrintLink of project ... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit order_EDI;
interface
uses MSXML_TLB, classes;
type
TXMLORDERType = class;
TXMLHEADType = class;
TXMLPOSITIONType = class;
TXMLPOSITIONTypeList = class;
TXMLCHARACTERISTICType = class;
TXMLNode = class
XMLNode: IXMLDOMNode;
function NodeValue: OleVariant;
function Text: string;
func... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.