text stringlengths 14 6.51M |
|---|
{* ***** BEGIN LICENSE BLOCK *****
Copyright 2009, 2010 Sean B. Durkin
This file is part of TurboPower LockBox 3. TurboPower LockBox 3 is free
software being offered under a dual licensing scheme: LGPL3 or MPL1.1.
The contents of this file are subject to the Mozilla Public License (MPL)
Version 1.1 (the "License... |
unit u_iniconf;
interface
uses
Classes, SysUtils, IniFiles, Forms, Windows;
const
type
TIniOptions = class(TObject)
private
public
procedure LoadSettings(Ini: TIniFile);
procedure SaveSettings(Ini: TIniFile);
procedure LoadFromFile(const FileName: string);
procedure SaveToFile(const Fil... |
unit MainUnitServer;
{
Article:
ScreenThief - stealing screen shots over the Network
http://delphi.about.com/library/weekly/aa012004a.htm
A free network screen shot grabber application,
with source code. Learn how to send / receive raw (binary)
data (screen shot JPG images) using TCP connections.
Scre... |
unit CustomReceipt;
interface
uses
// This
ReceiptPrinter, OposException, PrinterParameters, Opos, OposFptr,
FiscalPrinterDevice, FiscalPrinterTypes, FiscalPrinterState,
PrinterTypes, EscFilter, TextItem, LogFile, MalinaParams, gnugettext,
MathUtils;
type
{ TReceiptContext }
TReceiptContext = record
... |
unit EsWinHTMLHelpViewer;
interface
{$IFDEF MSWINDOWS}
uses System.Types, FMX.Controls, FMX.Forms;
function SetHTMLHelpFile(PathAndFilename: string): boolean;
function ShowHTMLHelpContents : boolean;
function ShowHTMLHelp : boolean;
function ShowFocusedFormHTMLHelp(AForm: TCommonCustomForm) : boolean;
f... |
Unit ZipMsg;
(* Built by ZipResMaker
DO NOT MODIFY
ZipMsg.pas - Message Identifiers
TZipMaster VCL by Chris Vleghert and Eric W. Engler
v1.79
Copyright (C) 2005 Russell Peters
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publi... |
unit cBase;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, IniFiles, cxStyles, cxCustomData, cxGraphics, cxFilter, cxData, StdCtrls,
cxEdit, DB, DBTables, cxDBData, cxGridLevel, cxClasses, cxControls, cxGridCustomView,
cxGridCustomTableView, cxGridTableView,... |
unit Tests.Collections.Stacks;
interface
uses
DUnitX.TestFramework,
Tests.Collections.Base,
Neslib.Collections;
type
TTestStack<T> = class(TTestCollectionBase<T>)
private
FCUT: TStack<T>;
FValues: TArray<T>;
procedure FillStack;
procedure CheckItems(const AExpected: TArray<T>);
public
... |
unit neato.XV.GetMotors;
interface
uses fmx.dialogs, classes, sysutils, neato.Commands, neato.errors;
const
sDescription = 'Get the diagnostic data for the motors';
sGetMotors = 'GetMotors';
sParameter = 'Parameter';
sValue = 'Value';
sBrush_RPM = 'Brush_RPM';
sBrush_mA = 'Brush_mA';
sVacuum_RPM = ... |
Program EchoBug(input, output);
{Reads and echoes text input, but mishandles the end-of-line.}
Var
Ch : char;
Begin
writeln('Types in a few lines for me to echo.');
While Not eof Do
Begin {eof means end-of-file. It's unpronunceable.}
read(Ch); {Read one character.}
write(Ch); {... |
//
// Dragon
// A game for Windows based on a modified and improved version of the
// DelphiDoom engine
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 2004-2022 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Genera... |
unit uPesquisaPadrao;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Buttons, StdCtrls, DB, DBClient, Grids, DBGrids;
type
TListFields = record
Caption : string;
FieldName : string;
Retorno : Boolean;
Width : Integer;
Tip... |
{$M+}
unit PanamahSDK.MiscTypes;
interface
uses
Classes, SysUtils, PanamahSDK.Types, PanamahSDK.Models.Loja, PanamahSDK.Enums, Variants, uLkJSON;
type
IPanamahKeyResponse = interface(IJSONSerializable)
['{20D1BDAA-93B3-4428-833A-62C438EE8C74}']
function GetChave: string;
procedure SetChave(const ACh... |
unit SMController.Empresas;
interface
uses
System.SysUtils, System.Classes, System.Json, UServices.interf,
UServices.Empresas,
Datasnap.DSServer, Datasnap.DSAuth, Datasnap.DSProviderDataModuleAdapter;
type
{$METHODINFO ON}
TsmEmpresas = class(TDSServerModule)
private
ServicesEmpresas: TServicesEmpresas... |
program OrdeVectores;
Const
dimF = 6;
Type
vectornum = array [1..dimF] of integer;
Procedure CrearVector ( var vnum: vectornum; var dimL: integer );
var dato ,i: integer;
begin
randomize;
dato:=random(100);
for i:= 1 to dimF do begin
vnum [i] := dato;
dato:=random(100);
... |
unit ODataNorthwindClient;
interface
uses
SvHTTP.Attributes
,SvHTTPClientInterface
,SvREST.Client
,SvContainers
;
type
TCustomer = class
private
FCustomerId: string;
FCompanyName: string;
FContactName: string;
FContactTitle: string;
FAddress: string;
FCity: ... |
////////////////////////////////////////////////////////////////////////////////
//
// ShareIt keygen example
//
// ShareIt SDK : SDK 3 File Revision 3
// Version : PELock v2.0
// Language : Delphi/Pascal
// Author : Bartosz Wójcik (support@pelock.com)
// Web page : https://www.pelock.com
... |
(*
* Pascal LSP Client
*
* Usage allowed under the restrictions of the Lesser GNU General Public License
* or alternatively the restrictions of the Mozilla Public License 1.1
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, eith... |
(*
Crossroads I/O bindings for Delphi Pascal
Version 1.0.1
Mihaela Mihaljevic Jakic
mihaela@token.hr
http://mihaelamj.com
GitHub repo:
https://github.com/mihaelamj/pasxs
Fork of the ZeroMQ Pascal bindings (https://github.com/colinj/paszmq)
*)
(* Constants and helpers for libxs_... |
unit EditWeekReport;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, StdCtrls, Spin, Buttons, ExtCtrls, ADODB,
HolderEdits;
type
TfrmEditWeekReport = class(TForm)
Label2: TLabel;
Label6: TLabel;
Panel3: TPanel;
Panel1: TPanel;
... |
unit FiscalReceiptPrinter;
interface
uses
// VCL
Windows, Classes,
// This
ReceiptPrinter, FiscalPrinterDevice, PrinterParameters, StringUtils,
PrinterTypes, DeviceTables, MathUtils;
type
{ TFiscalReceiptPrinter }
TFiscalReceiptPrinter = class(TReceiptPrinter, IReceiptPrinter)
private
function G... |
{
SR1. <адрес> ::= <список идентификаторов>@<список идентификаторов>
SR2. <список идентификаторов> ::= <идентификатор> | <идентификатор>.<список идентификаторов>
SR3. <идентификатор> ::= <буква> | <цифра> | <цифра><идентификатор> | <буква><идентификатор>
SR4. <буква> := A | B | C | D | E | F | G | H | I | J | K | L | ... |
unit frm_format_chooser;
{
Copyright (c) 2001-2021, 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 s... |
unit f1;
interface
uses typetubes2018;
procedure load (var arrMentah : tabMentah; var arrOlahan : tabOlahan; var arrInvMentah: inventoriMentah; var arrInvOlahan: inventoriOlahan;
var arrResep: inventoriResep; var arrSimulasi: inventoriSimulasi);
{I.S. mengakses data dari file eksternal
F.S. memas... |
{
Script generates copies of selected WEAP/ARMO records for each record selected, adds enchantment, alters new records value, and adds sensible names
All enchanted versions will have it's propper Temper COBJ records as well.
Also, each selected WEAP/ARMO record will be added to a leveled list automatically
... |
(*******************************************************************************
* Library "MPLCCommunication_Addins" for MOVI-PLC (R)
********************************************************************************
* Provides function blocks for MOVI-PLC (R)
* (c) 2009 by Cristian Adamo
***************... |
{
This software is distributed under GPL
in the hope that it will be useful, but WITHOUT ANY WARRANTY;
without even the warranty of FITNESS FOR A PARTICULAR PURPOSE.
@abstract(Contains interface defining callback methods to notify client adout
computation progress.)
@author(Dmitry Morozov dvmorozov@hotmail.co... |
unit ItemFolhaPagamentoEntidade;
interface
type
TItemFolhaPagamentoEntidade = class
private
FCodigo: integer;
FCodigo_Propriedade: integer;
FCodigo_Usuario: integer;
FDescricao: AnsiString;
FTipo: AnsiString;
FData_Cadastro: TDateTime;
procedure SetCodigo(const Value: in... |
unit RestRequest.IOAuth2Configuration;
interface
uses
System.Generics.Collections, IdHTTPServer;
type
IOAuth2Configuration = interface
['{8330A671-5F1B-4B2B-9A04-17A205A97EFB}']
function SetClientId(const AValue: string): IOAuth2Configuration;
function SetClientSecret(const AValue: string): IOAuth2Co... |
unit Lab7;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons;
type
TForm1 = class(TForm)
LB1: TListBox;
BB1: TBitBtn;
LAB1: TLabel;
ED1: TEdit;
procedure FormCreate(Sender: TObject);
procedure ED1Click(Sender: TObject);
... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit Test.Autofixture.Setup;
interface
uses AutoFixture,
DUnitX.TestFramework,
Generics.Collections,
Test.AutoFixture.Types,
System.Classes;
type
[TestFixture]
TAutofixtureSetupTest = class
private
UUT: TAutoFixture;
public
[SetUp]
procedure Setup;
[TearDown]
procedure TearDown;
[Test]... |
unit searchthread;
interface
uses
main, folderinfo,
Classes, SysUtils, ComCtrls, Windows;
type
TSearchThread = class(TThread)
private
fRootFolder: string;
fParentNode: TTreeNode;
fFolderInfo: TFolderInfo;
fSelfNode: TTreeNode;
protected
procedure Execute; override;
pu... |
unit frmMainView;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, System.Actions, Vcl.ActnList,
Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, cCellularAutomata, Vcl.ComCtrls;
type
TForm1 = class(TForm)
Image:... |
unit awkmedia;
interface
const
MAX_MUSIC_GENRES = 148;
Genres:array [0..MAX_MUSIC_GENRES-1] of PAnsiChar = (
{000} 'Blues',
{001} 'Classic Rock',
{002} 'Country',
{003} 'Dance',
{004} 'Disco',
{005} 'Funk',
{006} 'Grunge',
{007} 'Hip-Hop',
{008} 'Jazz',
{009} 'Metal',
{010} 'New Age',
{011} 'O... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://ws.correios.com.br/calculador/CalcPrecoPrazo.asmx?WSDL
// >Import : http://ws.correios.com.br/calculador/CalcPrecoP... |
unit RequiredRole.Attribute;
interface
uses
Aspect.Core;
type
RequiredRoleAttribute = class(AspectAttribute)
private
fRole: string;
protected
{ protected declarations }
public
constructor Create(const role: string);
property Role: string read fRole;
end;
implementation
{ RequiredRole... |
{ Shell helper routines to create Start Menu and Desktop shortcuts. }
{ (C) Copyright 2001, Tramontana Co. Released into the public domain. }
{ 2003.01.27: renamed WinShell to remember that it is windows specific by Pierre Muller }
{ 2003.01.28: IShellLinkDataList support added by Pierre Muller }
unit WinShell;
inter... |
{ }
{ Sqlite Encrypter v1.0 }
{ Main Form }
{ }
{ MIT Licence }
{ by Greg Bayes, }
{ ... |
unit HLVM.Types.AoT;
interface
{ Ahead of Time compiled for HLVM_ASM bytecode to increase speed of execution }
uses
HLVM.Types.Ordinal,
HLVM.Types.Containers,
HLVM.Static.Command,
HLVM.Runtime.Hashes,
HLVM.Generics.Collections,
System.SysUtils,
System.Hash;
type
THLVM_AoTNumerationFunction = functio... |
{
This file is part of the Free Pascal Integrated Development Environment
Copyright (c) 1998 by Berczi Gabor
Code Template routines
See the file COPYING.FPC, included in this distribution,
for details about the copyright.
This program is distributed in the hope that it will be useful,
but... |
unit UGenSearch;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, Buttons, Grids, DBGrids,UOSFVisuals, DB,
DBAccess , Uni, MemDS;
type
TGenSearch = class(TForm)
DBGrid1: TDBGrid;
Panel1: TPanel;
BClose: TBitBtn;
PSearch: ... |
{-------------------------------------------------------------------------------
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/
Software... |
unit unConsultarAPI;
interface
uses unDados, System.JSON, System.SysUtils,
System.JSON.Readers, System.Classes, System.UITypes, Dialogs,
System.DateUtils;
type
TDadosRegiao = record
nome: string;
porcentagem: string;
quantidade: integer;
end;
type
TConsultarAPI = class
private
fDMDados: ... |
program TP_carre_magique (output);
uses crt;
const
DebutI=1; //Min de I
DebutJ=1; //Min de J
FinI=5; //Max de I
FinJ=5; //Max de J
type
Tableau=Array[DebutI..FinI,DebutJ..FinJ] of integer;
procedure InitTabCarre (var TabCarre:Tableau; i,j:integer);
begin
//In... |
(*
NAME: PAS_TEST.PAS
DESCRIPTION: This program tests the use of C-- OBJ files with Borland
Pascal. Besure to compile OBJTEST.C-- to an OBJ file
before attempting to build this program.
This program demonstrates interfacing of both procedures
... |
unit uMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, uWebSocket;
type
TfrmServer = class(TForm)
btnBroadcast: TButton;
mmoMessages: TMemo;
edtBroadcastMsg: TEdit;
procedure FormDestroy(Sender: TObject);
proced... |
unit TBGElasticSearch;
interface
uses
TBGElasticSearch.Search.Interfaces,
Data.DB, TBGElasticSearch.Index.Interfaces;
type
TTBGElasticSearch = class(TInterfacedObject, iTBGElasticSearch)
private
//FSearch : iElasticSearch;
FHost : String;
FPort : Integer;
FIndex : String;
FTyp... |
{******************************************************************************}
{ }
{ Indy (Internet Direct) - Internet Protocols Simplified }
{ ... |
unit CFilterDetailFrameUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, CBaseFrameUnit, Menus, ImgList, PngImageList, VirtualTrees,
ExtCtrls, CImageListsUnit, CDatabase, CDataObjects, CConsts, StdCtrls,
CComponents, Buttons, StrUtils;
type
TFilterDeta... |
unit unt_Biokey;
interface
uses
ZKFPEngXControl_TLB, Classes, SysUtils, DB;
Type
TMatchType = Integer;
const
NULL = 0;
ENROLL = 1;
VERIFY = 2;
IDENTIFY = 3;
Type
TBiokey = class(TComponent)
procedure ZKEngineCapture(ASender: TObject; ActionResult: WordBool; ATemplate: ... |
unit usage_stats;
{
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 sour... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit uDep;
interface
uses
Windows;
type
DepEnforcement = (DEP_DISABLED, DEP_ENABLED, DEP_ENABLED_ATL7_COMPAT);
function SetCurrentProcessDEP(enforcement: DepEnforcement): Boolean;
implementation
const
PROCESS_DEP_ENABLE:DWORD = $00000001;
PROCESS_DEP_DISABLE_ATL_THUNK_EMULATION:DWORD = $00000002;
MEM_EX... |
unit ueditform;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, sqldb, FileUtil, Forms, Controls, Graphics, Dialogs,
ExtCtrls, DBCtrls, metadata, querycreate, Uedit, Buttons, DBComponentCreate;
const
Size = 60;
type
{ TEditForm }
TEditForm = class(TForm)
DragAndDrop: TBitBtn;
DragBtn: TBi... |
unit uExtended_fphttpapp;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, fphttpapp, INIFiles, md5;
type
TUserPwdItem = object
UserName : string;
Password : string;
Admin : boolean;
end;
var
jwt_password : string;
jwt_timeout : integer... |
unit GBakimMalzeme;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, GSablon, cxGraphics, cxGridCustomPopupMenu, cxGridPopupMenu,
Menus, cxEditRepositoryItems, cxEdit, cxPropertiesStore, cxStyles,
cxContainer, DB, ADODB, ImgList, dxBar, dxBarExtItems,
cxChe... |
unit clsClientesObj;
interface
type
TClientesObj = class(TObject)
private
FId: integer;
FNome: string;
procedure SetId(const Value: integer);
procedure SetNome(const Value: string);
public
property Id: integer read FId write SetId;
property Nome: string read... |
unit ChequeEntidade;
interface
type
TChequeEntidade = class
private
FCodigo: integer;
FCodigo_Propriedade: integer;
FCodigo_Usuario: integer;
FEmitente: AnsiString;
FRecebido_De: AnsiString;
FEnviado_A: AnsiString;
FAgencia: AnsiString;
FCodigo_Conta: integer;
... |
{******************************************************************************}
{ }
{ Delphi JOSE Library }
{ Copyright (c) 2015-2021 Paolo Rossi ... |
unit MoveBallForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects;
type
TfrmMoveBall = class(TForm)
Timer1: TTimer;
Circle1: TCircle;
procedure Timer1Timer(Sender: TObject);
... |
unit Model;
interface
uses SysUtils, Default, SDK, Math, MathLib;
procedure Mod_Init;
procedure CM_DecompressPVS(Src, Dst: PByte; Size: UInt);
function CM_LeafPVS(Index: UInt): Pointer;
function CM_LeafPAS(Index: UInt): Pointer;
procedure CM_FreePAS;
procedure CM_CalcPAS(const Model: TModel);
function CM_HeadnodeVi... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit App.Context;
interface
uses
System.SysUtils,
System.Classes,
System.IOUtils,
Aspect,
Aspect.Context;
function LoggingFile: TStringList;
function AspectContext: IAspectContext;
implementation
uses
Logging.Aspect;
const
LoggingFileName = 'Logging.log';
var
LoggingFileInstance: TStringList;... |
// ###################################################################
// #### This file is part of the mrimageutils project, depends on
// #### the mathematics library project and is
// #### offered under the licence agreement described on
// #### http://www.mrsoft.org/
// ####
// #### Copyright:(c) 2012, Michael R. ... |
//
// Dragon
// A game for Windows based on a modified and improved version of the
// DelphiDoom engine
//
// Copyright (C) 1993-1996 by id Software, Inc.
// Copyright (C) 2004-2022 by Jim Valavanis
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU Genera... |
unit RecItem;
interface
Uses
// VCL
Classes,
// This
PrinterTypes;
type
TRecItem = class;
{ TRecItems }
TRecItems = class
private
FList: TList;
function GetCount: Integer;
function GetItem(Index: Integer): TRecItem;
procedure InsertItem(AItem: TRecItem);
procedure RemoveItem(AIt... |
// ------------------------------------- //
// ClassesMy by Yoti, Copyright (c) 2019 //
// ------------------------------------- //
unit ClassesMy;
interface
uses
Classes, // TStream
SysUtils; // fmOpenWrite, fmShareExclusive, fmShareDenyWrite
procedure AddFileToStream(const FileName: String; const Stream: TMem... |
program Vassilyev1_3_3_3;
type
func = function (x: real):real;
const
EPS1 = 1e-6;
EPS = 1e-3;
DERIVATIVE_EPS = 1e-4;
LEFT_MARGIN = 0.1;
RIGHT_MARGIN = 4;
N_BASE_INTEGRAL = 30;
DERIVATIVE_DELTA_BASE = 1;
var
roots: ar... |
{ Copyright (C) 2003 Mattias Gaertner
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; either version 2 of the License, or (at your
option) any later version.
This program is distri... |
{******************************************************************************}
{ }
{ Shell GUID definitions API interface Unit for Object Pascal }
{ ... |
{*******************************************************************************
* Genesis Device Engine *
* Copyright © 2007-2015 Luuk van Venrooij *
* http://www.luukvanvenrooij.nl ... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
{*******************************************************}
{ }
{ Controlador de Conexão }
{ e Manipulador de Dados }
{*******************************************************}
unit UDataControl;
i... |
unit Forms.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, AdvUtil, Vcl.Grids, AdvObj, BaseGrid,
AdvGrid, Vcl.BaseImageCollection, AdvTypes, System.ImageList, Vcl.ImgList,
Vcl.VirtualImageList, AdvGlowB... |
unit Telegraph.Api;
interface
uses
System.Generics.Collections,
System.Rtti,
Telegraph.Classes,
Telega.Api.Core;
Type
TTelegraphAPI = Class(TTelegaCore)
private
Function tphFieldsToString(tphFields: TtphFields): String;
protected
Function ApiUrl: String; override;
public
/// <summary>
... |
unit SoccerTests.VotingCondorcetTests;
interface
uses
System.SysUtils,
System.Generics.Collections,
DUnitX.TestFramework,
Soccer.Preferences,
Soccer.Rule.Abstract,
Soccer.VotingRules.Condorcet;
type
[TestFixture]
TVotingCondorcetTests = class(TObject)
public
[Test]
procedure FullTest;
... |
Function NextWork (Today: DayTYPE): WEEKday;
{Represents the first working day to follow Today.}
Const
FIRSTworkDay = Monday;
LASTworkDay = Friday;
Begin
If (Today >= FIRSTworkDay) And (Today < LASTworkDay) Then
Begin
Today := succ(Today); {Increment Today.}
NextWork := Today;
End
Els... |
property StringValue : String read GetStringValue write SetStringValue;
function isPrimitive : boolean; override;
function hasPrimitiveValue : boolean; override;
function primitiveValue : string; override;
function setProperty(propName: string; propValue: TFHIRObject) : TFHIRObject; override;
fu... |
PROGRAM InsertSort2(INPUT, OUTPUT);
TYPE
NodePtr = ^Node;
Node = RECORD
Next: NodePtr;
Key: CHAR;
END;
VAR
FirstPtr, NewPtr, Curr, Prev: NodePtr;
PROCEDURE Print(VAR FirstPtr: NodePtr);
BEGIN
NewPtr := FirstPtr;
WHILE NewPtr <> NIL
DO
BEGIN
WRITE(OUTPUT, NewPtr^.Key);... |
unit ufmListaResultados;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ComCtrls;
type
TfmListaResultados = class(TForm)
btAceptar: TButton;
btCancelar: TButton;
tvListaResultados: TTreeView;
procedure tvListaResultadosChanging(Sende... |
unit LA.Net.Intercept.Tcp;
interface
uses
Classes, SysUtils,
IdGlobal, IdIntercept, IdCompressionIntercept, IdBlockCipherIntercept,
DCPcrypt2, DCPblowfish, DCPsha1;
type
TLATCPBlockCipherIntercept = class(TIdBlockCipherIntercept)
private
FOnDecrypt: TIdInterceptStreamEvent;
FOnEncrypt: TIdInterce... |
(* Oz.Wasm: A fast Delphi WebAssembly interpreter
* Copyright (c) 2021 Tomsk, Marat Shaimardanov
* SPDX-License-Identifier: (GPL-3.0-or-later OR Apache-2.0)
*)
unit Oz.Wasm.ParseExpression;
interface
uses
System.SysUtils, System.Math,
Oz.Wasm.Value, Oz.Wasm.Utils, Oz.Wasm.Buffer, Oz.Wasm.Instruction,
Oz.Wasm... |
unit ExportGridToExcelPDF;
interface
uses DBGrids, Windows, Messages, SysUtils, VCL.FlexCel.Core, FlexCel.XlsAdapter,
Forms, FlexCel.Render, FlexCel.Pdf, ToolWin, IOUtils, Ora, Data.DB, Math, System.StrUtils,
Variants, Classes, Graphics, Controls, StdCtrls, CRGrid, ShellAPI, dialogs, System.DateUtils,
TimedMsg... |
{*******************************************************}
{ }
{ 基于HCView的电子病历程序 作者:荆通 }
{ }
{ 此代码仅做学习交流使用,不可用于商业目的,由此引发的 }
{ 后果请使用者承担,加入QQ群 649023932 来获取更多的技术 }
{ 交流。 ... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
{$M+}
unit PanamahSDK.Models.TituloPagar;
interface
uses
Classes, SysUtils, PanamahSDK.Types, PanamahSDK.Enums, Variants, uLkJSON;
type
IPanamahTituloPagarPagamento = interface(IPanamahModel)
['{081E65E7-7736-11E9-A131-EBAF8D88186A}']
function GetDataHora: TDateTime;
function GetValor: Double;
... |
{ program 6.3
matrix multiplication }
program matrixmul(input, output);
const m = 4; p = 3; n = 2;
var i : 1..m; j : 1..m; k : 1..p;
s : integer;
a : array[1..m,1..n] of integer;
b : array[1..p, 1..n] of integer;
c : array[1..m, 1..n] of integer;
begin { assign initial value t... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit MIXCPU;
interface
uses
MIXWord, MIXIndex;
type
TMIXComparison = (mcLESS, mcEQUAL, mcGREATER);
TMIXCPU = class
private
function GetRegisters(Index: Integer): TMIXWord;
public
A, X: TMIXWord;
I: array[1..6] of TMIXIndex;
J: TMIXIndex;
LC: TMIXIndex;
Overflow: Boolean;
Comparison: TMIXComparis... |
unit OposScale;
interface
uses
// VCL
SysUtils, Variants, ComObj, Forms,
// This
Opos, OposUtils, DebugUtils;
procedure FreeScale;
procedure Check(AResultCode: Integer);
function Scale: OleVariant;
implementation
procedure Check(AResultCode: Integer);
begin
if AResultCode <> OPOS_SUCCESS then
begin
... |
(******************************************************************************
PROYECTO FACTURACION ELECTRONICA
Copyright (C) 2010-2014 - Bambu Code SA de CV - Ing. Luis Carrasco
Este archivo pertenece al proyecto de codigo abierto de Bambu Code:
http://bambucode.com/codigoabierto
La licencia de este codigo fue... |
unit pnfsEnvLoteRpsResposta;
interface
uses
SysUtils, Classes,
pcnAuxiliar, pcnConversao, pcnLeitor, pnfsConversao, ACBrNFSeUtil;
type
TMsgRetornoEnvCollection = class;
TMsgRetornoEnvCollectionItem = class;
TInfRec = class
private
FNumeroLote: string;
FDataRecebimento: TDateTime;
... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
{ Subroutine REND_WIN_DEV_RECONFIG
*
* Check the device configuration and reconfigure the driver as necessary.
}
procedure rend_win_dev_reconfig;
type
reflut_t = array[0..0] of int16u_t; {LUT with values referencing another LUT}
reflut_p_t = ^reflut_t;
var
dx, dy: sys_int_machine_t; {current size... |
unit MIXWord;
interface
uses
Math, SysUtils, MIXExceptions;
type
TMIXWord = class; //Forward reference
TMIXWordChange = procedure(Word: TMIXWord) of object;
(**
* MIXWord encapsulates all of the byte-size specific code
* and field-level access to MIX words.
*)
TMIXWord = class
private
m_MIXBitValue:... |
{-----------------------------------------------------------------------------
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/MPL-1.1.html... |
unit uToolList;
interface
uses SysUtils, Classes, uExeList, uTools;
type
TQPToolList = class(TQPExeList)
private
function GetItem(Index: Integer): TQPTool;
procedure SetItem(Index: Integer; AObject: TQPTool);
Function GetItemByVar(Index : String) : TQPTool;
public
function last(): TQPTool;
... |
program ExampleCallback;
{$ifdef MSWINDOWS}{$apptype CONSOLE}{$endif}
{$ifdef FPC}{$mode OBJFPC}{$H+}{$endif}
uses
SysUtils, IPConnection, BrickletMoisture;
type
TExample = class
private
oIPConnection: TIPConnection;
oBricklet: TBrickletMoisture;
public
procedure MoistureCB(sender: TBrickletMoist... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.