text stringlengths 14 6.51M |
|---|
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit TestAStar64_core;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, Windows, AStar64.extra, Sy... |
unit AST.Targets;
interface
uses SysUtils;
type
TNPLAbstractTarget = class abstract
public
class function TargetName: string; virtual; abstract;
class function PointerSize: Integer; virtual; abstract;
class function NativeIntSize: Integer; virtual; abstract;
end;
TNPLTarget = class of TNPLAbstra... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2015 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as ... |
PROGRAM Prim;
FUNCTION IsPrime(number: INTEGER): BOOLEAN;
VAR
counter: INTEGER;
BEGIN
IF number = 2 THEN {* Schritt 1 *}
IsPrime := true
ELSE IF (number mod 2 = 0) OR (number <= 1) THEN {* Schritt 2 *}
IsPrime := false
ELSE BEGIN {* Schritt 3 *}
IsPrime := true;
counter := 3;
WHILE counte... |
unit ScrolBox;
{
Bombela
20/06/2004
20/06/2004
Petite ScrollBox limitÚe Ó 255 strings.
Le pointer DATA de la TStringList (Strings)
est la couleur du texte.
}
interface
uses CRT, TextList;
type TScrollBox = object
private
FCursorX, FCursorY: byte;
TopLine: byte;
... |
unit EQDBxlExport;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, db,
Variants, comobj, Clipbrd, DDEMan, DDEML, Math, TypInfo,
Grids, DBGrids;
const
CaptionSize = 1;
type
TXlsManagerKind = (xmkUnknown, xmkExel, xmkOpenOffice);
TExporter = class;
TExportEvent ... |
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm1 = class(TForm)
MaleLabel: TLabel;
FemaleLabel: TLabel;
NeutralLabel: TLabel;
MaleInfo: TLabel;
FemaleInfo: TLabel;
NeutralInfo: TLabel;
LanguageButton... |
unit Config;
interface
uses Winapi.Windows, Registry, SysUtils;
type
TConfig = class(TObject)
usi : string;
storeImages : boolean;
launchRustOnStartup : boolean;
launchRustOnStartupAndConnectToServer : boolean;
rustServerAddress : string;
closeStashPicOnRustClose : boolean;
serverAddre... |
{*******************************************************************************
* uFControl *
* *
* Библиотека компонентов для работы с формой редактирования (qFControls) ... |
unit TestUTemplateFcxVO;
interface
uses
TestFramework, SysUtils, Atributos, UCondominioVO, Generics.Collections, UGenericVO,
Classes, Constantes, UTemplateFcxVO;
type
TestTTemplateFcxVO = class(TTestCase)
strict private
FTemplateFcxVO: TTemplateFcxVO;
public
procedure SetUp; override;
proced... |
unit Test.Core.ObjectMapping.Address;
interface
{$M+}
uses
System.SysUtils,
DUnitX.TestFramework,
Test.Address.Classes,
Nathan.ObjectMapping.Core,
Nathan.ObjectMapping.Config;
type
[TestFixture]
TTestObjectMapping = class
private
FCut: INathanObjectMappingCore<IAddress, IAddressDTO>;
public
... |
namespace RemObjects.Elements.System;
interface
uses
java.util.concurrent,
java.util;
type
TaskState = enum(Created, Queued, Started, Done) of Integer;
Task = public class(Runnable)
assembly
fState: TaskState;
fException: Throwable;
fAsyncState: Object;
fDelegate: Object; //... |
unit uPubThreadQuery;
interface
uses
SysUtils, ZLib, Variants, ComObj, DB, Classes, ADODB, StrUtils, UntTIO,
Windows, Messages,Registry,Math,SConnect,DBClient,Forms,Controls,FrmCliDM,Pub_Fun;
type
TPubQueryThread=class(TThread)
protected
procedure Execute;override;
public
c... |
{
PC98 key testing program
Copyright (c) 2020 Adrian Siekierka
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 rights
to use, c... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2012 Alan Fletcher.
// You may use thius software in any way you want and contribute back to the
// author with any improvements you may have made to it.
// You are also allowed to use this software or part o... |
unit AStarBlitzCode;
//Degenerated from:
//A* Pathfinder by Patrick Lester. Used by permission.
//==================================================================
//Last updated 4/7/04
//http://www.policyalmanac.org/games/aStarTutorial.htm
//A* Pathfinding for Beginners
//This version of the aStar library has ... |
unit Demo.Main;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls,
System.Net.HttpClient;
type
TfrmMain = class(TForm)
Button1: TButton;
Memo1: TMemo;
Button2: TButton;
Button3: ... |
(***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software... |
unit uFRAMEcadCli;
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.Objects, FMX.Layouts, FMX.ImgList, FMX.ScrollBox, FMX.Memo,
FMX.Controls.Presentation, FMX.Edit, FMX.DateTimeCtrl... |
(***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distrib... |
unit uPlotHIDHandler;
{
*****************************************************************************
* This file is part of Multiple Acronym Math and Audio Plot - MAAPlot *
* *
* See the file COPYING. ... |
unit CrossCrypt_PasswordConfirm;
// Description:
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialo... |
{: This help file explain all the base types defined in
the CADSys 4.0 library for both the 2D and 3D use.
These types are defined in the CS4BaseTypes unit file
that you must include in the <B=uses> clause in all of your units
that use CADSys.
}
{$REALCOMPATIBILITY ON}
unit CS4BaseTypes;
interface
uses ... |
{------------------------------------------------------------------------------------}
{program p038_000 exercises production #038 }
{expression_list -> expression }
{----------------------------------------------------------... |
(*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@3@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
Unit
Character
*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*
[2006/??/??] Helios - No author stated
================================================================================
License:... |
unit DSA.List_Stack_Queue.LinkedListQueue;
{$mode objfpc}{$H+}
interface
uses
Classes,
SysUtils,
Rtti,
DSA.Interfaces.DataStructure;
type
{ TLinkedListQueue }
generic TLinkedListQueue<T> = class(TInterfacedObject, specialize IQueue<T>)
private
type
{ TNode }
TNode = class
public
... |
unit untFuncoesServer;
interface
uses
FireDAC.Comp.Client,
unt_Conexao,
System.StrUtils,
Guia.Controle,
JSON,
system.net.httpclient,
System.Classes,
FMX.Maps,
System.Math,
FMX.StdCtrls,
ACBrMail;
type
TResultArray = array of string;
function QueryToLog(Q: TFDQuery): string;
function TextoFiltra... |
unit NFSEditButton;
interface
uses
Winapi.Messages, Winapi.Windows, System.SysUtils, System.Classes, System.Contnrs, System.UITypes,
Vcl.Controls, Vcl.Forms, Vcl.Menus, Vcl.Graphics, Vcl.StdCtrls, Vcl.GraphUtil, Vcl.ImgList, Vcl.Themes, Winapi.ShellAPI,
nfsCustomMaskEdit;
type
TNFSMaskButtonedEdit = class(TN... |
unit ThListSource;
interface
uses
Classes,
ThHeaderComponent, ThNotifierList;
type
IThListSource = interface
['{0B9415E1-4421-46A1-992A-BDA5622899DB}']
function GetItems: TStrings;
function GetNamePath: string;
function GetNotifiers: TThNotifierList;
property Items: TStrings read GetItems;
... |
unit Grids.Helper;
interface
uses Classes, Windows, Graphics, SysUtils, Vcl.Grids, Vcl.DBGrids, Data.DB;
type
TGetParams = procedure(Index: integer; Values: TStrings) of object;
TQueryDocExecute = procedure(Sender: TObject; Date: TDateTime; Name: string; GetData: TGetParams; Count: integer) of object;
... |
{
A sample that shows how to perform a runtime language switch.
The sample also show how to use extensions to enable language switch
for untrivial data types such as image, tree views, and list view.
}
unit Unit1;
interface
uses
Classes, Graphics, StdCtrls, Controls, ComCtrls, ExtCtrls, Forms, pngimage;
typ... |
unit Myloo.Comp.Coll.Utils;
interface
uses
Generics.Collections;
type
TArraySliceForEach<t> = reference to procedure (
const Index: Integer;
const Value: T;
var ABreak: Boolean... |
unit ibSHSQLEditorActions;
interface
uses
SysUtils, Classes, Dialogs, Menus,
SHDesignIntf, ibSHDesignIntf;
type
TibSHSQLEditorPaletteAction = class(TSHAction)
public
constructor Create(AOwner: TComponent); override;
function SupportComponent(const AClassIID: TGUID): Boolean; override;
... |
//
// SpritePacks allow sprites to be grouped together and to have
// procedures called on each element without the programmer needing
// to maintain an array.
//
unit SpritePack;
interface
uses sgTypes, stringhash;
type
SpriteArray = array of Sprite;
// The container for the SpritePacks, allowing it to be
/... |
unit OTFEE4MStructures_U;
// By Sarah Dean
// Email: sdean12@sdean12.org
// WWW: http://www.SDean12.org/
//
// -----------------------------------------------------------------------------
//
interface
uses
Classes, SysUtils, Windows;
type
EE4MError = Exception;
EE4MNotConnected = EE4MError;... |
//////////////////////////////////////////////////////////////////////////
// PaxCompiler
// Site: http://www.paxcompiler.com
// Author: Alexander Baranovsky (paxscript@gmail.com)
// ========================================================================
// Copyright (c) Alexander Baranovsky, 2006-2014. All right... |
unit Contador;
interface
uses
System.Classes, System.Generics.Collections,
//
Aurelius.Mapping.Attributes, Aurelius.Types.Blob, Aurelius.Types.Nullable, Aurelius.Types.Proxy;
type
[Entity]
[Table('CONTADOR')]
[Id('Id', TIdGenerator.IdentityOrSequence)]
TContador = class
private
FID: Integer;
... |
{
Double Commander
-------------------------------------------------------------------------
Control like TButton which does not steal focus on click
Copyright (C) 2021 Alexander Koblov (alexx2000@mail.ru)
This library is free software; you can redistribute it and/or
modify it under the terms ... |
unit Modules.Data;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option, FireDAC.Stan.Error,
FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def, FireDAC.Stan.Pool, FireDAC.Stan.Async,
FireDAC.Phys, FireDAC.Phys.SQLite, FireDAC.Phys.SQLiteDef, FireDAC.Stan.ExprFuncs,
FireDAC... |
//---------------------------------------------------------------------------
// This software is Copyright (c) 2011 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of Delphi, C++Builder or RAD Studio (Embarcadero Products).
// This software is considered a Redis... |
{
Unit criada por Vicente Barros Leonel
Ultima Revisão - 30/04/2007 Por Vicente Barros Leonel
}
unit UCConsts;
interface
const
// new consts version 2 a 5 =========================================
// Form Select Controls (design-time)
Const_Contr_TitleLabel = 'Team of Components of th... |
unit uMainForm;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Media, FMX.Objects, FMX.ListBox, FMX.StdCtrls, FMX.Controls.Presentation,
IdContext, IdCustomHTTPServer, IdBaseComponent,... |
(* WLA: HDO, 2016-12-06
---
Wish list analyzer for the Christkind.
==========================================================*)
PROGRAM WLA;
(*$IFDEF WINDOWS*)
USES
WinCrt;
(*$ENDIF*)
TYPE
WishNodePtr = ^WishNode;
WishNode = RECORD
next: WishNodePtr;
... |
unit uEmailCheckerRes;
// EMS Resource Module
interface
uses
System.SysUtils, System.Classes, System.JSON,
EMS.Services, EMS.ResourceAPI, EMS.ResourceTypes;
type
[ResourceName('EmailChecker')]
TEmailCheckerResource1 = class(TDataModule)
published
procedure Get(const AContext: TEndpointCo... |
{================================================================================
Copyright (C) 1997-2001 Mills Enterprise
Unit : rmDiffMap
Purpose : This is a map component primarily used in showing where the
differences are with in the mapping of the rmDiff Components.
Date : 04-24-2000
Au... |
unit LrTextPainter;
interface
uses
Windows, Classes, Graphics,
LrGraphics;
type
TLrTextPainter = class(TPersistent)
private
FCanvas: TCanvas;
FHAlign: TLrHAlign;
FTransparent: Boolean;
FVAlign: TLrVAlign;
FWordWrap: Boolean;
FOnChange: TNotifyEvent;
protected
function GetDC: HDC;... |
unit ufrmCostCenter;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, ufrmMasterBrowse, cxGraphics,
cxControls, cxLookAndFeels, cxLookAndFeelPainters, cxStyles, cxCustomData,
cxFilter, cxData, cxDataStorage, c... |
{*
멀티 스레드에서 사용 되는 변수가 있을 경우 사용하기 위해서 임계영역과 세트로
작성돤 데이터 래핑 클래스이다. 단 번에 참조하지 않고 참조되는 동안 프로세스가
진행되는 경우, 멀티 스레드 상에서 경합을 피하기 위해서 사용한다.
}
unit SyncValues;
interface
uses
Classes, SysUtils, SyncObjs;
type
TSyncValue = class
private
FCS : TCriticalSection;
public
constructor Create; virtual;
destr... |
program fre_resourcetest;
{$mode objfpc}{$H+}
uses
{$IFDEF UNIX}
BaseUnix,
{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Classes, SysUtils, CustApp
{ you can add units after this };
type
{ TFREResourcetestApplication }
TFREResourcetestApplication = class(TCustomApplication)
protected
proc... |
unit ibSHDDLGrantorEditors;
interface
uses
SysUtils, Classes, DesignIntf, TypInfo,
SHDesignIntf, ibSHDesignIntf, ibSHCommonEditors;
type
// -> Property Editors
TibSHDDLGrantorPropEditor = class(TibBTPropertyEditor)
public
function GetAttributes: TPropertyAttributes; override;
function ... |
unit ThWebVariable;
interface
uses
Classes, ThRegExpr;
type
TThValidator = class;
//
TThCustomDatum = class(TPersistent)
private
FWebValue: string;
FWebName: string;
FDisplayName: string;
protected
procedure SetDisplayName(const Value: string);
procedure SetWebName(const Value: strin... |
unit ColorToolUnit;
interface
uses
System.Math,
System.SysUtils,
System.Classes,
Winapi.Windows,
Vcl.Controls,
Vcl.Graphics,
Vcl.StdCtrls,
Vcl.ExtCtrls,
Vcl.ComCtrls,
Dmitry.Controls.WebLink,
ToolsUnit,
ImageHistoryUnit,
Effects,
uDBGraphicTypes,
uMemory;
type... |
unit n_LogThreads;
interface
uses SysUtils, Classes, Forms, DateUtils, IBDataBase, IBQuery, IBSQL,
SyncObjs, IdTCPServer, n_free_functions, v_constants, n_constants;
type
TlmText = record // для хранения последнего набора сообщений каждого типа
lmCODE : integer; // код последней записи в LOGMESSAGES
... |
{================================================================================
Copyright (C) 1997-2002 Mills Enterprise
Unit : rmDataStoragePropEdit
Purpose : The property and component editors for the rmDataStorage components
Date : 12-29-2000
Author : Ryan J. Mills
Version : 1.92
=============... |
(*
Category: SWAG Title: OOP/TURBO VISION ROUTINES
Original name: 0053.PAS
Description: TV Broadcast Message
Author: SWAG SUPPORT TEAM
Date: 02-28-95 09:53
*)
{
This program will create two modaless dialog boxes and will
allow only one Dialog2 dialog to be created at any time.
Additionally, it wil... |
unit DisplayFrame1;
{ TdispFrame permet d'afficher une trace avec un minimum d'instructions.
Il faut placer un frame dans une fenêtre et l'initialiser avec InstallArray.
On peut aussi initialiser les paramètres de visu.
On dispose du menu Coordonnées/BK color avec le clic droit.
On pourrait perfectionner af... |
//
// VXScene Component Library, based on GLScene http://glscene.sourceforge.net
//
{
Base classes
}
unit VXS.BaseClasses;
interface
uses
System.Classes,
System.SysUtils,
VXS.Strings,
VXS.PersistentClasses;
type
TVXProgressTimes = record
deltaTime, newTime: Double
end;
... |
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [NFSE_CABECALHO]
The MIT License ... |
unit uTEFTypes;
interface
type
TVinculadoInfo = class
CupomVinculado: String;
FormaPagamento: String;
IDMeioPag: Integer;
ValorAprovado: Currency;
NumeroParcelas : Integer;
PreDatado: TDateTime;
PreDatadoComGarantia : Boolean;
end;
TTEFCallInfo = class
PostDate : Bool... |
unit uPrintInventory;
// QuickReport simple list
// - Connect a datasource to the QuickReport component
// - Put QRDBText components on the Detail band
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, DB, DBTables, quickrpt, Qrctrls;
type
TInventoryR... |
(*----------------------------------------------------------------------------*
* Direct3D sample from DirectX 9.0 SDK December 2006 *
* Delphi adaptation by Alexey Barkovoy (e-mail: directx@clootie.ru) *
* *
... |
unit SHOptionsIntf;
interface
uses
SysUtils, Classes, Graphics, StdCtrls,
// SQLHammer
SHDesignIntf;
type
// System ->
ISHSystemOptions = interface(ISHComponentOptions)
['{8F0FFA69-1AC6-4132-BF3B-452EB24C2B7F}']
function GetStartBranch: Integer;
procedure SetStartBranch(Value: Integ... |
unit CCJS_PartsPosition;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, DB, ADODB, ActnList, Grids, DBGrids;
type
TfrmCCJS_PartsPosition = class(TForm)
pnlTop: TPanel;
pnlTop_Order: TPanel;
pnlTop_Price: TPanel;
pnlTop_Client: TPanel... |
program SmallestPrimeFactor;
uses
SysUtils;
function IsPrime(Prime: Integer): Boolean;
// Determine if a number is prime by brute force.
// Test if any number from 2 up to a half of it is a factor.
// If a factor exists it is prime.
var
Factor: Integer;
begin
IsPrime := True;
for Factor := 2 to Integer(Prime... |
{-------------------------------------------------------------------------------
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... |
(***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software... |
unit uBASE_Form;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, dxRibbonForm, cxClasses, dxRibbon, cxControls, uParams;
type
TBASE_Form = class(TdxRibbonForm)
dxRibbonTab1: TdxRibbonTab;
dxRibbon: TdxRibbon;
procedure FormDestroy(Sende... |
unit Childwin;
interface
uses
Windows, Classes, Graphics, Forms, Controls, StdCtrls, Messages, aiOGL,
Menus, Sysutils, Main;
type
TMDIChild = class(TForm)
PopupMenu: TPopupMenu;
ObjectNameItem: TMenuItem;
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure For... |
{
Clever Internet Suite Version 6.2
Copyright (C) 1999 - 2006 Clever Components
www.CleverComponents.com
}
unit clInetSuiteReg;
interface
{$I clVer.inc}
uses
Classes, {$IFDEF DELPHI6}DesignEditors, DesignIntf, {$ELSE} DsgnIntf, {$ENDIF}
TypInfo, clDEditors, clDownLoader, clMultiDownLoader, clNewsChecker, ... |
{: Basic Octree/Collision demo.<p>
Robert Hayes, March 2002.
This demo uses the new Octree class to quickly detect triangle-level collisions with a sphere.
See Octree.SphereIntersect() for detailed comments.
}
unit Unit1;
interface
uses
Classes, SysUtils, Controls, Forms, GLKeyboard, GLVectorGeo... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit utils;
interface
uses
Windows, SysUtils, Forms;
procedure SaveConfig;
function LoadConfig: Boolean;
function GetToolsDir : string;
function CheckBinaries: Boolean;
implementation
uses
XMLDom, XMLIntf, MSXMLDom, XMLDoc, ActiveX, Main;
var
ConfigFileName: TFileName;
procedure SaveConfig;
var
XMLDoc:... |
unit uRelatCondicoesPagto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, JvComponentBase, JvEnterTab, Data.DB,
Vcl.StdCtrls, JvExStdCtrls, JvButton, JvCtrls, Vcl.Buttons, Vcl.ExtCtrls,
Vcl.Grids, Vcl.DBGrid... |
{***************************************************************************}
{ }
{ Delphi Package Manager - DPM }
{ }
{ ... |
unit ColladaFile;
interface
uses BasicDataTypes, XMLIntf, msxmldom, XMLDoc, Mesh, SysUtils, Camera, IntegerSet;
type
PColladaMeshUnit = ^TColladaMeshUnit;
TColladaMeshUnit = record
Mesh : PMesh;
Next : PColladaMeshUnit;
end;
TColladaFile = class
private
Meshes :... |
unit MeshUnsharpMasking;
interface
uses MeshProcessingBase, Mesh, BasicMathsTypes, BasicDataTypes, NeighborDetector;
{$INCLUDE source/Global_Conditionals.inc}
type
TMeshUnsharpMasking = class (TMeshProcessingBase)
protected
procedure MeshUnsharpMaskingOperation(var _Vertices: TAVector3f... |
{ ****************************************************************************** }
{ * Fast md5 * }
{ * https://zpascal.net * }
{ * https://github.com/PassByYou888/zAI ... |
unit MeshNormalVectorCalculator;
interface
uses Mesh, BasicMathsTypes, BasicDataTypes, NeighborDetector;
type
TMeshNormalVectorCalculator = class
private
function GetEquivalentVertex(_VertexID,_MaxVertexID: integer; const _VertexEquivalences: auint32): integer;
public
func... |
unit FMX.Navigator;
interface
uses
System.SysUtils, System.Classes, System.Generics.Collections, FMX.Types,
FMX.Controls, FMX.Layouts, FMX.StdCtrls, FMX.Objects, FMX.Graphics,
FMX.MultiView, FMX.Effects, System.UITypes,
FMX.Forms, FMX.Controls.Presentation, FMX.Filter.Effects;
type
TFrameClass = class of T... |
unit CustomServiceDemoMain;
interface
uses
Classes, apiPlugin, AIMPCustomPlugin, apiCore, CustomServiceDemoPublicIntf;
type
{ TMyCustomObject }
TMyCustomObject = class(TInterfacedObject,
IMyCustomObject,
IMyCustomObjectv2)
protected
// IMyCustomObject
function SomeMethod: HRESULT; stdcall;
... |
// ************************************************************************
// ***************************** CEF4Delphi *******************************
// ************************************************************************
//
// CEF4Delphi is based on DCEF3 which uses CEF3 to embed a chromium-based
// browser in D... |
{-------------------------------------------------------------------------------
Copyright 2012 Ethea S.r.l.
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.apa... |
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
StdCtrls;
type
{ TForm1 }
TForm1 = class(TForm)
BCarreNoir: TButton;
BCarreRouge: TButton;
B4carre: TButton;
Bbandes: TButton;
Bechiquier: TButton;
Ipicture: TI... |
{ Utilities using light weight threads.
This file is part of the Free Pascal run time library.
Copyright (C) 2008 Mattias Gaertner mattias@freepascal.org
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... |
unit geometry1;
interface
type
Point = record
x : Real;
y : Real;
end;
line = record
A : Point;
B : Point;
end;
Triangle = record
A : Point;
B : Point;
C : Point;
end;
TVector = record
x : Real;
y : Real;
end;
function CreatePoint(const x : Real; const y : Real... |
program HowToDrawOnScreen;
uses
SwinGame;
procedure Main();
begin
OpenGraphicsWindow('Drawing On Screen', 800, 600);
LoadDefaultColors();
repeat // The game loop...
ProcessEvents();
ClearScreen(ColorWhite);
DrawTextOnScreen('How To Draw On Screen', ColorRed, 330, 40); ... |
Unit UnitFuncoesDiversas;
interface
uses
StrUtils,Windows,
ShellApi;
const
faReadOnly = $00000001 platform;
faHidden = $00000002 platform;
faSysFile = $00000004 platform;
faVolumeID = $00000008 platform;
faDirectory = $00000010;
faArchive = $00000020 platform;
faSymLink = $00000040 platf... |
unit TestctsPointerStructure;
{
Delphi DUnit Test Case
----------------------
This unit contains a skeleton test case class generated by the Test Case Wizard.
Modify the generated code to correctly setup and call the methods from the unit
being tested.
}
interface
uses
TestFramework, ctsTypesDef, ctsBa... |
namespace NotificationsExtensions.ToastContent;
interface
uses
System,
BadgeContent,
NotificationsExtensions,
System.Text,
Windows.Data.Xml.Dom,
Windows.UI.Notifications;
type
ToastAudio = assembly sealed class(IToastAudio)
constructor ;
public
property Content: ToastAudioCo... |
unit ibSHDMLExporterEditors;
interface
uses
Classes, SysUtils, DesignIntf,
SHDesignIntf, ibSHDesignIntf, ibSHCommonEditors;
type
// -> Property Editors
TibSHDMLExporterModePropEditor = class(TibBTPropertyEditor)
private
FValues: string;
procedure Prepare;
public
constructor Cre... |
unit uFrmPromoPrizeItem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, PAIDETODOS, siComp, siLangRT, StdCtrls, LblEffct, ExtCtrls,
Buttons, Mask, SuperComboADO, cxStyles, cxCustomData, cxGraphics,
cxFilter, cxData, cxEdit, DB, cxDBData, cxGridLevel,
cxGri... |
(* Persons03 DA, 17.05.2017 *)
(* First OO Program *)
(* dynamische (Methoden-)Bindung *)
(* ------------------------------------------------------------- *)
PROGRAM Persons03;
CONST
maxStudents = 10... |
{программа, зашивающая файл фиктивными
записями(=пустой)}
program qwerty;
type
{Info - запись, хранящая данные}
Info=record
name_:string[40];
telefon:string[40];
bool:boolean;
end;
{Information - запись с данными и ключевое поле}
Information=record
Hash: byte; {ключ... |
unit Types.Mail;
interface
const
c_UstTLSMax = 3;
c_UseTLS:array [0 .. c_UstTLSMax] of record
ID: byte;
Text: string;
end = ((ID: 0; Text: 'NoTLSSupport'),
(ID: 1; Text: 'UseImplicitTLS'),
(ID: 2; Text: 'UseRequireTLS'),
(ID: 3; Text... |
unit glSystem;
interface
uses
Windows, Messages, SysUtils, Variants, Classes;
function RunAs(Username, Password, CmdString: string): string;
function CountPos(const subtext: string; Text: string): Integer;
function createprocesswithlogonw(lpusername: pwidechar; lpdomain: pwidechar;
lppassword: pwid... |
unit SaveForm;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls,
SimpleTimer,
InflatablesList_Manager;
type
TfSaveForm = class(TForm)
bvlInnerFrame: TBevel;
lblText: TLabel;
bvlOuterFrame: TBevel;
procedure FormCreate(Send... |
namespace GlHelper;
interface
uses
rtl;
type
{ A quaternion.
}
TQuaternion = public record
private
method GetLength: Single;
method GetLengthSquared: Single;
public
{ Initializes the quaternion to an identity quaternion. Sets the X, Y and
Z components to 0 and the W component to 1... |
unit uFrmMain;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, XMLDoc, XMLIntf,
uXMLUtils;
type
TFrmMain = class(TForm)
Memo: TMemo;
Panel1: TPanel;
btnXML: TButton;
... |
{------------------------------------------------------------------------------
Miguel A. Risco Castillo TuERotImage v0.6
http://ue.accesus.com/uecontrols
using some ideas from:
TRotateImage v1.54 by Kambiz R. Khojasteh
The contents of this file are subject to the Mozilla Public License
Versio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.