text stringlengths 1 24.5M |
|---|
#pragma once
#include <jsi/jsi.h>
#include <memory>
namespace RNWorklet {
namespace jsi = facebook::jsi;
/**
* Listener interface that allows for getting notified when a jsi::Runtime
* instance is destroyed.
*/
struct RuntimeLifecycleListener {
virtual ~RuntimeLifecycleListener() {}
virtual void onRuntimeDe... |
#pragma once
#include <memory>
#include <string>
#include "WKTArgumentsWrapper.h"
#include "WKTJsiBaseDecorator.h"
#include "WKTJsiHostObject.h"
#include "WKTJsiWrapper.h"
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
static const char *PropNameConsole = "console";
class JsiConsoleImpl... |
#pragma once
#include <memory>
#include <string>
#include "WKTJsiBaseDecorator.h"
#include "WKTJsiWrapper.h"
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
class JsiJsDecorator : public JsiBaseDecorator {
public:
JsiJsDecorator(jsi::Runtime &runtime, const std::string &propertyName,
... |
#pragma once
#include <chrono>
#include <memory>
#include <string>
#include "WKTJsiBaseDecorator.h"
#include "WKTJsiHostObject.h"
#include "WKTJsiWrapper.h"
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
static const char *PropNamePerformance = "performance";
class JsiPerformanceImpl : ... |
#pragma once
#include <memory>
#include <string>
#include <vector>
#include "WKTJsiBaseDecorator.h"
#include "WKTJsiWrapper.h"
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
static const char *PropNameSetImmediate = "setImmediate";
/**
Decorator for setImmediate
setImmediate is implem... |
#include "WKTDispatchQueue.h"
#include <utility>
namespace RNWorklet {
DispatchQueue::~DispatchQueue() {
// Signal to dispatch threads that it's time to wrap up
std::unique_lock<std::mutex> lock(lock_);
quit_ = true;
lock.unlock();
cv_.notify_all();
// Wait for threads to finish before we exit
if (thr... |
#pragma once
#include <condition_variable>
#include <cstdint>
#include <cstdio>
#include <functional>
#include <mutex>
#include <queue>
#include <string>
#include <thread>
#include <vector>
// https://github.com/embeddedartistry/embedded-resources/blob/master/examples/cpp/dispatch.cpp
namespace RNWorklet {
class Dis... |
#pragma once
#include <jsi/jsi.h>
#include <map>
#include <memory>
#include "WKTJsiDispatcher.h"
#include "WKTJsiHostObject.h"
#include "WKTJsiWorkletContext.h"
#include "WKTJsiWrapper.h"
namespace RNWorklet {
namespace jsi = facebook::jsi;
class JsiSharedValue : public JsiHostObject {
public:
/**
Constructs... |
#pragma once
#include <memory>
#include <vector>
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
class ArgumentsWrapper {
public:
ArgumentsWrapper(jsi::Runtime &runtime, const jsi::Value *arguments,
size_t count)
: _count(count) {
_arguments.resize(count);
... |
#pragma once
#include <jsi/jsi.h>
#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "WKTJsiHostObject.h"
#include "WKTJsiWrapper.h"
namespace RNWorklet {
namespace jsi = facebook::jsi;
const char *WorkletArrayProxyName = "__createWorkletArrayProxy";
class JsiWrapper;
class JsiA... |
#pragma once
#include <jsi/jsi.h>
#include <map>
#include <memory>
#include <string>
#include <vector>
#include "WKTJsiPromiseWrapper.h"
#include "WKTJsiWorklet.h"
#include "WKTJsiWrapper.h"
namespace RNWorklet {
namespace jsi = facebook::jsi;
class JsiObjectWrapper : public JsiHostObject,
... |
#include "WKTJsiPromiseWrapper.h"
#include "WKTArgumentsWrapper.h"
#include "WKTJsiObjectWrapper.h"
#include "WKTJsiWorkletContext.h"
#include <utility>
namespace RNWorklet {
namespace jsi = facebook::jsi;
std::shared_ptr<JsiPromiseWrapper> JsiPromiseWrapper::createPromiseWrapper(
jsi::Runtime &runtime, Promis... |
#pragma once
#include <jsi/jsi.h>
#include <functional>
#include <memory>
#include <string>
#include <vector>
#include "WKTJsiHostObject.h"
#include "WKTJsiWorklet.h"
#include "WKTJsiWrapper.h"
namespace RNWorklet {
namespace jsi = facebook::jsi;
class JsiWrapper;
static const char *ThenPropName = "then";
static... |
#include "WKTJsiWrapper.h"
#include "WKTJsiArrayWrapper.h"
#include "WKTJsiObjectWrapper.h"
#include "WKTJsiPromiseWrapper.h"
namespace RNWorklet {
namespace jsi = facebook::jsi;
jsi::Value JsiWrapper::getValue(jsi::Runtime &runtime) {
std::unique_lock lock(_readWriteMutex);
switch (_type) {
case JsiWrapperTy... |
#pragma once
#include <map>
#include <memory>
#include <mutex>
#include <string>
#include <vector>
#include <jsi/jsi.h>
namespace RNWorklet {
namespace jsi = facebook::jsi;
static const char *WorkletObjectProxyName = "__createWorkletObjectProxy";
enum JsiWrapperType {
Undefined,
Null,
Bool,
Number,
Stri... |
#import <RCTAppDelegate.h>
#import <UIKit/UIKit.h>
@interface AppDelegate : RCTAppDelegate
@end
|
#ifdef __cplusplus
#import "WKTJsiWorkletApi.h"
#endif
#ifdef RCT_NEW_ARCH_ENABLED
#import "RNWorkletsSpec.h"
@interface Worklets : NSObject <NativeWorkletsSpec>
#else
#import <React/RCTBridgeModule.h>
@interface Worklets : NSObject <RCTBridgeModule>
#endif
@end
|
#include "RealBlindingEDR.h"
HANDLE hDevice = NULL;
HANDLE Process = NULL;
DWORD dwMajor = 0;
DWORD dwMinorVersion = 0;
DWORD dwBuild = 0;
INT64 EDRIntance[500] = { 0 };
TCHAR* RandomName = NULL;
BOOL LoadDriver() {
HKEY hKey;
HKEY hsubkey;
if (!RegOpenKeyExW(HKEY_LOCAL_MACHINE, L"System\\CurrentControlSet", 0, 2u, ... |
#include<windows.h>
#include<stdio.h>
#include<winternl.h>
#include<psapi.h>
#include <time.h>
#pragma comment(lib,"ntdll.lib")
/*
Driver_Type specifies different drivers
1 -> echo_driver.sys driver, supports win10+
2 -> dbutil_2_3.sys driver, supports Win7+ (may not be loaded in higher versions such as win11)
*/
INT... |
/* Header for BeaEngine 4.x */
#ifndef _BEA_ENGINE_
#define _BEA_ENGINE_
#include "Includes/export.h"
#include "Includes/basic_types.h"
#if !defined(BEA_ENGINE_STATIC)
#if defined(BUILD_BEA_ENGINE_DLL)
#define BEA_API bea__api_export__
#else
#define BEA_API bea__api_import__
#endif
#else
#define BEA_API
#... |
/**
* @file basic_types.h
* @author <igor.gutnik@gmail.com>
* @date Thu Dec 24 19:31:22 2009
*
* @brief Definitions of fixed-size integer types for various platforms
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of t... |
/**
* @file export.h
* @author igor.gutnik@gmail.com
* @date Mon Sep 22 09:28:54 2008
*
* @brief This file sets things up for C dynamic library function definitions and
* static inlined functions
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or... |
/**
* @file basic_types.h
* @author <igor.gutnik@gmail.com>
* @date Thu Dec 24 19:31:22 2009
*
* @brief Definitions of fixed-size integer types for various platforms
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of th... |
#ifndef _BEA_ENGINE_
#define _BEA_ENGINE_
#if defined(__cplusplus) && defined(__BORLANDC__)
namespace BeaEngine {
#endif
#include <beaengine/macros.h>
#include <beaengine/export.h>
#include <beaengine/basic_types.h>
#if !defined(BEA_ENGINE_STATIC)
#if defined(BUILD_BEA_ENGINE_DLL)
#define BEA_API bea__api_export_... |
/**
* @file export.h
* @author igor.gutnik@gmail.com
* @date Mon Sep 22 09:28:54 2008
*
* @brief This file sets things up for C dynamic library function definitions and
* static inlined functions
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or... |
#ifndef __BEAENGINE_MACROS_H__
#define __BEAENGINE_MACROS_H__
/*
============================================================================
Compiler Silencing macros
Some compilers complain about parameters that are not used. This macro
should keep them quiet.
==================================================... |
/*
* BeaEngine 4 - x86 & x86-64 disassembler library
*
* Copyright 2006-2010, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the F... |
/* Copyright 2006-2010, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/*
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/* Copyright 2006-2009, BeatriX
* File coded by BeatriX
*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License,... |
/*
* This file is part of BeaEngine.
*
* BeaEngine is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Be... |
const char features[] = {"\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1800
"1"
#else
"0"
#endif
"cxx_alias_templates\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cxx_alignas\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cxx_alignof\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cx... |
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER... |
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date c... |
const char features[] = {"\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1800
"1"
#else
"0"
#endif
"cxx_alias_templates\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cxx_alignas\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cxx_alignof\n"
"CXX_FEATURE:"
#if _MSC_VER >= 1900
"1"
#else
"0"
#endif
"cx... |
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER... |
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date c... |
// cvconst.h - codeview constant definitions
//-----------------------------------------------------------------
//
// Copyright Microsoft Corporation. All Rights Reserved.
//
//---------------------------------------------------------------
#ifndef _CVCONST_H_
#define _CVCONST_H_
// Enumeration for function c... |
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 8.00.0603 */
/* @@MIDL_FILE_HEADING( ) */
#pragma warning( disable: 4049 ) /* more than 64k source lines */
/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef ... |
// diacreate.h - creation helper functions for DIA initialization
//-----------------------------------------------------------------
//
// Copyright Microsoft Corporation. All Rights Reserved.
//
//---------------------------------------------------------------
#ifndef _DIACREATE_H_
#define _DIACREATE_H_
//
// Crea... |
#pragma once
#include <stdio.h>
#include <limits.h> /* for CHAR_BIT */
#include <malloc.h>
#define BITMASK(b) (1 << ((b) % CHAR_BIT))
#define BITSLOT(b) ((b) / CHAR_BIT)
#define BITSET(a, b) ((a)[BITSLOT(b)] |= BITMASK(b))
#define BITCLEAR(a, b) ((a)[BITSLOT(b)] &= ~BITMASK(b))
#define BITTEST(a, b) ((a)[B... |
#include "stdafx.h"
#include "CClassFrame.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
IMPLEMENT_DYNCREATE( CClassFrame, CMDIChildWndEx )
BEGIN_MESSAGE_MAP( CClassFrame, CMDIChildWndEx )
ON_COMMAND( ID_FILE_CLOSE, &CClassFrame::OnFileClose )
ON_WM_SETFOCUS( )
ON_WM_CREATE( )
END_MESSAGE_MAP( )
// CChi... |
#pragma once
#include "CClassView.h"
class CClassFrame : public CMDIChildWndEx {
DECLARE_DYNCREATE( CClassFrame )
public:
CClassFrame( );
// Attributes
public:
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow( CREATESTRUCT& cs );
virtual BOOL OnCmdMsg( UINT nID, i... |
#include "stdafx.h"
#include "CClassFrame.h"
#include "CClassView.h"
#include "DialogEdit.h"
#include <algorithm>
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
// CChildView
CClassView::CClassView( ) :
m_pClass( NULL ),
m_bTracking( FALSE )
{
}
CClassView::~CClassView( )
{
}
BEGIN_MESSAGE_MAP( CClassView, CW... |
#pragma once
#define MAX_NODES 32768
#include "CMemory.h"
#include "CCustomEdit.h"
#include "CCustomToolTip.h"
// CClassView window
class CClassView : public CWnd {
// Construction
public:
CClassView( );
virtual ~CClassView( );
// Overrides
protected:
virtual BOOL PreCreateWindow( CREATESTRUCT&... |
#include "stdafx.h"
#include "CCustomEdit.h"
#include "CClassFrame.h"
BEGIN_MESSAGE_MAP( CCustomEdit, CEdit )
ON_WM_CHAR( )
ON_CONTROL_REFLECT( EN_CHANGE, &CCustomEdit::OnEnChange )
ON_WM_CTLCOLOR_REFLECT( )
END_MESSAGE_MAP( )
BOOL CCustomEdit::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, U... |
#pragma once
#include <afxwin.h>
#include "HotSpot.h"
class CCustomEdit : public CEdit {
public:
virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );
DECLARE_MESSAGE_MAP( )
afx_msg void OnChar( UINT nChar, UINT nRepCnt, UINT nFlags );
afx_msg void OnEnChange( );
af... |
#include "stdafx.h"
#include "CCustomToolTip.h"
BEGIN_MESSAGE_MAP( CCustomToolTip, CEdit )
ON_WM_CTLCOLOR_REFLECT( )
END_MESSAGE_MAP( )
BOOL CCustomToolTip::Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID )
{
m_brBackGnd = CreateSolidBrush( 0xFFFFFF );
return CEdit::Create( dwStyle, r... |
#pragma once
#include <afxwin.h>
class CCustomToolTip : public CEdit {
public:
virtual BOOL Create( DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID );
DECLARE_MESSAGE_MAP( )
afx_msg HBRUSH CtlColor( CDC* pDC, UINT nCtlColor );
public:
HBRUSH m_brBackGnd;
}; |
#include "stdafx.h"
#include "ClassDependencyGraph.h"
bool DependencyNode::AddInEdge(const DependencyNode* parent, const DependencyType edgeType) {
DependencyEdge newEdge(parent, edgeType);
//
// We do not allow parallel edges, so we check to make sure this edge doesn't already exist.
// We COULD have used a map ... |
#pragma once
#include "CNodeClass.h"
#include <assert.h>
#include <atlbase.h>
#include <fstream>
#include <iostream>
#include <map>
#include <set>
#include <string>
#include <sstream>
#include <vector>
class DependencyNode;
enum class DependencyType {
POINTER,
INSTANCE
};
struct DependencyEdge {
const Dependency... |
#include "stdafx.h"
#include <afxtabctrl.h>
#include "CMainFrame.h"
#include "CClassFrame.h"
#include "DialogClasses.h"
#include "DialogProcSelect.h"
#include "DialogTypes.h"
UINT BASED_CODE CMainFrame::s_StatusBarPanes[2] = {
ID_STATUSBAR_PANE1,
ID_STATUSBAR_PANE2
};
// CMainFrame
IMPLEMENT_DYNAMIC( CMai... |
#pragma once
#include <afxwin.h>
#include "CProgressBar.h"
#define TIMER_MEMORYMAP_UPDATE 0xDEADF00D
class CMainFrame : public CMDIFrameWndEx {
DECLARE_DYNAMIC( CMainFrame )
public:
CMainFrame( );
// Attributes
public:
// Operations
public:
// Overrides
public:
virtual BOOL PreCreateWindow( CREATESTR... |
#pragma once
class CMemory {
public:
CMemory( )
: m_ulSize( 0 )
, m_pMemory( NULL )
{
}
~CMemory( )
{
if (m_pMemory != NULL)
free( m_pMemory );
}
inline void SetSize( unsigned long Size )
{
if (m_pMemory == NULL || (Size != m_ulSize))
... |
#include "stdafx.h"
#include "CNodeArray.h"
CNodeArray::CNodeArray( )
{
m_nodeType = nt_array;
m_ulTotal = 1;
m_iCurrent = 0;
}
void CNodeArray::Update( const PHOTSPOT Spot )
{
LONG LongValue;
ULONG UlongValue;
StandardUpdate( Spot );
LongValue = _ttol( Spot->Text.GetString( ) );
if ... |
#pragma once
class CNodeArray : public CNodeBase {
public:
CNodeArray( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( );
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
inline void SetTotal( ULONG total ) { m_ulTotal = total; }
inline ULONG GetTotal... |
#include "stdafx.h"
#include "CNodeBase.h"
#include <regex>
CNodeBase::CNodeBase( ) :
m_nodeType( nt_base ),
m_pParentNode( nullptr ),
m_Offset( 0 ),
m_strOffset( _T( "0" ) ),
m_bHidden( false ),
m_bSelected( false )
{
// Optimized
m_LevelsOpen.resize( 32, false );
m_LevelsOpen[0] ... |
#pragma once
#include "NodeType.h"
#include "HotSpot.h"
#include "Debug.h"
#include "Symbols.h"
#include <afxwin.h>
#include <vector>
#define TXOFFSET 16
// Global node index
extern DWORD g_NodeCreateIndex;
typedef struct tagVIEWINFO {
// Temporarily added for testing
#ifdef _DEBUG
class CClassView* p... |
#include "stdafx.h"
#include "CNodeBits.h"
#include "BitArray.h"
CNodeBits::CNodeBits( )
{
m_nodeType = nt_bits;
}
void CNodeBits::Update( const PHOTSPOT Spot )
{
StandardUpdate( Spot );
unsigned char v = (unsigned char)(_tcstoul( Spot->Text.GetString( ), NULL, 16 ) & 0xFF);
if (Spot->Id == 0)
... |
#pragma once
#include "CNodeBase.h"
class CNodeBits : public CNodeBase {
public:
CNodeBits( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( ) { return 1; }
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
}; |
#include "stdafx.h"
#include "CNodeByte.h"
CNodeByte::CNodeByte( )
{
m_nodeType = nt_uint8;
}
void CNodeByte::Update( const PHOTSPOT Spot )
{
unsigned __int8 ByteValue;
StandardUpdate( Spot );
ByteValue = (unsigned __int8)_tcstoul( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 );
if (S... |
#pragma once
#include "CNodeBase.h"
class CNodeByte : public CNodeBase {
public:
CNodeByte( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( ) { return sizeof( unsigned __int8 ); }
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
}; |
#include "stdafx.h"
#include "CNodeCharPtr.h"
CNodeCharPtr::CNodeCharPtr( )
{
m_nodeType = nt_pchar;
m_strName = "PChar";
}
void CNodeCharPtr::Update( const PHOTSPOT Spot )
{
uintptr_t PointerValue;
StandardUpdate( Spot );
#if defined(_M_AMD64)
PointerValue = (uintptr_t)_ttoi64( Spot->Text.G... |
#pragma once
#include "CNodeBase.h"
#include "CMemory.h"
class CNodeCharPtr : public CNodeBase {
public:
CNodeCharPtr( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( ) { return sizeof( void* ); }
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
public:
... |
#include "stdafx.h"
#include "CNodeClass.h"
#include "CClassFrame.h"
CNodeClass::CNodeClass( )
{
TCHAR szOffset[128];
m_nodeType = nt_class;
m_Offset = GetBaseAddress( );
#if defined(_M_AMD64)
_ui64tot_s( m_Offset, szOffset, 128, 16 );
#else
_ultot_s( m_Offset, szOffset, 128, 16 );
#e... |
#pragma once
#include "CNodeBase.h"
class CNodeClass : public CNodeBase {
public:
CNodeClass( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( );
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
inline void SetChildClassFrame( class CClassFrame* pChild ) ... |
#include "stdafx.h"
#include "CNodeClassInstance.h"
CNodeClassInstance::CNodeClassInstance( )
: m_pNode( NULL )
{
m_nodeType = nt_instance;
}
void CNodeClassInstance::Update( const PHOTSPOT Spot )
{
StandardUpdate( Spot );
}
ULONG CNodeClassInstance::GetMemorySize( )
{
return m_pNode->GetMemorySize(... |
#pragma once
#include "CNodeBase.h"
class CNodeClassInstance : public CNodeBase {
public:
CNodeClassInstance( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( );
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
inline void SetClass( CNodeClass* pNode ) { ... |
#include "stdafx.h"
#include "CNodeCustom.h"
CNodeCustom::CNodeCustom( )
{
m_nodeType = nt_custom;
m_strName = _T( "Custom" );
m_ulMemorySize = sizeof( void* );
}
void CNodeCustom::Update( const PHOTSPOT Spot )
{
StandardUpdate( Spot );
if (Spot->Id == 0)
m_ulMemorySize = _ttoi( Spot->Text... |
#pragma once
#include "CNodeBase.h"
class CNodeCustom : public CNodeBase {
public:
CNodeCustom( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( );
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
inline void SetSize( ULONG size ) { m_ulMemorySize = size;... |
#include "stdafx.h"
#include "CNodeDouble.h"
CNodeDouble::CNodeDouble( )
{
m_nodeType = nt_double;
}
void CNodeDouble::Update( const PHOTSPOT Spot )
{
double DoubleValue;
StandardUpdate( Spot );
DoubleValue = _tcstod( Spot->Text.GetString( ), NULL );
if (Spot->Id == 0)
ReClassWriteMemory... |
#pragma once
#include "CNodeBase.h"
class CNodeDouble : public CNodeBase {
public:
CNodeDouble( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( void ) { return sizeof( double ); }
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
}; |
#include "stdafx.h"
#include "CNodeDword.h"
CNodeDword::CNodeDword( )
{
m_nodeType = nt_uint32;
}
void CNodeDword::Update( const PHOTSPOT Spot )
{
DWORD DwordValue;
StandardUpdate( Spot );
DwordValue = _tcstoul( Spot->Text.GetString( ), NULL, g_bUnsignedHex ? 16 : 10 );
if (Spot->Id == 0)
... |
#pragma once
#include "CNodeBase.h"
class CNodeDword : public CNodeBase {
public:
CNodeDword( );
virtual void Update( const PHOTSPOT Spot );
virtual ULONG GetMemorySize( ) { return sizeof( DWORD ); }
virtual NODESIZE Draw( const PVIEWINFO View, int x, int y );
}; |
#include "stdafx.h"
#include "CNodeFloat.h"
CNodeFloat::CNodeFloat( )
{
m_nodeType = nt_float;
}
void CNodeFloat::Update( const PHOTSPOT Spot )
{
float FloatValue;
StandardUpdate( Spot );
FloatValue = (float)_ttof( Spot->Text.GetString( ) );
if (Spot->Id == HS_EDIT)
ReClassWriteMemory( (... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.