text stringlengths 14 6.51M |
|---|
unit mssqljdbcconnection;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget;
type
TOnMsSqlJDBCConnectionExecuteQueryAsync=procedure(Sender:TObject;messageStatus:string) of object;
TOnMsSqlJDBCConnectionOpenAsync=procedure(Sender:TObject;messageStatus:string) of object;
TOn... |
unit WiRL.Wizards.Modules.Resources;
interface
uses
WiRL.Wizards.Utils,
ToolsAPI;
resourcestring
SWiRLServerResources = 'WiRLServerResources';
SServerResourcesFileName = 'ServerResources';
type
TWiRLServerResourcesCreator = class(TInterfacedObject, IOTACreator, IOTAModuleCreator)
public
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(*
* "THE BEER-WARE LICENSE" (Revision 42):
* d0p1 <d0p1@yahoo.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
*)
UNIT node;
{$mode objfpc}{$H+}
INTERFACE
USES
... |
unit Main;
interface
uses
System.SysUtils,
System.Classes,
Data.DB,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.ComCtrls,
Vcl.Samples.Spin,
Vcl.Grids,
Vcl.DBGrids,
Winapi.Messages,
Winapi.Windows,
FireDAC.Comp.DataSet,
FireDAC.Comp.Client,
FireDAC.Stan.Para... |
unit batterymanager;
{$mode delphi}
interface
uses
Classes, SysUtils, And_jni, {And_jni_Bridge,} AndroidWidget;
type
{Draft Component code by "LAMW: Lazarus Android Module Wizard" [8/7/2021 16:33:49]}
{https://github.com/jmpessoa/lazandroidmodulewizard}
TChargePlug = (cpUnknown, cpAC, cpUSB);
TOnBatteryChargi... |
unit AT.FMX.ClockLabel.Editors;
interface
uses
DesignEditors, DesignIntf;
type
TATFMXClockLabelComponentEditor = class(TComponentEditor)
strict private
procedure ShowDesigner;
public
procedure ExecuteVerb(Index: Integer); override;
function GetVerb(Index: Integer): string; override;
function ... |
unit sts_verdict;
interface
uses Windows;
type
(* Danger level *)
TDangers = (tdHIGH, tdMEDIUM, tdLOW, tdNONE);
(* Verdicts *)
TVerdicts = (tvNone, tvVirusesAndWorms, tvTrojanPrograms, tvMaliciousTools, tvAdWare, tvPornWare, tvRiskWare);
(* Names *)
TNames = record
Pr... |
unit NtUtils.Files.Folders;
{
The module allows enumerating and traversing folders on a filesystem.
}
interface
uses
Ntapi.ntioapi, Ntapi.ntseapi, NtUtils, NtUtils.Files, DelphiApi.Reflection;
type
{
Info class | EA | Short | ID | ID 128 | Reparse | TX |
-----------------------------... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit SimpleGauge;
interface
uses
Gauges, System.Classes, Vcl.Controls, Forms;
type
IGauge = interface(IDispatch)
{$IFDEF VER100}
procedure IncProgress(IncValue: integer);
{$ELSE}
procedure IncProgress(IncValue: integer = 1);
{$ENDIF}
procedure Start;
procedure Finish;
end;
TGaug... |
// Copyright 2014 Agustin Seifert
//
// 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 ... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
unit TfrmMainUnit;
{ This program is a *very* simple example of interfacing with a
Blackmagic Design Decklink card using the DSPack (DirectShow
component package) - http://sourceforge.net/projects/dspack/
and at www.progdigy.com
Purpose: This program is trivial!! Its' intention is to provide a starting
... |
{***************************************************************}
{ Copyright (c) 2013 год . }
{ Тетенев Леонид Петрович, ltetenev@yandex.ru }
{ }
{*******************************************************... |
unit BSBase;
interface
uses SysUtils, Classes, DB, DBClient, MConnect, SConnect, Variants,
IniFiles, Messages, Windows;
type
TBSBase = Class
private
Fdataset: tclientdataset;
Fdatasource: tdatasource;
Fsck: tsocketconnection;
public
property dataset: tclientdataset read Fdataset write Fdatas... |
edit censor.pas
c
PROCEDURE MyProgram;
(* Reads from STDIN writes to STDOUT *)
(* Changes a four letter word to **** *)
(* Takes entire line from input then checks each word to see if it is four
letters long or contains only four letters. It then converts the word
in the line to **** ... |
unit UInputThread;
interface
uses
windows,Classes,uDisposeData,GzmClass,MySQLDataSet,SysUtils,uDataModule,System.TypInfo,SyncObjs,
Winapi.ActiveX ;
type
// 预警信息实时线程
TGetForCaseResult=class(TThread)
private
inMySqlConnection:TMySqlConnection;
Fdp:TDisposeData;
protected
procedure Exe... |
unit Unit1;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, QWorker, Vcl.Menus, Vcl.ComCtrls,
Vcl.ExtCtrls;
type
TForm1 = class(TForm)
MainMenu1: TMainMenu;
miTools: TMenuItem;
Panel1: TPanel;
... |
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, IPPeerClient,
REST.OpenSSL, REST.Backend.KinveyProvider, REST.Backend.PushTypes,
System.JSON, REST.Backend.KinveyPushDevice, Syst... |
program var5;
type
DoubleLinkedList = ^TDoubleLinkedListItem;
TDoubleLinkedListItem = record
Number : Integer ;
Name : String ;
Next : DoubleLinkedList;
Prev : DoubleLinkedList; { pointer to previous list element }
... |
unit Crew;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, BaseModel, JSON_Helper;
type
{ IBaseCrew }
IBaseCrew = interface(IBaseModel) ['{DA70EF6F-6B72-4891-A598-5928D05F6232}']
function GetAgency: string;
function GetId: string;
function GetImage: string;
function GetLaunches: TStrin... |
unit UFBADSI;
// |===========================================================================|
// | unit UFBADSI |
// | 2006 F.BASSO |
// |_____________________________________________________... |
unit UPhoenixMobileUtils;
interface
uses
SysUtils, Dialogs, Controls, DateUtils, Variants, ActiveX, Classes, ADODB, MSXML6_TLB, tsGrid, AxCtrls,
UContainer, ULkJson;
type
SketchAreas = record
areaGLA, area1Floor, area2Floor, area3Floor, areaGarage, areaBasement: Double; //PhoenixSketch doesn't have predefin... |
PROGRAM StringToInt(INPUT, OUTPUT);
VAR
Result: INTEGER;
{Считывает текущий символ из файла, если он - цифра, возвращает его
преобразуя в значение типа INTEGER.
Если считанный символ не цифра возвращается -1}
PROCEDURE ReadDigit(VAR FIn: TEXT; VAR Digit: INTEGER);
VAR
Ch: CHAR;
PROCEDURE C... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit uEtiquetas;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, ComCtrls, uFrameAluno, CheckLst, uFrameClasse, Menus, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, ExtCtrls,
JvExControls, JvXPCore, JvXPButtons, uFuncoesGeral, Processo,... |
unit Rectangles;
interface
uses Types, Rotations;
procedure NormalizeRect( var R : TRect );
procedure ExtendRectangle( var Rectangle : TRect; const Additional : TRect );
function ContainsRect( Rect, Container : TRect ) : boolean;
function RectanglesOverlap( R1, R2 : TRect ) : boolean;
implementation
... |
(* Output:
a and b = false
a or b = true
(a or b) and b = true
*)
program Test8;
var
a, b, c: boolean;
begin
a := true;
b := false;
c := a and b;
writeln('a and b = ', c);
c := a or b;
writeln('a or b = ' , c);
a := false;
b := true;
c := (a or b) and b;
wr... |
unit uGraficoAlunoDisc;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, q_RelPadrao, TeEngine, Series, TeeProcs, Chart, DBChart, QrTee, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, uFrameAluno,
uFramePeriodo, QRPDFFilt, JvExControls, JvXPCore, JvXPButton... |
unit uAppLib;
interface
type
TAppLib = class
class function NumberFormat(value: string): double;
end;
implementation
uses
System.SysUtils, FMX.Dialogs;
{ TAppLib }
class function TAppLib.NumberFormat(value: string): double;
var s: string;
begin
s := StringReplace(value, '.', '', [rf... |
unit sch_to_bom;
{
* Author A.Kouznetsov
* Rev 1.01 dated 4/6/2015
Redistribution and use in source and binary forms, with or without modification, are permitted.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, T... |
unit RPDLLComp;
{**********************************************
Kingstar Delphi Library
Copyright (C) Kingstar Corporation
<Unit>RPDLLComp
<What>包装RPDLLIntf定义的接口函数
<Written By> Huang YanLai (黄燕来)
<History>
**********************************************}
interface
uses Classes, DB, RPDBCB, RPD... |
unit uVtBaseEditor;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Controls, Forms, Windows, StdCtrls, EditBtn, Spin, ComboEx,
VirtualTrees, LResources;
type
{ TVtBaseData }
TVtBaseData = class
protected
fReadOnly: boolean;
protected
function GetImageIndex: integer; virtual;
functio... |
unit Unit_Settings;
//
// Created by: Alexander Oster - tensor@ultima-iris.de
//
(*****
*
* 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
* ... |
{$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... |
Program Arvore;
Uses Graph,Crt,Mouse,Proc;
Const
Brancoforte = 15 ;
Brancofraco = 7 ;
Preto = 0 ;
Azulescuro = 1 ;
Azulclaro = 9 ;
Vermelhoforte = 4 ;
Vermelhoclaro = 12 ;
Verdeclaro = 10 ;
... |
unit TvebArbolUnit;
interface
uses Math;
type
TvebNodo = class
public
iUniverso: Integer;
iMinimo: Integer;
iMaximo: Integer;
nSummary: TvebNodo;
nCluster: Array of TvebNodo;
constructor fnCreate(iUniversoPropuesto: integer);
end;
TvebArbol = class
private
... |
{ Public include file for the HIER library.
*
* This library manipulates hierarchical data, particularly writing/reading
* hierarchical data to/from files.
}
const
hier_subsys_k = -69; {HIER library subsyste ID}
hier_stat_badindent_k = 1; {invalid indentation}
hier_stat_lower_k = 2... |
{ A set of examples to demonstrate features of Extended Pascal }
{ Prospero Software, January 1993 }
{ ------------------------------------------ }
PROGRAM strings1 (output);
{ Extended Pascal examples }
{ Variable length strings & substrings }
VAR a,b: string(20); { a,b have "capacity" 20 }
n: 1.... |
{
MIT License
Copyright (c) 2019 Anderson J. Gado da Silva and Hélio S. Ribeiro
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 Software without restriction, including without limitation the rig... |
{$MODESWITCH RESULT+}
{$GOTO ON}
(*************************************************************************
Cephes Math Library Release 2.8: June, 2000
Copyright 1984, 1987, 1995, 2000 by Stephen L. Moshier
Contributors:
* Sergey Bochkanov (ALGLIB project). Translation from C to
pseudocode.
See s... |
(*============================================================================
-----BEGIN PGP SIGNED MESSAGE-----
This code (c) 1994, 1997 Graham THE Ollis
GENERAL NOTES
=============
This is 16bit DOS TURBO PASCAL source code. It has been tested using
TURBO PASCAL 7.0. You will need AT LEAST version 5.0 ... |
unit QryCust;
interface
uses
SysUtils, Windows, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, ExtCtrls, Buttons;
type
TQueryCustDlg = class(TForm)
Label1: TLabel;
Label2: TLabel;
FromEdit: TEdit;
ToEdit: TEdit;
CancelBtn: TButton;
OkBtn: TButton;
M... |
program e5p1;
uses
crt;
type
aEnteros = file of integer;
////////////////////////////////////////////////////////////////////////
procedure cargarArchivo(var archEnteros:aEnteros);
//PROCEDIMIENTO PARA CARGAR UN ARCHIVO CON ENTEROS POSITIVOS
var
enteroPositivo:integer;
salir:boolean;
begin
sa... |
unit RandomUnit;
interface
procedure RandomizeMT;
procedure SetRandSeedMT(seed: LongWord);
function GenRandMT: double;
function GenRandIntMT: LongWord;
implementation
const
{ Period parameters }
N = 624;
M = 397;
MATRIX_A = $9908b0df; { constant vector a }
UPPER_MASK = $80000000; { most significant w-... |
unit RepositorioEstoqueProdutoValidade;
interface
uses DB, Auditoria, Repositorio;
type
TRepositorioEstoqueProdutoValidade = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;... |
unit uDataComputer;
interface
uses
System.Classes,
System.Variants,
System.SysUtils,
System.Types,
System.IOUtils,
System.Threading,
System.Generics.Collections,
Data.DB,
mORMot,
mORMotSQLite3,
SynSQLite3Static,
uCommon;
type
TSQLClearColumnRow = class(TSQLData)
private
fFileNo: Word;... |
unit uFormEntradas;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
uFormBase, Data.DB, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Param, FireDAC.Stan.Error, FireDAC.DatS, FireDAC.Phys.Intf,... |
unit MPIDeclaration;
interface
uses Windows, Graphics, Math;
const
// --- Pasha Const -----
EkvatorWidth = 40075.0355351;
EkvatorHeight = 39940.6696173;
Pi_Del_180 = pi/180;
CoefArray : array [1..36*4] of integer = (69 + 15, 69 + 14, 69 + 14, 69 + 13, 69 + 13, 69 + 13, 69 + 12, 69 + 12, ... |
unit SD;
interface
uses
NLO, SignalField, Func1D, Numerics, FrogTrace;
type
TSD = class(TNLOInteraction)
public
procedure MakeSignalField(pEk: TEField; pEsig: TSignalField); override;
procedure MakeXSignalField(pEk, pERef: TEField; pEsig: TSignalField); override;
function Z(pEx: PArray; pEsig: T... |
unit Classe.Frentista;
interface
type
TFrentista = class
private
FNomeFrentista: string;
FID: integer;
FPercComissao: double;
procedure SetID(const Value: integer);
procedure SetNomeFrentista(const Value: string);
procedure SetPercComissao(const Value: double);
published
property ID: ... |
unit UServiceLoginForm;
{ ClickForms Application }
{ Bradford Technologies, Inc. }
{ All Rights Reserved }
{ Source Code Copyrighted © 1998-2011 by Bradford Technologies, Inc. }
interface
uses
ActnList,
Classes,
Controls,
ExtCtrls,
RzLabel,
StdCtrls,
UForm... |
unit ChainOfResponsibility.Util.Utils;
interface
uses
Vcl.StdCtrls, System.SysUtils, ChainOfResponsibility.Util.StringClass;
type
TUtilsSingleton = class
private
class var FMemo: TMemo;
class var FStarting: Boolean;
class var FInstance: TUtilsSingleton;
constructor Create(AMemo: TMemo); overloa... |
unit uAddCmd;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, RXCtrls, ComCtrls, Mask, ToolEdit,
Grids, ValEdit, inifiles, zTranslate;
type
TAddCmdDLG = class(TForm)
Panel1: TPanel;
BitBtn1: TBitBtn;
BitB... |
unit umain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Menus, ExtCtrls, ImgList, IBSQL, IBDatabase, DB, IniFiles,
global_h;
type
Tflog = class(TForm)
base: TIBDatabase;
trR: TIBTransaction;
qR: TIBSQL;
trW: TIBTra... |
unit FramPrice;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.ListBox, FMX.Controls.Presentation, FMX.Objects, FMX.Edit, fDM, Data.DB,
MemDS, DBAccess, Uni, FMX.EditBox, FMX.Numbe... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit RPDesignInfo;
interface
uses Windows, Messages, SysUtils, Classes, Contnrs, RPBands, RPCtrls, RPDB,
RPProcessors, RPEasyReports, RPPrintObjects;
type
TReportInfo = class(TComponent)
private
{ Private declarations }
FVariantValues: TStrings;
FFieldMapping: TStrings;
FDataEntries: TRPDataEnt... |
unit ProdDict;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ComCtrls, TestConfig;
type
TfrmProdDict = class(TForm)
trvProduct: TTreeView;
lsvConfig: TListView;
btnLoad: TButton... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Types.pas
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthew Vesperman
//
// Descrip... |
unit UTools;
interface
uses USimulation;
type
// Перечисление TMachineState обозначает состояния станка
TMachineState = (msFree, msPreparing, msWorking, msRepaired);
// Класс TDetail имитирует процесс прохождения детали через станок
TDetail = class(TProcess)
protected
procedure RunProcess; override;
... |
{
mteElements Tests
Tests for functions in mteElements
}
unit mteElementsTests;
uses 'lib\mteBase', 'lib\mteFiles', 'lib\mteTypes', 'lib\jvTest';
const
mteTestVersion = '0.0.0.1';
mteTestFile1 = 'TestMTE-1.esp';
mteTestFile2 = 'TestMTE-2.esp';
mteTestFile3 = 'TestMTE-3.esp';
mteTestFile4 = 'TestMTE-4.e... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit PeakClass;
interface
uses Windows, CommonTypes, Config;
type
TPeakCutType = ( PEAK_CUTTYPE_FULLAREA, PEAK_CUTTYPE_PARTAREA );
TPeakState = ( PEAK_STATE_UP, PEAK_STATE_DOWN, PEAK_STATE_INVALID );
TAreaScale = ( asUnits = 0, asJole = 1, asJolePerGramm = 2 );
RPeakAreaValue = record
begX: integer;
e... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme/secure/ws/awsi/PhoenixMobileServer.php?wsdl
// >Import : http://carme/secure/ws/awsi/PhoenixMobileServer.php?... |
{*******************************************************************************
作者: fendou116688@163.com 2017/6/7
描述: 微信自动同步
*******************************************************************************}
unit UWebChatUploader;
interface
uses
Windows, Classes, SysUtils, UBusinessWorker, UBusinessPack... |
{******************************************************************************}
{ Boris Damjanovic }
{ Ind. master-230/08 }
{ Faculty of Organizational Sciences (FON), Belgrade ... |
unit UndoEngine;
interface
uses Classes, Sysutils;
{ **********************************************************************
UNDO-REDO ENGINE USING MEMENTOS
Engine is general purpose. Any code, even from unrelated parts of the
application can create a TunMemento descendant and add operatio... |
program HelloPascal
uses crt;
var
{ You need your global variables defined up front }
result: Integer
{ Functions and procedures are defined at the top }
Procedure sayHelloTo(var name: String);
begin
writeln("Hello, ", name);
end
end;
Function myfunc(var input: Integer): Integer;
var
{ You have to d... |
{ TOvrEdit
--------
An improved TEdit component which reflect keyboard
insert/overwrite mode, Special desiged for Windows
Traditional Chinese Version.
by Wolfgang Chien <wolfgang@ms2.hinet.net>
}
unit OEdit;
interface
{$ifdef Windows}
uses
SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics,
Cont... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, IdBaseComponent, IdComponent, IdRawBase,
IdRawClient, IdIcmpClient;
type
TForm1 = class(TForm)
LabelTitre: TLabel;
ImageOrdinateur: TImage;
Cable_OrdinateurModem... |
unit ChainOfResponsibility.Interfaces.IHandler;
interface
// The Handler interface declares a method for building the chain of
// handlers. It also declares a method for executing a request.
// A interface Handler declara um método para construir a cadeia de handlers
// Também declara um método para executar a solic... |
unit MdEditForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ComCtrls, ActnList, Menus, ExtCtrls, DbUnit, MdUnit;
type
{ TFormMdEditor }
TFormMdEditor = class(TForm)
actTableAdd: TAction;
actTableDel: TAction;
a... |
{$mode delphi}
unit vorunati;
interface
type
// A vorunati ('vor') value represents one of four possible
// states of a program's lifecycle.
vor = (
vo, // vo : program is busy (mnemonic: 'void')
ru, // ru : program needs input (to 'resolve uncertainty')
na, // na : program encountered an ... |
unit ucdimage;
interface
uses
utim;
const
cSectorHeaderSize = 12;
cSectorAddressSize = 3;
cSectorModeSize = 1;
cSectorSubHeaderSize = 8;
cSectorInfoSize = cSectorHeaderSize + cSectorAddressSize + cSectorModeSize +
cSectorSubHeaderSize;
cSectorDataSize = 2048;
cSectorECCSize = 4;
... |
unit zNtRegistry;
interface
uses Windows, Classes, SysUtils;
type
TNtRegDataType = (rdUnknown, rdString, rdExpandString, rdInteger, rdBinary);
TNtRegDataInfo = record
RegData: TNtRegDataType;
DataSize: Integer;
end;
TNTRegistry = class(TObject)
private
FRootKey : HKEY;
procedu... |
unit RepositorioPerfil;
interface
uses
DB,
Auditoria,
Repositorio;
type
TRepositorioPerfil = class(TRepositorio)
protected
function Get (Dataset :TDataSet) :TObject; overload; override;
function GetNomeDaTabela :String; override;
function GetIdentific... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
unit ViewController2;
interface
uses
System.SysUtils, System.TypInfo, System.Classes, System.Types, System.Rtti,
Macapi.ObjectiveC, Macapi.ObjCRuntime, Macapi.CoreFoundation, iOSapi.Foundation, iOSapi.CocoaTypes,
iOSapi.UIKit, Macapi.Helpers, CocoaTouch;
type
ViewController = interface(UIViewController)
[... |
{ $HDR$}
{**********************************************************************}
{ Unit archived using Team Coherence }
{ Team Coherence is Copyright 2002 by Quality Software Components }
{ }
{ For further ... |
unit uHoldingsSaxParser;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Windows, SAX, SAX_XML,
uSaxBase, uHoldingsBuilder, uHoldings;
type
{ THoldingsSaxFactory }
THoldingsSaxFactory = class
private
fSaxReader: TSaxReader;
fSaxHandler: TSaxHandler;
private
procedure ConstructSaxH... |
unit DataBloky;
// TBlkTableData - trida resici zobrazovani tavulky bloku
interface
uses ComCtrls, SysUtils, StrUtils;
type
TBlokyTableData=class
private
LV:TListView;
changed:array of boolean;
public
reload:boolean;
procedure LoadTable();
procedure UpdateTable();
pr... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit DW.NativeImage.iOS;
{*******************************************************}
{ }
{ Kastri }
{ }
{ Delphi Worlds Cross-Platform Library ... |
{
ID:because3
PROG:sprime
LANG:PASCAL
}
const a:array[1..4] of integer=(2,3,5,7);
c:array[1..4] of integer=(1,3,7,9);
var i,n:longint;
function pd(x:longint):boolean;
var i:longint;
begin
for i:=2 to trunc(sqrt(x)) do
if x mod i=0 then exit(false);
exit(true);
end;
procedure search(... |
{ Routines for drawing images.
}
module displ_draw_img;
define displ_draw_item_img;
%include 'displ2.ins.pas';
{
********************************************************************************
*
* Subroutine DISPL_DRAW_ITEM_IMG (ITEM, DRDEF, DRCUR)
*
* Draw the overlayed image item ITEM. This is a low level rou... |
unit uDetailedDeviceForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs,
upropertyeditor, VirtualTrees, uConfiguratorData;
type
{ TDetailedDeviceForm }
TDetailedDeviceForm = class(TDetailedForm)
DeviceTree: TVirtualStringTree;
procedure DeviceT... |
UNIT AbstractDisassemblerUnit;
{$mode delphi}
INTERFACE
USES
Classes, SysUtils,CPUMemoryUnit, SymbolListUnit,
MemoryListUnit,ConsoleUnit,ParameterListUnit,BeebDisDefsUnit;
CONST
MinOpCode = 0;
MaxOpCode = $FFFF;
TYPE
TCPU = (tcInvalid, tc6502, tc65c02, tc65c02wd, tc6512, tc6... |
{ http://blogs.embarcadero.com/abauer/2009/08/29/38896 }
unit uDelayExcept;
interface
uses System.SysUtils;
type
EDliException = class( Exception )
private
class constructor Create;
class destructor Destroy;
end;
EDliLoadLibraryExeception = class( EDliException )
private
FDllName : string;
p... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,RegExpr;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
Memo2: TMemo;
procedure Button1Click(Sender: TObject);
private
public
end;
var
Fo... |
unit unitMain;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
ExtCtrls;
type
{ Tmain }
Tmain = class(TForm)
btnPos11: TButton;
btnPos12: TButton;
btnPos13: TButton;
btnPos21: TButton;
btnPos22: TButton;
btnPos23: TButto... |
unit FROGImage;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ExtCtrls, Menus, FrogTrace, FROGColorTable, Func1D;
type
TFrmFrogImage = class(TForm)
SbxImage: TScrollBox;
ImgImage: TImage;
PnlPhase: TPanel;
popCopy: TPopupMenu;
Copy1: TMenuItem;
... |
unit LossDebtMovementItemTest;
interface
uses dbTest, ObjectTest;
type
TLossDebtMovementItemTest = class(TdbTest)
protected
procedure SetUp; override;
published
// загрузка процедура из определенной директории
procedure ProcedureLoad; override;
procedure Test; override;
end;
TLossDebtMove... |
{==============================================================================*
* Copyright © 2020, Pukhkiy Igor *
* All rights reserved. *
*===========================================================================... |
unit rmxFastXMLUtils;
interface
uses
System.Types, System.RTLConsts,
System.SysUtils, System.DateUtils, System.Classes, System.Generics.Collections,
Data.DB,
rmxFastXML;
Type
TrmxFastXMLHelper = Class Helper for TrmxFastXML
public
/// <summary>
/// Assign a Child Node if exist Val... |
unit FMXER.UI.Misc;
interface
uses
Classes, SysUtils, System.Rtti, FMX.Forms, FMX.Layouts,
SubjectStand;
type
TNameValueParam = record
Name: string;
Value: TValue;
constructor Create(const AName: string; const AValue: TValue);
end;
TParams = TArray<TNameValueParam>;
TElementDef<T> = record... |
unit NetInfo;
interface
uses
Windows, Messages, SysUtils, Classes, IPHelperDef;
type
// IP адрес и маска
TIPAddress = class
protected
FIPAddress : string;
FIPNetmask : string;
private
function GetStringInfo: String;
public
constructor Create(Addr : PIPAddrString);
p... |
unit rDbUtils;
interface
const
fnID = 'id';
fnID_REF = 'id_%s';
fnGUID = 'guid';
fnOWNER_ID = 'owner_id';
fnGROUP_ID = 'id_groups';
fnFULLNAME = 'fullname';
fnPASSWORD = 'password';
fnNAME =... |
unit Menus.Controller.ListaBox.Factory;
interface
uses Menus.Controller.ListBox.Interfaces, System.Classes,
Menus.Controller.ListaBox.Default;
Type
TControllerListaBoxFactory = class(TInterfacedObject, iControllerListBoxFactory)
constructor Create;
destructor Destroy; override;
class Function Ne... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.