text
stringlengths
4
6.14k
/* CrossNet - Copyright (c) 2007 Olivier Nallet 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, copy, modify, merge...
/* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * Copyright (c) 2013 Google, Inc. * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use ...
bool isSameTree(struct TreeNode* p, struct TreeNode* q) { if (p == NULL && q == NULL) { return true; } else if ((p && !q) || (q && !p)) { return false; } else if ((p->left == NULL && q->left != NULL) || (q->left == NULL && p->left != NULL)) { return false; } else if ((p->right == NULL && q->right != NULL) || ...
/******************************************************************************** ** Form generated from reading UI file 'askpassphrasedialog.ui' ** ** Created: Sun Feb 16 07:26:55 2014 ** by: Qt User Interface Compiler version 4.8.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI fil...
#include "pQueue.h" #include <stdlib.h> #include <stdio.h> void initPQueue(pQueue **queue) { //We allocate memory for the priority queue type //and we initialize the values of the fields (*queue) = (pQueue *) malloc(sizeof(pQueue)); (*queue)->first = NULL; (*queue)->size = 0; return; } void addPQueu...
#include "injected.h" #include <mach-o/dyld_images.h> #include <mach-o/loader.h> #include <mach-o/nlist.h> #include <string.h> #include <dlfcn.h> /* These values are overwritten on a per-injection basis by the injector. */ /* Must not be defined as consts, or the compiler will optimize them. */ struct dyld_all_image_i...
#ifndef POINT_H #define POINT_H #include <string> using namespace std; class Point { public: Point(string line); Point(double x, double y); void setX(double x); void setY(double y); double getX(); double getY(); private: double x; double y; }; #endif
// // NAGatedVC.h // NAParentalGateAlertDemo // // Created by Nathan Rowe on 9/30/13. // Copyright (c) 2013 Natrosoft LLC. All rights reserved. // #import <UIKit/UIKit.h> @interface NAGatedVC : UIViewController @end
#ifndef CONFFILE_H #define CONFFILE_H #include "netstream.h" void endpt_config_init(struct endpt_cfg * config); int io_config_init(struct io_cfg * config, int nitems); int endpt_config_set_item(struct endpt_cfg * config, char * key, char * value); int parse_config_file(struct io_cfg * config, char * filename); void p...
/** * acx.h * System configuration for a basic cooperative executive * Kernel. * @designer Edwin Frank Barry * @author Christopher Waldon */ /* * Define some hard-ware specific constants */ #define led12 PB6 #define led11 PB5 /* * Define some hardware manipulation macros */ #define output_low(port, pin) (po...
/** * linux terminal progress bar (no thread safe). * @package progress.h */ #ifndef progress_h #define progress_h #include <stdio.h> typedef struct { char chr; /*tip char*/ char *title; /*tip string*/ int style; /*progress style*/ int max; /*maximum value*/ float of...
// // MHYouKuAnthologyHeaderView.h // MHDevelopExample // // Created by CoderMikeHe on 17/2/17. // Copyright © 2017年 CoderMikeHe. All rights reserved. // #import <UIKit/UIKit.h> @class MHYouKuAnthologyHeaderView,MHYouKuAnthologyItem; @protocol MHYouKuAnthologyHeaderViewDelegate <NSObject> @optional /** 更多按钮被点击 ...
// // GONMarkupFont.h // GONMarkupParserSample // // Created by Nicolas Goutaland on 25/06/14. // Copyright (c) 2014 Nicolas Goutaland All rights reserved. // // Define a generic markup to configure font // "size" is used to define font size // If missing, current font size will be used. If not found is set,...
// // UINavigationMenuManager.h // Pods // // Created by Ilter Cengiz on 25/02/15. // // #import <Foundation/Foundation.h> #import "UINavigationMenuController.h" @interface UINavigationMenuManager : NSObject /** Returns a view controller for the given index that will be presented by the navigation menu controll...
// // ContrastChannelView.h // contrast // // Created by Johan Halin on 6.7.2015. // Copyright © 2015 Aero Deko. All rights reserved. // #import <UIKit/UIKit.h> #define CONTRAST_COLOR_OUTLINE [UIColor colorWithRed:(253.0 / 255.0) green:(225.0 / 255.0) blue:(209.0 / 255.0) alpha:1.0] #define CONTRAST_COLOR_FULL ...
#include <windows.h> #include <stdio.h> #include <psapi.h> #include <string.h> #include <time.h> #include <math.h> #define WINDOWNAME "Counter-Strike: Global Offensive" #define PLRSZ 0x18 #define SERVERDLL "server.dll" #define CLIENTDLL "client.dll" const DWORD plr_num_offset = 0x93DCF8; const DWORD plr_list_offset =...
#ifndef GRADIENT_H #define GRADIENT_H #include "qm_t.h" #include "mol.h" typedef struct{ double f; double g; } fgpair_t; void gradient(double * Da, double * Db, double * H, double * pmmm, double * g, int * alo, int * alv, basis * bo, basis * bv, mol * m, qmdata * qmd); void gradient_r(double * D, double * H,...
#ifndef _3DUTILITIES_H #define _3DUTILITIES_H #pragma once #include "../ext/Quaternion.h" /* These functions should probably be folded into 3dbasics at some point. But they're here for now. */ Quaternion RotateTowards(const Quaternion& from, const Quaternion& to, float maxDegreesDelta); #endif
#include <stdio.h> int findbig(const int*,int); int main(int argc, char const *argv[]) { int lines; char s[1010]={'\0'},*pstr=s; scanf("%d",&lines); getchar(); while(lines--){ int count[26]={0}; gets(s); pstr=s; while(*pstr) count[*pstr++-'a']++; printf("%c\n",findbig(count,26)+'a'); } return 0; }...
// // HCPInstallationWorker.h // // InfinitusHotCodePush // // Created by M on 16/8/30. // #import <Foundation/Foundation.h> #import "HCPWorker.h" #import "HCPFilesStructure.h" /** * 安装类 * * @see HCPWorker */ @interface HCPInstallationWorker : NSObject<HCPWorker> /** * 初始化 * * @param newVersion 需要安装的新版...
/* * (c) 2010 Koninklijke Philips Electronics N.V., All rights reserved * * This source code and any compilation or derivative thereof is the * proprietary information of Koninklijke Philips Electronics N.V. and is * confidential in nature. * Under no circumstances is this software to be exposed to or placed un...
//MIT License // //Copyright (c) 2019 Mindaugas Vinkelis // //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, copy, modify...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CDStructures.h" #import <IDEFoundation/IDEArchivedContent.h> @class DVTFilePath; @interface IDEArchivedInAppContent : IDEArchivedContent { } + (id)keyPathsForValuesAffec...
/* ** functions.c for functions.c in /home/kiwi/CPool_evalexpr ** ** Made by Lyes Kaïdi ** Login <kiwi@epitech.net> ** ** Started on Fri Oct 28 17:44:44 2016 Lyes Kaïdi ** Last update Fri Oct 28 17:47:02 2016 Lyes Kaïdi */ #include "./include/calc.h" #include "./include/my_functs.h" int next_token_index = 0;...
#pragma once #ifdef SWIGJAVA class IsrCallback { public: virtual ~IsrCallback() { } virtual void run() { /* empty, overloaded in Java*/ } private: }; static void generic_callback_isr (void* data) { IsrCallback* callback = (IsrCallback*) data; callback->run(); } #endif
/* ----------------------------------------------------------------------------- This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2012 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any...
// // SamplePanelView.h // SampleApp // // Created by honcheng on 11/27/10. // Copyright 2010 honcheng. All rights reserved. // #import <UIKit/UIKit.h> #import "PanelView.h" @interface SamplePanelView : PanelView @end
#ifndef CPU_H #define CPU_H #include "Type.h" #include "memory.h" #include "stages.h" class cpu_core { public: cpu_core(); ~cpu_core(); void run(); word PC = 0; memory mem; word reg[32]; IFS ifs; IDS ids; EXS exs; MYS mys; WBS wbs; }; #endif /* CPU_H */
// Copyright 2017 jem@seethis.link // Licensed under the MIT license (http://opensource.org/licenses/MIT) #include "key_handlers/key_normal.h" #include "core/matrix_interpret.h" #include "hid_reports/keyboard_report.h" /* TODO: fn keycode */ bit_t is_layer_keycode(keycode_t keycode) { return ( keycode >= KC_L0 ...
#include <Python.h> #include <stdio.h> #include <complex.h> #include "julia.c" static PyObject *_julia_Julia(PyObject *self, PyObject *args){ double min_r, max_r, min_i, max_i, resolution; Py_complex z; double complex Z; if(!PyArg_ParseTuple(args, "ddddDd", &min_r, &max_r, &min_i, &max_i, &z, &resolu...
#ifndef DEF_DOMAIN #define DEF_DOMAIN #include <iostream> #include <list> #include <set> using namespace std; class Domain { public: Domain(); Domain(int newn); void afficher(); bool isEmpty(); int smallestDom(); list<int> * getLDomain(); void setLDomain(list<int> ...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_VIPER_ExampleTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_VIPER_ExampleTests...
// // DZResponse.h // DZNetworking // // Created by Nikhil Nigade on 7/28/15. // Copyright (c) 2015 Dezine Zync Studios LLP. All rights reserved. // #import <Foundation/Foundation.h> @interface DZResponse : NSObject @property (nonatomic, copy, readonly) id responseObject; @property (nonatomic, copy, readonly) NS...
// // TLConversationCell.h // TLChat // // Created by 李伯坤 on 16/1/23. // Copyright © 2016年 李伯坤. All rights reserved. #import <UIKit/UIKit.h> #import "TLConversation.h" #define HEIGHT_CONVERSATION_CELL 64.0f typedef NS_ENUM(NSInteger, TLConversationCellSeperatorStyle) { TLConversationCellSeperatorS...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <iWorkImport/TSCH3DSceneRenderSetup.h> // Not exported @interface TSCH3DSceneRenderCameraSetup : TSCH3DSceneRenderSetup { } + (id)allocWithZone:(struct _NSZone *)arg1; ...
// // PriceFormatter.h // eBayDemoApp // // Created by bulldog on 13-3-24. // Copyright (c) 2013 Leansoft. All rights reserved. // @interface PriceUtil : NSObject /// Converts given convertedCurrentPrice attributes to a string + (NSString *)stringFromConvertedCurrentPrice:(NSNumber *)value currency:(NS...
// // DTAccount.h // DefenseOfTheAncients // // Created by Mr.Yao on 16/3/16. // Copyright © 2016年 Mr.Yao. All rights reserved. // #import <Foundation/Foundation.h> @interface DTAccount : NSObject @property (nonatomic, strong) NSNumber *uid; @property (nonatomic, strong) NSString *token; + (instancetype)sharedA...
/* CDVAdMobAdsAdListener.h Copyright 2015 AppFeel. All rights reserved. http://www.appfeel.com AdMobAds Cordova Plugin (cordova-admob) 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 wit...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <IDEFoundation/IDEContainer.h> #import <IDEKit/IDEKeyDrivenNavigableItemRepresentedObject-Protocol.h> @class DVTDocumentLocation, DVTFileDataType, DVTSymbol, IDEContai...
//===========source description ================================= //http://we.easyelectronics.ru/STM32/stm32---bit-banding.html //=============================================================== #ifndef BITBANDING_H #define BITBANDING_H #define MASK_TO_BIT31(A) (A==0x80000000)? 31 : 0 #define MASK_TO_BIT30(A) ...
// // PDFKitten.h // PDFKitten // // Created by Nickolay Tarbayev on 17.04.14. // Copyright (c) 2014 Chalmers Göteborg. All rights reserved. // #import <PDFKitten/PDFKPageScanner.h> #import <PDFKitten/PDFKSelection.h>
/* * zipl - zSeries Initial Program Loader tool * * Mini libc implementation * * Copyright IBM Corp. 2013, 2017 * * s390-tools is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See LICENSE for details. */ #ifndef LIBC_H #define LIBC_H #include <stdint.h> #include...
/* This file is part of TableGUI. Copyright (c) 2014 Felipe Ferreira da Silva TableGUI is licensed under MIT license. See the file "LICENSE" for license details. */ TGUIWidget *GUI_Alloc_Label(TGUIWindow *AWindow, TGUIWidget *AWidget);
/* * Copyright (C) 2015-2018 Freie Universität Berlin * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup boards_stk3600 * @{ * * @file * @brief Configuration of ...
// // ViewController.h // DRImagePlacerholerHelperExample // // Created by Albert on 11.08.13. // Copyright (c) 2013 Albert Schulz. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController { IBOutlet UIImageView *imageView1; IBOutlet UIImageView *imageView2; IBOutle...
#ifndef _SPACEWAR_H #define _SPACEWAR_H #define WIN32_LEAN_AND_MEAN #include "game.h" class Spacewar : public Game { private: public: // Constructor Spacewar(); //Destructor virtual ~Spacewar(); // Initialize the game void initialize(HWND hwnd); void update(); // Pure virtual functions f...
/* ** my_isneg.c for my_isneg in /home/soto_a/rendu/Piscine_C_J03 ** ** Made by adam kaso ** Login <soto_a@epitech.net> ** ** Started on Wed Oct 1 13:22:15 2014 adam kaso ** Last update Fri Dec 5 14:48:05 2014 Kaso Soto */ #include "my.h" int my_isneg(int n) { if (n >= 0) { my_putchar('P'); } ...
/* * Copyright (c) 2017 Jason Waataja * * 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, copy, modify, merge, publi...
#include "../../src/scene_graph/pnodefactory.h"
/* * * 20150315-4.c * * * Created by Sam Niemoeller on 3/28/15. * * Chapter 4, Problem 30 * * Write a program that generates a random number * from the following set: 1, 4, 7, 10, 13, 16 * The seed for the series is the computer's time. * */ #include <stdio.h> #include <stdlib.h> #include <time.h> int ...
/* main.c */ #define F_CPU 8000000 #include <stdio.h> #include <string.h> #include <util/delay.h> #include <avr/interrupt.h> #include <avr/io.h> #include "../lib/ring_buffer.h" #include "../lib/serial.h" /* Basic test of interrupt based serial functionality */ int main(void) { uart_init(); sei();...
/** * @file msg_io.h * @brief The header file for msg_io.c. * @author Yiwei Chiao (ywchiao@gmail.com) * @date 06/01/2017 created. * @date 06/15/2017 last modified. * @version 0.1.0 * @copyright MIT, (C) 2017 Yiwei Chiao * @details * * The header file for msg_io.c. */ ...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" @class NSString; @interface AXEventListenerContainer : NSObject { id handler; NSString *identifier; } @property(retain, nonatomic) NSString *ident...
// // KPHRequest.h // KeePassHttp-ObjC // // Created by James Hurst on 2014-09-21. // Copyright (c) 2014 James Hurst. All rights reserved. // #import <Foundation/Foundation.h> #import "JSONModel.h" static NSString *const kKPHRequestGetLogins = @"get-logins"; static NSString *const kKPHRequestGetLoginsCount = @"g...
/******************************************************************************* USART Peripheral Library Template Implementation File Name: usart_Receiver9Bits_Default.h Summary: USART PLIB Template Implementation Description: This header file contains template implementations For Feature : ...
//-*-c++-*- #pragma once namespace meson { // Header to ignore CORS. extern const char kCORSHeader[]; // Strings describing Chrome security policy for DevTools security panel. extern const char kSHA1Certificate[]; extern const char kSHA1MajorDescription[]; extern const char kSHA1MinorDescription[]; extern const char...
#pragma once // Qt. #include <QWidget> #include <QSize> // Forward declarations. class QVBoxLayout; class QAbstractButton; // Multi purpose view container to help with maximization, focus management, and titlebar support. class rgViewContainer : public QWidget { Q_OBJECT public: rgViewContainer(QWidget* pPa...
// // Copyright (C) 2016, Vinodh Kumar M. <GreenHex@gmail.com> // // Weather icons from Forecast Font <http://forecastfont.iconvau.lt>. // #pragma once #include <pebble.h> #include "global.h" #include "pbl_64_hex_colours.h" #ifdef INCLUDE_WEATHER typedef struct { char glyph; uint32_t colour; } GLYPH; typedef st...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "GameFramework/PlayerController.h" #include "TankPlayerController.generated.h" class UTankAimingComponent; /** * */ UCLASS() class BATTLETANK_API ATankPlayerController : public APlayerController { GENERATED_BODY...
//{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by AzDailyWorkspace.rc // #define IDS_APP_TITLE 103 #define IDR_MAINFRAME 128 #define IDD_AZDAILYWORKSPACE_DIALOG 102 #define IDD_ABOUTBOX 103 #define IDM_ABOUT 104 #define IDM_EXIT 105 #define IDI_AZDAILYWORKSPACE 107 #define...
#define _POSIX_SOURCE #define _POSIX_C_SOURCE 200112L #include <stdio.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <stdlib.h> int main(int argc, char**argv){ if ((argc != 2) || (0 == strcmp(argv[1], "-h"))){ printf("usage: %s path\n", argv[0]); return 1; } int retval = 0; /* p...
// Copyright (c) 2016-2017 The Doriancoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DORIANCOIN_WALLET_RPCWALLET_H #define DORIANCOIN_WALLET_RPCWALLET_H #include <string> class CRPCTable; class CWa...
/* * Copyright (C) 2018, STMicroelectronics - All Rights Reserved * * Configuration settings for the STM32MP15x CPU * * SPDX-License-Identifier: GPL-2.0+ BSD-3-Clause */ #ifndef __CONFIG_H #define __CONFIG_H #include <linux/sizes.h> #include <asm/arch/stm32.h> #define CONFIG_PREBOOT /* * Number of clock ticks...
/* The MIT License Copyright (c) 2008 Dennis Møllegaard Pedersen <dennis@moellegaard.dk> 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 righ...
#ifndef HALIDE_PYTHON_BINDINGS_PYBOUNDARYCONDITIONS_H #define HALIDE_PYTHON_BINDINGS_PYBOUNDARYCONDITIONS_H void define_boundary_conditions(); #endif // HALIDE_PYTHON_BINDINGS_PYBOUNDARYCONDITIONS_H
/* hourly.h -*- C++ -*- ** Include file for Hourly class ** ** COPYRIGHT (C) 1994 Bradley M. Kuhn ** ** Written : Bradley M. Kuhn Loyola College ** By ** ** Written : David W. Binkley Loy...
#pragma once #ifndef _TERRAINCLASS_H_ #define _TERRAINCLASS_H_ #include <d3d11.h> #include <DirectXMath.h> #include <stdio.h> #include <math.h> #include "textureclass.h" const int TEXTURE_REPEAT = 16; class TerrainClass { private: struct VertexType { DirectX::XMFLOAT3 position; DirectX::XMFLOAT2 texture; Dir...
// DBMWriter.h: interface for the CDBMWriter class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_DBMWRITER_H__C1FF6E3E_45BA_478C_88E2_D2CB3C061575__INCLUDED_) #define AFX_DBMWRITER_H__C1FF6E3E_45BA_478C_88E2_D2CB3C061575__INCLUDED_ #include "windows.h" #include "Str.h" c...
// Copyright (c) 2009-2019 Satoshi Nakamoto // Copyright (c) 2009-2019 The Bitcoin Developers // Copyright (c) 2016-2019 Duality Blockchain Solutions Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SEQUENCE_QT...
// Copyright (c) 2014 The Caroline authors. All rights reserved. // Use of this source file is governed by a MIT license that can be found in the // LICENSE file. /// @author Mlodik Mikhail <mlodik_m@mail.ru> #ifndef CORE_JSON_MATRIX_HELPERS_H_ #define CORE_JSON_MATRIX_HELPERS_H_ #include "json/value.h" #include "ope...
#ifndef _EASYEDITOR_ONE_FLOAT_VALUE_H_ #define _EASYEDITOR_ONE_FLOAT_VALUE_H_ namespace ee { class OneFloatValue { public: virtual ~OneFloatValue() {} virtual float GetValue() const = 0; }; // OneFloatValue } #endif // _EASYEDITOR_ONE_FLOAT_VALUE_H_
#ifndef WARSPRITES #define WARSPRITES #include <avr/pgmspace.h> extern const unsigned char warsprite_grass1[]; extern const unsigned char warsprite_grass2[]; extern const unsigned char warsprite_trees[]; extern const unsigned char warsprite_dirt[]; extern const unsigned char warsprite_mountain[]; extern const unsigne...
// Copyright (c) 2017 GitHub, Inc. // Use of this source code is governed by the MIT license that can be // found in the LICENSE file. #ifndef SHELL_BROWSER_UI_WEBUI_PDF_VIEWER_UI_H_ #define SHELL_BROWSER_UI_WEBUI_PDF_VIEWER_UI_H_ #include <memory> #include <string> #include "base/macros.h" #include "content/public/...
/* * The MIT License (MIT) * * Copyright (c) 2016 Nels D. "Chip" Pearson (aka CmdrZin) * * 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 limitati...
/** * @file KeyboardButtonTest.h * @brief Contains KeyboardButtonTest fixture * @author Khalin Yevhen * @version 0.0.1 * @date 28.09.17 */ #pragma once #include <gtest\gtest.h> #include "..\khalin04\KeyboardButton.h" #include "..\khalin04\KeyboardButton.cpp" /** * @brief Test fixture for using the sam...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "UIButton.h" @interface SBNotificationVibrantButton : UIButton { UIButton *_vibrantButton; UIButton *_overlayButton; } - (id)_buttonImageForColor:(id)arg1 selected...
/* Some parameters for the placement of the runtime stack in the buffer lab */ #define STACK_SIZE 0x100000 #ifdef STACK #define START_ADDR (void *) STACK #else #define START_ADDR (void *) 0x55586000 #endif
#pragma once #include <QAbstractItemModel> #include <memory> class ProfFile; class ProfTreeItem; class ProfTreeModel : public QAbstractItemModel { public: ProfTreeModel(const std::shared_ptr<ProfFile>& ctx); virtual ~ProfTreeModel(); QVariant data(const QModelIndex& index, int role) const override; Qt::ItemFlags...
/*=================================================== LIST MASTER HEADERS ===================================================*/ //Multiple definition prevention #ifndef BBInterface_ListMaster_h #define BBInterface_ListMaster_h //Includes //Pre-defined structures struct list; struct listnode; //Define these struc...
/* Code generated by IfcQuery EXPRESS generator, www.ifcquery.com */ #pragma once #include <vector> #include <map> #include <sstream> #include <string> #include "ifcpp/model/GlobalDefines.h" #include "ifcpp/model/BasicTypes.h" #include "ifcpp/model/BuildingObject.h" #include "IfcCartesianTransformationOperator...
// // LevelManager.h // SoA // // Created by John Doe on 2/2/16. // Copyright © 2016 John Doe. All rights reserved. // #ifndef LevelManager_h #define LevelManager_h #import <UIKit/UIKit.h> @interface LevelManager : NSObject - (void) Load; - (void) Unload; @end #endif /* LevelManager_h */
//{{NO_DEPENDENCIES}} // Microsoft Developer Studio generated include file. // Used by EasySRT.rc // #define IDD_EASYSRT_DIALOG 102 #define IDR_MAINFRAME 128 #define IDD_LYRICS 130 #define IDC_EDIT1 1001 #define IDC_BUTTON2 10...
#ifndef Input_H #define Input_H //! Storage struct for touch inputs. struct Input { Input(int Id, float x, float y) : Id(Id), x(x), y(y) {} int Id; float x, y; }; #endif
#ifndef ICAL_PARAMETERS_altrep_H #define ICAL_PARAMETERS_altrep_H #include <ostream> #include "core/genericpropertyparameter.h" #include "parserexception.h" namespace ical { namespace parameters { class AltRep { private: std::string value; public: static const std::string NAME; const std::string &getV...
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_DragToDismissViewController_TestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_DragToDismissViewController_TestsVersionString[];
#ifndef __P_BUFFER_H__ #define __P_BUFFER_H__ void P_bufferinit(); void P_bufferclose(); #endif
#ifndef _TCompare_H_ #define _TCompare_H_ ////////////////////////////////////////////////////////////////////////////// // // Compare Object // ////////////////////////////////////////////////////////////////////////////// class DefaultEquals { public: template<class TEqualsValue> bool operator () (const TEq...
/***************************************************************** * Copyright (c) 2005 Tim de Jong, Brent Miszalski * * * * All rights reserved. * * Distributed under the terms of the MIT License. * ****************************************************************...
int myAtoi(char* str) { while(1){ if(NULL == str){ return 0; } char v = *str; if(v == ' ' || v == '\t' || v == '\n' || v == '\r'){ str++; }else{ break; } } int positive = 1; char* start=NULL; if((*str) == '...
/* * Copyright (c) 2008-2018 SLIBIO <https://github.com/SLIBIO> * * 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 * ...
/*************************************************************************************** * This header file is an implementation for search_anagram * Author: huhao * Date: 2017.07.22 * Modification record: * ***************************************************************************************/ #include <string...
// // SCCatWaitingHUD.h // SCCatWaitingHUD // // Created by Yh c on 15/11/13. // Copyright © 2015年 Animatious. All rights reserved. // #import <UIKit/UIKit.h> #import "UIViewExt.h" #define ScreenWidth [[UIScreen mainScreen] bounds].size.width #define ScreenHeight [[U...
/** * @file CompilerVersion.h * @ingroup Utils * @brief Get the version of the C++ compiler used. * * Copyright (c) 2017 Sebastien Rombauts (sebastien.rombauts@gmail.com) */ #pragma once #include <string> namespace Utils { /** * @brief Get the version of the C++ compiler used. * @ingroup Utils * * W...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2014 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ #import "TiViewProxy.h" @interface ComGuidolimTiclusteredmapkitViewProxy : TiView...
/* CsvToJson.exe [“ü—ÍCSVƒtƒ@ƒCƒ‹ o—ÍJSONƒtƒ@ƒCƒ‹] */ #include "C:\Factory\Common\all.h" #include "C:\Factory\Common\Options\csv.h" static void CsvToJson(char *rFile, char *wFile) { autoList_t *csv = readCSVFileTR(rFile); autoList_t *head; uint rowidx; FILE *wfp; head = getList(csv, 0); // HACK: o—̓tƒH[ƒ...
// Copyright 2016 Jonathan Buchanan. // This file is part of Sunglasses, which is licensed under the MIT License. // See LICENSE.md for details. #ifndef TEXTURERESOURCE_H #define TEXTURERESOURCE_H #include <sunglasses/Extern/Resource.h> #include <string> #include <GL/glew.h> namespace sunglasses { class TextureRes...
// // CLJIChunk.h // PersistentStructure // // Created by Robert Widmann on 3/26/14. // Copyright (c) 2014 CodaFi. All rights reserved. // Released under the MIT license. // #import "CLJIIndexed.h" #include "CLJTypes.h" /// The CLJIChunk protocol declares the two methods necessary for an object to call itself a ...
#pragma once #include "vec3.h" namespace solar { class mat33 { public: static const int FORWARD_ROW_INDEX; static const int UP_ROW_INDEX; static const int CROSS_ROW_INDEX; private: #pragma warning(push) #pragma warning(disable:4201) //warning C4201: nonstandard extension used: nameless struct/union u...
// Copyright 2014 Yu Jing<yujing5b5d@gmail.com> #ifndef INCLUDE_ARGCV_UTIL_UTIL_H_ #define INCLUDE_ARGCV_UTIL_UTIL_H_ #include <cmath> #include <ctime> #include <cstdint> // uint64_t #include <sstream> #include <string> #include <vector> #include <map> namespace argcv { namespace util { // c style hash key generat...
// Copyright (c) 2015 The Truthcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef TRUTHCOIN_QT_BALLOTSEALEDVOTEFILTERPROXYMODEL_H #define TRUTHCOIN_QT_BALLOTSEALEDVOTEFILTERPROXYMODEL_H #include <QMode...