text stringlengths 14 6.51M |
|---|
unit UsbIoBuf;
interface
uses Windows;
{************************************************************************
*
* Module: UsbIoBuf.h
* Long name: CUsbIoBuf class
* Description: definition of an USB I/O buffer and buffer pool
*
* Runtime Env.: Win32, Part of UsbioLib
* Author(s): Guenter H... |
unit uIniSettings;
{$I definitions.inc}
interface
uses IniFiles;
type
TEnviroment = (sandbox, production);
REbay = record
AppID: string;
DevID: string;
CertID: string;
Token: string;
Host : string;
ServiceURL : string;
end;
SSLSet = record
SSLCertFile : str... |
{$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 li... |
unit HNM.Raytrace.Material;
interface //#################################################################### ■
uses LUX, LUX.D3, LUX.Matrix.L4, LUX.Color,
LUX.Raytrace, LUX.Raytrace.Material,
HNM.Raytrace;
type //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$【型】
//$$$$$$$$... |
unit UnitEvalidationError;
interface
uses
System.SysUtils,
System.TypInfo;
type
EvalidationError = class (Exception)
constructor Create(Const Msg: string); overload;
end;
implementation
{ EvalidationError }
constructor EvalidationError.Create(Const Msg: string);
begin
inherited Create(Msg);
end;
en... |
unit SD_Configuracion;
interface
uses
IniFiles, classes;
const
ERROR_APERTURA_CFG= 'ErrorAperturaCFG';
ERROR_CFG= 'ErrorLecturaCFG';
SECCION_APP = 'APPLICATION';
CMPR_NAME = 'COMPRESSED_NAME';
SECCION_FLS = 'PROC_FILES';
FTP_HOST = 'HOST';
FTP_PORT = 'PORT';
FTP_USR = 'USR';
FTP_PASS = 'PASS';
... |
unit core_ui_controls;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,core_texture, core_ui_base, math;
type
//class for system log displaying
{ TUILog }
//keeps track of all* the lines we have added but displays only portion
TUILog = class (TUICanvas)
private
fTxt:TUIText;
lines:TStrin... |
unit uAlgorithms;
interface
type
TFuncFibonacci = function(const Number: Word): Cardinal;
function Fibonacci(const Number: Word): Cardinal;
function FibonacciEx(const Number: Word): Cardinal;
implementation
uses
System.Math;
function Fibonacci(const Number: Word): Cardinal;
begin
if Number = 0 then
Resu... |
unit WaitWindow;
interface
uses
StdCtrls, Forms, Classes, ComCtrls, ExtCtrls, Gauges, Windows, Messages,
SysUtils, Variants, Graphics, Controls;
var
{ Public declarations }
FormWait : TForm;
Progress : TGauge;
LabelWait : TLabel;
Animation : TAnimate;
Shape : TShape;
procedure MakeWindowMessage(Te... |
unit QGame.ResourceManager;
interface
uses
Generics.Collections,
QGame.Resources;
type
TResourceManager = class sealed
strict private
FResources: TDictionary<string, TDictionary<string, TResource>>;
public
constructor Create;
destructor Destroy; override;
procedure AddResource(... |
{*******************************************************}
{ }
{ Pascal/Lite Runtime Library }
{ Vesa Unit Demo }
{ }
{ Copyright (C) 1996 ... |
unit ExportToHtmlFrm;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ComCtrls, ExportToHtmlUnit, ConstUnit, DepModelUnit,
Data.SqlExpr;
type
TExportToHtmlForm = class(TForm)
pgsExpor... |
unit UApex6ExForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls,Contnrs, Grids_ts, TSGrid, mscorlib_tlb, extCtrls, Jpeg,
Apex_Integration_TLB,
UForms, UToolUtils, UContainer, UCell, UForm, UBase, UEditor, UCellMetaData, UGridMgr, UGraph... |
unit ChainOfResponsibility.AbstractClasses.AbstractHandler;
interface
uses
ChainOfResponsibility.Interfaces.IHandler;
// The default chaining behavior can be implemented inside a base handler
// class.
// O comportamento padrão da cadeia pode ser implementado dentro de uma base handler
type
TAbstractHandler = ... |
unit acs_properties;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, acs_audio
{$IFNDEF FPC}
, DesignIntf, DesignEditors
{$ELSE}
, PropEdits
{$ENDIF}
;
type
{ TAcsStringProperty }
{ Basic methods of the property editor }
TAcsStringProperty = class(TStringProperty)
public
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
(*
Copyright (c) 2011, Stefan Glienke
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 code must retain the above copyright notice,
this list of conditions and t... |
unit uTabResources;
{
Sandcat Resource List
Copyright (c) 2011-2017, Syhunt Informatica
License: 3-clause BSD license
See https://github.com/felipedaragon/sandcat/ for details.
}
interface
{$I Catarinka.inc}
uses
{$IFDEF DXE2_OR_UP}
System.SysUtils, System.Classes, Vcl.Controls, Vcl.ComCtrls, Vcl.Menus,
{... |
unit tree_h;
interface
uses Forms, Controls, IBDatabase, kernel_h;
type
TGroupTreeNode = record // Містить дані про окрему гілку
id: integer;
prew_id: integer;
code: integer;
name: string;
maker_id: integer;
maker_name: string;
end;
PTGroupTreeNode = ^TGroupTreeNode;
T... |
unit ClassesRTTI;
interface
uses
classes, dbtables, Controls, TypInfo, IBQuery, IBStoredProc;
{$M+}
type
TModelClass = class of CModel;
prkyInteger = type Integer; // Primary Key Type
String15 = string[15];
String30 = string[30];
String50 = string[50];
CModel = class(TPersistent)
private
... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit Nathan.Tuple;
interface
uses
System.Rtti;
type
{$REGION 'Inspired by the following templates'}
{
https://msdn.microsoft.com/de-de/library/system.tuple(v=vs.110).aspx
https://github.com/malcolmgroves/generics.tuples/blob/master/src/tests/Generics.Tuples.Test.pas
https://msdn.micro... |
unit Service.Init;
interface
uses
Base.Objects,
Service,
Service.Init.Charge;
type
IInitiator = interface(IService)
['{93AE321C-FAE2-401F-8FB9-567859202D74}']
function Fill(Charge: ICharge): IInitiator; overload;
function Fill(Charge: array of ICharge): IInitiator; overload;
funct... |
unit GUI.Timeline;
interface
uses
Winapi.Windows, Winapi.Messages,
System.Types, System.SysUtils, System.Variants, System.Classes, System.Math, System.UITypes,
Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls;
type
PTimelineItem = ^TTimelineItem;
TTimelineItem = record
ID: Integer;
... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit Main;
interface
uses
System.SysUtils,
system.AnsiStrings,
System.Types,
System.UITypes,
System.Classes,
System.Variants,
system.Messaging,
FMX.Types,
FMX.Controls,
FMX.Forms,
FMX.Graphics,
FMX.DialogService,
FMX.Dialogs,
FMX.ScrollBox,
FMX.Memo,
FMX.Controls.Pr... |
unit PaidTypeTest;
interface
uses dbTest, dbObjectTest, TestFramework, ObjectTest;
type
TPaidTypeTest = class (TdbObjectTestNew)
published
procedure ProcedureLoad; override;
procedure Test; override;
end;
TPaidType = class(TObjectTest)
function InsertDefault: integer; override;
procedure SetData... |
{*******************************************************************************
This file is part of the Open Chemera Library.
This work is public domain (see README.TXT).
********************************************************************************
Author: Ludwig Krippahl
Date: 1.7.2011
Purpose:
BiGGER ma... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit OtherOutlines;
interface
uses Outlines, Painter, Types;
// ***************************************
// TveBreakOutline breaks a track
// ***************************************
type TveBreakOutline = class(TveOutline)
constructor Create; override;
procedure Paint( Item : TveBoardItem... |
unit Horse.Migration4D;
interface
uses Horse,
System.Generics.Defaults,
System.Generics.Collections,
UnitMigration4D.Interfaces;
type
{$SCOPEDENUMS ON}
TCommand = (Run, Revert);
{$SCOPEDENUMS OFF}
TMiddlewareMigration = class
public
procedure Run(Driver: iDriver);
procedure Revert(Driver: iDrive... |
unit bom_to_pl;
{
* 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, THE... |
{
Se cuenta con un archivo que almacena información sobre especies de aves en vía de extinción,
* para ello se almacena: código, nombre de la especie, familia de ave, descripción y zona geográfica.
* El archivo no está ordenado por ningún criterio.
}
program generarArchivoEj7;
const
corte = ... |
program BZOJ3293;
uses math;
var
a,c:array[0..100001] of int64;
n,i,j,k:longint;
sum,avr,mid,ans:int64;
procedure quicksort(l,r:longint);
var
i,j:longint;
p,temp:int64;
begin
if l>=r then exit;
i:=l;j:=r;p:=c[random(r-l+1)+l];
repeat
while c[i]<p do inc(i);
while c[j]>p do dec(j);
if i<=... |
unit TCPServerPT;
{
PTserver slouzi k administraci hJOPserveru.
PTserver implementuje rozhrani definovane v
https://github.com/kmzbrnoI/hJOPserver/wiki/ptServer.
Jak to funguje?
- Pokud chces vytvorit vlastni endpoint, instanciuj TPTEndpoint do sve
odvizene tridy a zarad svou tridu do seznamu endpoin... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit ClassPropsEditController;
interface
uses
Classes, StdCtrls, SysUtils, tiObject, mapper, mvc_base, widget_controllers, AppModel,
ClassPropEditViewFrm, BaseOkCancelDialogController;
type
// -----------------------------------------------------------------
// Class Objects
// ---------------------------... |
PROGRAM OperatorPrecedencePparsing;
// Прототип этой программы создан еще в 1988 году
{$APPTYPE CONSOLE}
uses
SysUtils;
CONST
marker = '$';
blank = ' ';
max = 1000;
error_msg : array['1'..'4'] of string = (
'отсутствует операнд.',
'несбалансированная правая скобка.',
'отсутствует... |
unit uSettings;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, uTCPSockets, Laz2_XMLCfg;
type
{ TSettings }
TSettings = class
private
FVersion: Integer;
FFileName: String;
FConnectionList: TList;
FActiveIP: String;
FAutoConnect: Boolean;
FActiveConnection: TConnection;
FS... |
unit FormInTabs.Lib.Utils;
interface
uses
FMX.TabControl,
FMX.Types,
FMX.Forms,
FMX.MultiView,
FMX.Layouts,
FMX.StdCtrls,
System.SysUtils,
System.Classes;
type
TUtils = class
private
class var FActChangeTab: TChangeTabAction;
class procedure SetActChangeTab(const Value: TChangeTabAction)... |
{9. Имеется текстовый файл с некоторым описанием. Все
предложения заканчиваются точкой. Требуется проверить,
является ли первая буква каждого предложения прописной.
Исправить обнаруженные ошибки (6).Красильникова Ольга ПС-21}
PROGRAM DetermineRegister(INPUT, OUTPUT);
FUNCTION BigSymbol(VAR Ch: CH... |
unit Exemplo4_3;
interface
uses
System.Classes, System.SysUtils, Xml.XMLDoc, Xml.XMLIntf, System.Json,
Data.DBXJSONReflect, Exemplo4;
type
TFichaUsuarioJson = class(TFichaUsuario)
procedure Exportar(pArquivo: string); override;
end;
implementation
{ TFichaUsuarioJson }
procedure TFich... |
{******************************************************************************}
{ }
{ WiRL: RESTful Library for Delphi }
{ ... |
unit DBAppFormAlterarTipoColuna;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, DBAppTiposDeDados;
type
TFormAlterarTipoColuna = class(TForm)
Label1: TLabel;
Label2: TLabel... |
unit sha256;
interface
uses Windows, SysUtils;
// #define SHA256_CBLOCK (SHA_LBLOCK*4) /* SHA-256 treats input data as a
// * contiguous array of 32 bit
// * wide big-endian values. */
// #define SHA256_DIGEST_LENGTH ... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs,atmosphere_lib, StdCtrls, ExtCtrls, TeeProcs, TeEngine, Chart,
Series, Buttons;
type
TForm2 = class(TForm)
GroupBox1: TGroupBox;
Label1: TLabel;
lblAMFileName: TLabel;
Label2: TLabel;... |
unit OAuth2.Grant.AuthCode;
interface
uses
System.JSON,
System.Generics.Collections,
Web.HTTPApp,
OAuth2.Contract.CodeChallengeVerifier,
OAuth2.CodeChallengeVerifier.PlainVerifier,
OAuth2.CodeChallengeVerifier.S256Verifier,
OAuth2.Contract.Entity.Client,
OAuth2.Contract.Repository.AuthCode,
OAuth2.C... |
unit fJumpTo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, DanHexEdit, fBattleCity, BCData;
type
TfrmJumpTo = class(TForm)
lstPhases: TListBox;
cmdJump: TButton;
cmdCancel: TButton;
procedure FormShow(Sender: TObject);
procedur... |
unit MyUtils;
interface
uses
System.SysUtils, System.Classes, System.Types, System.Variants, System.StrUtils, System.Zip,
ShellAPI, Vcl.Forms, Windows, IOUtils, WinSvc,
MyArrays;
type
TStatusService = (csNotInstalled, csStopped, csStartPending, csStopPending, csRunning,
csContinuePending, csPausePending,... |
unit uspybeauty;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils;
function SpyGrouping(s: ansistring; pad: boolean = True): ansistring;
function ExtractNums(s: ansistring): ansistring;
function PadTo(s: string; p: integer): string;
implementation
function SpyGrouping(s: ansistring; pad: boolean = True): an... |
unit uFuncionarioController;
interface
uses
System.SysUtils, Data.DB, uFuncionario, FireDAC.Comp.Client, FireDAC.DApt,
uDmPrincipal;
type
TFuncionarioController = class
private
funcionario : TFuncionario;
function GetFuncionario(nome, cpf : string) : Integer;
public
function Save(dtSource : TDa... |
unit fTSA;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GR32_Image, GR32,GR32_Layers, BCData;
type
TfrmTSAEditor = class(TForm)
imgTSA: TImage32;
procedure FormShow(Sender: TObject);
procedure imgTSAMouseUp(Sender: TObject; Button: TMouseButton;... |
unit core_dynamic_object;
{$mode objfpc}{$H+}
interface
uses
Classes, VectorGeometry, core_renderable,
core_block_brush, dglOpenGL, core_types, core_material_library,
core_matrixStack,core_chunk;
type
//only because needs custom render proc..
{ TLimb }
TLimb = class (TRenderable)
mvp:tmatrix;
... |
unit Unit1;
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, FMX.Effects, FMX.Filter.Effects,
FMX.Objects, fmx.Filter, fmx.Types3D;
type
TForm1 = ... |
{$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... |
unit uCommands;
// Ths source is distributed under Apache 2.0
// Copyright (C) 2019-2020 Herbert M Sauro
// Author Contact Information:
// email: hsauro@gmail.com
// All console commands are hendled here
interface
Uses
{$IFDEF DEBUG}
FastMM4,
{$ENDIF}
Windows, Classes, SysUtils, StrUtils, Generics.Coll... |
unit RelatorioResumoVendasportipo;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, RelatorioTemplate, DBTables, Placemnt, DB, StdCtrls, Mask,
ToolEdit, RxLookup, ExtCtrls, Buttons, jpeg, ComCtrls, RxQuery, UCrpe32,
Grids, DBGrids, RXDBCtrl, AdvOfficeStatusBar... |
{***************************************************************************}
{ }
{ DUnitX }
{ }
{ ... |
unit Core;
interface
uses
forms,
messages,
classes,
sysutils,
windows,
System.Generics.Collections,
MapServer,
Config,
OsuTrackSpy,
FSChangeMonitor;
type
TOsuMap = class
private
FName: string;
FPath: string;
FIsInitialized: boolean;
FTitle: string;
F... |
unit Model.Entity.CADASTRO_DESPESAS;
interface
uses
System.Generics.Collections, System.Classes, Rest.Json, System.JSON, SimpleAttributes;
type
[Tabela('CADASTRO_DESPESAS')]
TCADASTRO_DESPESAS = class
private
FCODIGO: integer;
FDATA_ABASTECIMENTO: TDate;
FKM_ULTIMO_ABASTECIMENTO: real;
FKM_A... |
unit Unit_Main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
ComCtrls, ToolWin, ExtCtrls, TeEngine, Series, TeeProcs, Chart, mpiComplex;
type
TfrmMain = class(TForm)
ControlBar1: TControlBar;
ToolBar1: TToolBar;
tbExit: TToolButton;
tbInp... |
// ******************************************************************
//
// Program Name : $ProgramName$
// Platform(s) : $Platforms$
// Framework : VCL
//
// Filename : AT.$ShortName$.Vcl.Forms.Ribbon.MDIChild.pas/.dfm
// File Version : 1.00
// Date Created : $CreateDate$
// Author : Matthe... |
{**********************************************************************************}
{ }
{ Project vkDBF - dbf ntx clipper compatibility delphi component }
{ ... |
unit WVSelFieldNames;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, Buttons, CheckLst, ExtCtrls, WorkViews;
type
TdlgSelectFieldNames = class(TForm)
Panel1: TPanel;
lsFieldNames: TCheckListBox;
btnOK: TBitBtn;
btnCancel: TBitBtn;
private
... |
unit Unit1;
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, SuperObject;
type
TForm1 = class(TForm)
Memo1: TMemo;
TreeView1: TTreeView;
P... |
unit uFrmConfig;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TFrmConfig = class(TForm)
EdCaminhoBase: TEdit;
Label1: TLabel;
Button1: TButton;
OpenDialog1: TOpenDialog;
... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
{
Sobre o autor:
Guinther Pauli
Delphi Certified Professional - 3,5,6,7,2005,2006,Delphi Web,Kylix,XE
Microsoft Certified Professional - MCP,MCAD,MCSD.NET,MCTS,MCPD (C#, ASP.NET, Arquitetura)
Colaborador Editorial Revistas .net Magazine e ClubeDelphi
MVP (Most Valuable Professional) - Embarcadero Technologies - U... |
unit Certificates;
{ ------------------------------------------------------------------------------ }
interface
{ ------------------------------------------------------------------------------ }
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
ComCtrls,
Dialogs, StdCtrls, ExtCtr... |
unit uMukaConsoleLogger;
interface
uses
//DUnitX.Loggers.Console,
//DUnitX.Loggers.Xml.NUnit,
DUnitX.TestFramework, Vcl.Dialogs;
type
TRefProcExecuteTest = reference to procedure(const threadId: TThreadID; const Test: ITestInfo);
TRefProcLog = reference to procedure(const logType : TLogLevel; ... |
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 DUVideo;
interface
uses
SysUtils, Windows, Classes, Graphics, Controls, VFW, mmsystem;
type
TVideoFrame = class;
TFrameStreamEvent = procedure (Frame: TVideoFrame) of object;
TVideoFrame = class
private
FDib: PBitmapInfoHeader;
FBits: Pointer;
procedure SetDIB(const Value: PBitmapInfoH... |
{****************************************************}
{ }
{ firemonkey-external-file-viewer }
{ }
{ Copyright (C) 2018 Code Partners Pty Ltd }
{ ... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit UGSELogin;
//the unit reads and writes the current user's login from and to amcportals.dat file under Preferences folder
//the file structure: section AMC Portal name, see UGSEUploadXML constants; key current user's serial number
// value: encrypted string '1=' + userID + ',' + '2=' + userpassword,.. see constant... |
unit ksTableViewTest;
interface
uses
DUnitX.TestFramework,
ksTypes,
ksCommon,
ksTableView;
type
[TestFixture]
TksTableViewTest = class(TObject)
private
FTableView: TksTableView;
FEventFired: Boolean;
procedure Add100Items;
procedure SearchFilterChanged(Sender: TObject; ASearchText: st... |
unit TelegAPI.Receiver.Service;
interface
uses
TelegAPI.Receiver.Base,
System.Classes,
TelegAPI.Types;
type
TtgOnUpdate = procedure(ASender: TObject; AUpdate: ItgUpdate) of object;
TtgOnUpdates = procedure(ASender: TObject; AUpdates: TArray<ItgUpdate>) of object;
TtgOnMessage = procedure(ASender: TObje... |
{ @abstract(This file is part of the KControls component suite for Delphi and Lazarus.)
@author(Tomas Krysl)
Copyright (c) 2020 Tomas Krysl<BR><BR>
<B>License:</B><BR>
This code is licensed under BSD 3-Clause Clear License, see file License.txt or https://spdx.org/licenses/BSD-3-Clause-Clear.html.
}
... |
unit Model.Crud.Cliente;
interface
uses Model.Crud.interfaces,
Model.Entities.Cliente,
Model.Components.Connections,
Model.Components.Connections.interfaces, Data.DB;
type
TModelCrudCliente = class(TInterfacedObject,IModelCrudGeneric<TModelEntitiesCliente>)
private
FEntity:TModelEntitiesCliente;
F... |
unit SimThyrPrediction;
{ 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 implements a window showing p... |
unit ufrmGroupCodeNameSettings2;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes,
System.Types, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls;
type
TfrmGroupCodeNameSettings2 = class(TForm)
lblLine: TLabel;
edtGroupNumber3: TEdit;
... |
{*******************************************************}
{ }
{ Delphi FireMonkey Platform }
{ }
{ Copyright(c) 2011-2013 Embarcadero Technologies, Inc. }
{ ... |
{
ID:because3
PROG:butter
LANG:PASCAL
}
program butter;
const maxp=800;
type date=record
nm,dis:longint;
end;
var w,point:array [1..maxp] of longint;
g:array [1..maxp,0..maxp-1] of longint;
s:array [1..maxp,1..maxp] of longint;
ans,n,p,c,i,x,y,z,min,size:longint;
h:array [1..maxp] of ... |
unit StrArraySetUnit;
{$mode objfpc}{$H+}
interface
uses
SysUtils, Classes, MUI,
MUIClass.Base, MUIClass.Area, MUIClass.Window, MUIClass.Group,
MUIClass.Gadget, MUIClass.Image, MUIClass.List, MUIClass.Numeric,
MainWinUnit,
NodeTreeUnit, IDETypes;
type
TStrArrayWin = class(TMUIWindow)
private
Edit: T... |
unit DialogGoodsSeparate;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, AncestorDialogScale, StdCtrls, Mask, Buttons,
ExtCtrls, cxGraphics, cxLookAndFeels, cxLookAndFeelPainters, Vcl.Menus,
dxSkinsCore, dxSkinsDefaultPainters, cxControls, cxContainer, cxEdi... |
unit xylophone_lib;
interface
function ask(s, t: longint): longint;
procedure answer(i, a: longint);
implementation
uses xylophone;
const
QUERY_LIMIT: longint = 10000;
function readLongint(): longint;
begin
if eof then begin
writeln(stderr, 'Error while reading input.');
halt(1);
end;
{$I-}
read... |
unit fmExceptionLauncher;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
const
WM_THREAD_EXCEPTION = WM_USER + 1;
WM_SHOW_EXCEPTION = WM_USER + 2;
type
TfExceptionLauncher = class(TForm)
private
FExMsg: string;
procedure OnThreadException(var M... |
unit UzLogGlobal;
interface
uses
System.SysUtils, System.Classes, StrUtils, IniFiles, Forms, Windows, Menus,
System.Math, Vcl.Graphics, UzLogConst;
type
TdmZLogGlobal = class(TDataModule)
procedure DataModuleCreate(Sender: TObject);
procedure DataModuleDestroy(Sender: TObject);
private
{ Private... |
unit StockMZ2FacReader;
interface
uses
Classes, SysUtils, ComObj, CommUtils, KeyICItemSupplyReader;
type
TStockMZ2FacReader = class
private
FFile: string;
ExcelApp, WorkBook: Variant;
procedure Log(const str: string);
protected
procedure Open; virtual; abstract;
public
FList: TStringLis... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://carme/secure/ws/awsi/PartnerBuildFaxReportServer.php?wsdl
// >Import : http://carme/secure/ws/awsi/PartnerBuildFaxR... |
unit uBaixaAutomatica;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DBCtrls, StdCtrls, Grids, DBGrids, CheckLst, ComCtrls, DB, ZAbstractRODataset, ZAbstractDataset, ZDataset, kbmMemTable, JvExControls,
JvXPCore, JvXPButtons, ExtCtrls, uFuncoesGeral, QRCtrls,... |
program GradeBook(Input, Output);
uses wincrt;
const MAX = 2;{Students}
ASSIGNMENTS = 2;
type StringArray = Array[1..MAX] of String;
GradeArray = Array[1..ASSIGNMENTS] of integer;
AssignmentArray = Array[1..MAX, 1..ASSIGNMENTS] of real;
AverageArray = Array[1..MAX] of real;
var Name ... |
unit Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.DateUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.Buttons, IdMessage,
IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdExplicitTLSClientServerBase, Id... |
unit sha1;
interface
uses Windows, SysUtils;
// #define SHA_LONG unsigned int
//
// #define SHA_LBLOCK 16
// #define SHA_CBLOCK (SHA_LBLOCK*4) /* SHA treats input data as a
// * contiguous array of 32 bit
// * wide big-endian values. */
// #define SHA_LAST_BLOCK (SHA_CBLOCK-8)
// #define SHA_DIGEST_LENG... |
{ ------------------------------------------------------------------------------
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/MP... |
unit ApplicationServiceRegistries;
interface
uses
ApplicationServiceRegistry;
type
IApplicationServiceRegistries = interface
procedure Clear;
procedure RegisterApplicationServiceRegistry(
ApplicationServiceRegistryTypeInfo: Pointer;
ApplicationServiceRegistry: IApplicationServiceReg... |
unit DataModulo;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
VarSYS, DataModuloTemplate, Db, DBTables, RxQuery, DBLists;
type
TDM = class(TDMTemplate)
SQLUsuarios: TRxQuery;
SQLUsuariosUSUAICOD: TIntegerField;
SQLUsuariosUSUAA60LOGIN: TStringField;
S... |
unit PLookupCombox;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
stdctrls, dbtables, extctrls, RxCtrls, dbctrls, db, SelectDlg, PLabelPanel,
buttons, LookupControls;
type
TPLookupCombox = class(TPLookupControl)
private
{ Private declarations }
... |
unit AT.ShortName.Vcl.Frames.Generic.Base;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
cxGraphics, cxControls, cxLookAndFeels, cxLookAndFeelPainters,
dxSkinsCore, dxSkinBlueprint, dxSkinCaramel, dxSkinCof... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.