text
stringlengths
4
6.14k
/* * PwmEsc.h * * Created on: Mar 26, 2014 * Author: fabien papleux */ #ifndef PWMESC_H_ #define PWMESC_H_ #include "PCA9685.h" /*** This class requires a PWM controller class (implemented here as PCA9685) where to send the following commands: * * int reset (void) // resets controller * int isRea...
#pragma once #include <config.h> namespace nspace{ template<typename Mat, typename Func> class MatrixSetFunction{ public: static inline void operation(Mat & result, Func f){ for(int i=0; i < result.rows(); i++){ for(int j=0; j < result.cols(); j++){ result(i,j)=f(i,j); } ...
// ========================================================================================================== // Copyright (c) 2016 ChenChen <codingmanon@163.com> // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and // associated documentation files (the "Software"),...
/* Copyright (c) 2012-2017 The ANTLR Project. All rights reserved. * Use of this file is governed by the BSD 3-clause license that * can be found in the LICENSE.txt file in the project root. */ #pragma once #include "Transition.h" namespace antlr4 { namespace atn { class ANTLR4CPP_PUBLIC EpsilonTransition fina...
// // RootViewController.h // VXPromotionViewController // // Created by Swift Management AG on 18.12.2014. // Copyright 2011 Swift Management AG. All rights reserved. // #import <UIKit/UIKit.h> #import "VXWalkthroughViewController.h" @interface ViewController : UIViewController<VXWalkthroughViewControllerDelegat...
/* * Strategies.h * * Created on: Apr 29, 2014 * Author: khanhn */ #ifndef STRATEGIES_H_ #define STRATEGIES_H_ #include "MemoryStrat.h" #include "FileStrat.h" #endif /* STRATEGIES_H_ */
// Copyright (c) 2016 Antony Arciuolo. See License.txt regarding use. // a ring is a 2D torus (circle outline) in 3-space #pragma once #include <oMath/hlsl.h> namespace ouro { // returns true if there is an intersection // a0, a1: the line segment // center: location of the ring's center // normal: normalized norma...
#pragma once #ifdef _WIN32 #ifdef EXPORT_FCNS #define EXPORTED_FUNCTION __declspec(dllexport) #else #define EXPORTED_FUNCTION __declspec(dllimport) #endif //LINUX/UNIX... #else #define EXPORTED_FUNCTION #endif
// // WeakProxySubclass.h // Pie // // Created by Meiwin Fu on 7/11/14. // Copyright (c) 2014 Piethis Pte Ltd. All rights reserved. // #import "NugWeakProxy.h" #ifndef Nugget_NugProxySubclass_h #define Nugget_NugProxySubclass_h @interface NugWeakProxy (Subclass) - (void)setTarget:(id)target; @end #endif
/* * Copyright (c) 2007 - 2021 Joseph Gaeddert * * 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, mer...
#include <stdio.h> int main(int argc, char *argv[]) { int bugs = 100; double bug_rate = 1.2; printf("You have %d bugs at the imaginary rate of %f. \n", bugs, bug_rate); unsigned long universe_of_defects = 1L * 1024L * 1024L * 1024L * 1024L * 1024L * 1024L * 8; printf("The entire univer...
#include <xc.h> #include "Define.h" #include "Battery.h" #include "Global.h" #include "mcc_generated_files/adc.h" float Battery_Volt[10]={3.000,3.000,3.000,3.000,3.000,3.000,3.000,3.000,3.000,3.000}; float TempBattery_Volt[10]; float PrevBattery_Volt[10]; /*************************************************************...
// // SOLoadMoreItem.h // SOKit // // Created by soso on 15/5/18. // Copyright (c) 2015年 com.. All rights reserved. // #import "SOBaseItem.h" /** * @brief 是否自动加载更多的key */ extern NSString * const _KeyLoadMoreItemAutoLoadMore; /** * @brief 加载时,是否显示提示的key */ extern NSString * const _KeyLoadMoreItemShowActiv...
/* crypto/cms/cms_att.c */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project. */ /* ==================================================================== * Copyright (c) 2008 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or witho...
#ifndef _ImageSetSample_h_ #define _ImageSetSample_h_ #include <boost/shared_ptr.hpp> #include "Media/media_define.h" #include "Media/MediaSampleFactory.h" #include "Media/IImageSetSample.h" #include "Media/ImageSample.h" namespace Limitless { #pragma warning(push) #pragma warning(disable:4251) class...
#ifndef PAGEETIQUETTE_H #define PAGEETIQUETTE_H #include <QWidget> namespace Ui { class PageEtiquette; } class PageEtiquette : public QWidget { Q_OBJECT public: explicit PageEtiquette(QWidget *parent = 0); ~PageEtiquette(); private: Ui::PageEtiquette *ui; }; #endif // PAGEETIQUETTE_H
//======================================================================== // GLFW 3.1 POSIX - www.glfw.org //------------------------------------------------------------------------ // Copyright (c) 2002-2006 Marcus Geelnard // Copyright (c) 2006-2010 Camilla Berglund <elmindreda@elmindreda.org> // // This softw...
// // JoyNoDataBackView.h // Toon // // Created by wangguopeng on 16/9/1. // Copyright © 2016年 Joy. All rights reserved. // #import <UIKit/UIKit.h> @interface JoyNoDataBackView : UIView @property (nonatomic,copy)NSString *imageStr; @property(nonatomic,copy)NSString *labelStr; @end
#include "queue.h" int main (int argc, char * argv[]) { struct q_rep * q = malloc(sizeof(struct q_rep)); q->head = NULL; q->tail = NULL; // Write some tests! See if you can cover every possible case // WITHOUT looking at the implementation of the functions declared // in queue.h // //...
#ifndef MASTER_H #define MASTER_H #include <QtCore/QObject> #include <QtNetwork/QAbstractSocket> #include <QtNetwork/QHostAddress> #include "../src/socketconnector.h" #endif
// Copyright (c) 2018 Doyub Kim // // I am making my contributions/submissions to this project solely in my // personal capacity and am not conveying any rights to any intellectual // property of any third parties. #ifndef INCLUDE_JET_SERIAL_H_ #define INCLUDE_JET_SERIAL_H_ namespace jet { //! //! \brief Fills ...
// // EDWelcomeWindowController.h // Editor // // Created by Todd Ditchendorf on 9/27/13. // Copyright (c) 2013 Todd Ditchendorf. All rights reserved. // #import <Cocoa/Cocoa.h> @interface EDWelcomeWindowController : NSWindowController <NSTableViewDataSource, NSTableViewDelegate> - (id)init; // use me - (IBActi...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
// // ValidatorForm.h // RYForm // // Created by xiaerfei on 16/5/24. // Copyright © 2016年 Rongyu100. All rights reserved. // #import <Foundation/Foundation.h> @interface ValidatorForm : NSObject /** * @author xiaerfei, 16-05-24 15:05:35 * * 验证值是否为空 * * @param value * * @return bool */ + (BOOL)val...
/// -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: t -*- /// /// \file modulea.h /// \author Martin Reddy /// \brief A module that uses one of its methods as a callback. /// /// Copyright (c) 2010, Martin Reddy. All rights reserved. /// Distributed under the X11/MIT License. See LICENSE.txt. /// See http://A...
// // AppDelegate.h // NotificationsHW // // Created by Artem Belkov on 23/06/15. // Copyright © 2015 Artem Belkov. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#ifndef TR_UI #define TR_UI #include <ncurses.h> #include "bookcase.h" int update_content(WINDOW* wp, int fp, long index[], int *now); int update_bks(WINDOW* wp, bookcase_t* bcp, int highlight); int update_bcs(WINDOW* wp, manifest_t* mp, int highlight); int switch_to_bk(WINDOW* wp, char* filename); int switch_to_...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif #import "DATASource.h" FOUNDATION_EXPORT double DATASourceVersionNumber; FOUNDATION_EXPORT const unsigned char DATASourceVersionString[];
// Copyright 2015-present 650 Industries. All rights reserved. #import <UIKit/UIKit.h> #import <React/RCTBridgeModule.h> #import <React/RCTEventEmitter.h> @interface EXLinkingManager : RCTEventEmitter - (instancetype)initWithInitialUrl: (NSURL *)initialUrl; - (void)dispatchOpenUrlEvent: (NSURL *)url; @end
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <UIKit/UIImageView.h> @class NSArray, NSString, UIView, _UIBadgeView, _UISegmentedControlAppearanceStorage; // Not exported @interface UISegment : UIImageView { UIV...
// // HXWaveRateChartViewController.h // HXChartDemo // // Created by hubery on 2017/10/28. // Copyright © 2017年 hubery. All rights reserved. // 水波进度 #import <UIKit/UIKit.h> #import "HXChart.h" @interface HXWaveRateChartViewController : UIViewController @end
// // HEROTableViewCell.h // fluidArchitecture // // Created by Moritz Ellerbrock on 23/01/17. // Copyright © 2017 fluidmobile GmbH. All rights reserved. // #import <UIKit/UIKit.h> #import "HEROBaseViewInterface.h" @interface HEROTableViewCell : UITableViewCell <HEROBaseViewInterface> @end
#ifndef _QUN_H #define _QUN_H #include "qqdef.h" typedef struct qunmember{ uint number; char nickname[NICKNAME_LEN]; ushort face; uchar age; uchar sex; uchar qqshow; uchar flag; uchar status; uchar account_flag; char account[ACCOUNT_LEN]; //email account uchar role, org; }qunmember; typedef s...
#ifndef OPTIONSMODEL_H #define OPTIONSMODEL_H #include "bignum.h" // for mpq #include <QAbstractListModel> /** Interface from Qt to configuration data structure for applebycoin client. To Qt, the options are presented as a list with the different options laid out vertically. This can be changed to a tree on...
/* * 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/TSDKnob.h> // Not exported @interface TSDAudioKnob : TSDKnob { } - (_Bool)isHitByUnscaledPoint:(struct CGPoint)arg1 andRep:(id)arg2 returningDistance:(doub...
// // ExPloreModelArr.h // MONOV3 // // Created by apple on 16/3/29. // Copyright © 2016年 JiangChile. All rights reserved. // #import "BaseModel.h" #import "Meow.h" @interface ExPloreModelArr : BaseModel + (NSMutableArray *)getExPloreModelArray:(NSDictionary *)dictionary; @end
/* * Copyright (c) 2004, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * n...
// // StylesViewController.h // LMReportDemo // // Created by Chenly on 16/4/18. // Copyright © 2016年 Little Meaning. All rights reserved. // #import <UIKit/UIKit.h> @interface StylesViewController : UIViewController @end
/* This file is part of the FruitsMania game project, distributed under the MIT license. Repository: https://github.com/AndreiDiea/fruitsMania Description: FruitsMania is a SDL match-three concept/prototype game. Copyright: (c) 2014 Andrei Diea Permission is hereby granted, free of charge, to any person obtaining a c...
#ifndef ABOUT_H #define ABOUT_H #include <QWidget> #include "config.h" namespace Ui { class About; } class About : public QWidget { Q_OBJECT public: explicit About(QWidget *parent = 0); ~About(); private slots: void on_close_clicked(); void on_License_clicked(); voi...
// // XHOperationNetworkKit.h // XHOperationNetworkKit // // Created by 曾 宪华 on 14-1-2. // Copyright (c) 2014年 嗨,我是曾宪华(@xhzengAIB),曾加入YY Inc.担任高级移动开发工程师,拍立秀App联合创始人,热衷于简洁、而富有理性的事物 QQ:543413507 主页:http://zengxianhua.com All rights reserved. // #import <Foundation/Foundation.h> typedef void (^XHHTTPProgressHandler)...
#include <stdio.h> #include "framework/logging.h" #include "framework/actors.h" #include "framework/display.h" #include "framework/input.h" #include "framework/numbers.h" #include "systems.h" #include "entities.h" #include "spells.h" #include "rects.h" #include "graphics.h" #include "particles.h" #include "lights.h" #...
/** * hook.c * * Copyright (c) 2017 endaaman * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ #include "hook.h" #define HOOK_KEY_TITLE "title" #define HOOK_KEY_BELL "bell" #define HOOK_KEY_CLICKED "clicked" #define HOOK_KEY_SCROLL "sc...
/** * @file gdt.c * @brief Handles operations with GDT. */ #include <kernel/gdt.h> #include <kernel/consts.h> #include <kernel/debug.h> #include <stdint.h> /** * @brief Will be sent to GDTR. */ struct GDTP { uint16_t size; ///< Size of GDT uint32_t off; ///< Offset of GDT } __attribute__((packed)); struc...
#ifndef PLAYBACKMGR_H #define PLAYBACKMGR_H #define FFT_SIZE 4096 #include <QObject> #include <bass.h> #include "ui_playbackwidget.h" #include "dbi/dbi.h" class PlaybackWidget : public QWidget { Q_OBJECT public: explicit PlaybackWidget(QWidget *parent = 0); ~PlaybackWidget(); enum Playstate {PLAYING,...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <PhotoBoothEffects/PBFilter.h> @interface PBNormalFilter : PBFilter { } @end
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE190_Integer_Overflow__int_fgets_square_63b.c Label Definition File: CWE190_Integer_Overflow__int.label.xml Template File: sources-sinks-63b.tmpl.c */ /* * @description * CWE: 190 Integer Overflow * BadSource: fgets Read data from the console using fgets() * ...
// // LFViewController.h // MapViewPolygonMask // // Copyright (c) 2014 Leonardo Ascione (https://github.com/leonardfactory) // // 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 withou...
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/*============================================================================ This C source file is part of the SoftFloat IEEE Floating-Point Arithmetic Package, Release 3e, by John R. Hauser. Copyright 2011, 2012, 2013, 2014, 2015, 2016 The Regents of the University of California. All rights reserved. Redistribu...
#pragma once #include <thread> class joining_thread { std::thread t; public: joining_thread() noexcept=default; template<typename Callable,typename ... Args> explicit joining_thread(Callable&& func,Args&& ... args): t(std::forward<Callable>(func),std::forward<Args>(args)...) {} expl...
#ifndef _wicked_wsqoperator_h_ #define _wicked_wsqoperator_h_ #include <string> class WIndex; enum SQOperatorType { Creation, Annihilation }; class WSQOperator { public: WSQOperator(SQOperatorType type, WIndex index); ~WSQOperator(); bool operator<(WSQOperator const &other) const; bool operator==(WSQOpera...
// // DateTimeHandler.h // Hockey Playoffs // // Created by Pierre-Marc Airoldi on 2014-04-07. // Copyright (c) 2015 Pierre-Marc Airoldi. All rights reserved. // #import <Foundation/Foundation.h> @interface DateTimeHandler : NSObject +(NSDate *)now; +(NSString *)getDateForDate:(NSString *)date andTime:(NSString ...
#ifndef PROGRESSBAR #define PROGRESSBAR //My Includes #include "IControl.h" #include "../Graphics/Direct3D.h" #include "../Input/Input.h" #include "../Graphics/2D/Sprite.h" #include "../Graphics/2D/Forms/Rectangle.h" ////////////////////////////////////////////////////////////////////////// //Class: ProgressBar /////...
#ifndef M2X_UTILITY_H #define M2X_UTILITY_H #if defined(__cplusplus) extern "C" { #endif typedef int (*path_filling_function)(char *buffer, const char *args[]); int query_with_interleave_fill(char *buffer, const char *args[]); int interleave_path_and_param_fill(char *buffer, const char *args[]); int path_and_query_f...
// -*- c++ -*- #ifndef SIM_BINARY_SAMPLER_H #define SIM_BINARY_SAMPLER_H #include <ostream> #include <string> #include <vector> #include <utility> #include <cstddef> class Config; namespace Simulator { class VariableRegistry; // BinarySampler: used by Monitor to quickly serialize scalar // variables to ...
// // Transacao.h // CrossAppTeste // // Created by Andre Luiz Costa on 24/08/15. // Copyright (c) 2015 OneBuy. All rights reserved. // #import <Foundation/Foundation.h> #import "Criptografia.h" @interface Transacao : NSObject @property (retain) NSString *DataFinal; @property (retain) NSString *DataInicial; @prop...
#ifndef __GK_BASE_CONCURRENCY__ #define __GK_BASE_CONCURRENCY__ #include<thread> #include<Windows.h> #include<mutex> #include<iostream> namespace gk{ namespace base{ class gkmutex{ #if _MSC_VER > 1800 mutex m_mutex; public: void lock(){ m_mutex.lock(); } void unlock(){ m_mutex.unlock(); } ...
// ring.c : Defines the entry point for the console application. // #include <stdio.h> #include <stdlib.h> #include "ring.h" /* Create a ring buffer with the specified size. Return the ring or NULL if there is not enough memory to create. */ struct ring* ring_create(int size) { struct ring *rb = (struct ring*)...
/*================================================================= * Jason Tam * October 2013 * An attempt to make my Othello AI faster by using C * Syntax in MATLAB: * * [ nextBoards, actions] = getAllValid( b, tok ) *=================================================================*/ #include <math.h> #inclu...
// RoundFunc.h /* * Copyright (C) 2013 Spencer T. Parkin * * This software has been released under the MIT License. * See the "License.txt" file in the project root directory * for more information about this license. * */ //======================================================================================...
/* Dooba Firmware - avr8 * SSD1306 OLED Display Library * * by Eresse <eresse@dooba.io> */ #ifndef __SSD1306_TXT_H #define __SSD1306_TXT_H // External Includes #include <stdint.h> #include <stdarg.h> #include <avr/io.h> // Format String Text Printer Info Structure struct ssd1306_txt_f_print_info { // Multi-Line...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "MMObject.h" @class NSString; @interface VPResourceItem : MMObject { unsigned int uiResId; unsigned int uiScene; NSString *nsRes; } @property(nonatomic) unsig...
// // libViewController.h // test // // Created by OMyCar on 2017/8/30. // Copyright © 2017年 com.lxh. All rights reserved. // #import <UIKit/UIKit.h> @interface libViewController : UIViewController @end
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "UIViewController.h" #import "UITableViewDataSource-Protocol.h" #import "UITableViewDelegate-Protocol.h" @class MPAVController, MPRadioAVItem, NSString, RadioStation, U...
/* * Copyright (c) 2006-2009 Erin Catto http://www.box2d.org * * 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 this software for any purpos...
// // CSTableViewCell.h // Samples // // Created by allting on 2/13/14. // // #import <UIKit/UIKit.h> @class KRSyncItem; @interface CSTableViewCell : UITableViewCell -(void)setSyncItem:(KRSyncItem*)syncItem documentsPath:(NSString*)documentsPath; -(void)setProgressValue:(CGFloat)value; @end
#ifndef NCODE_CIRCULAR_ARRAY_H_ #define NCODE_CIRCULAR_ARRAY_H_ #include <array> #include <cstdbool> #include <vector> #include "common.h" #include "logging.h" namespace nc { // A simple circular array. template <typename T, size_t NumValues> class CircularArray { public: static constexpr size_t kMaxValues = Num...
#ifndef ILLA_C_FACTORY_H #define ILLA_C_FACTORY_H #include "types.h" #include <string> #include <vector> namespace Img { class AbstractCodec; class ICodecFactory { public: typedef std::vector<std::string> ExtensionList; public: const ExtensionList& SupportedExtensions() const; const std::string& GetForma...
/* * ===================================================================================== * * Filename: SR_BamMemPool.h * * Description: * * Version: 1.0 * Created: 09/13/2011 04:14:34 PM * Revision: none * Compiler: gcc * * Author: Jiantao Wu (), * ...
/* * Copyright (C) 2016 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions a...
// // Copyright (c) 2008-2021 the Urho3D project. // // 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, mod...
// // JMUIConversationDatasource.h // JMUIKit // // Created by oshumini on 16/1/5. // Copyright © 2016年 HXHG. All rights reserved. // #import <Foundation/Foundation.h> #import "JMUIChatModel.h" @interface JMUIChattingDatasource : NSObject @property (strong, nonatomic)JMSGConversation *conversation; @property (st...
/** ****************************************************************************** * @file FMC/FMC_SDRAM/stm32f4xx_it.c * @author MCD Application Team * @version V1.8.0 * @date 04-November-2016 * @brief Main Interrupt Service Routines. * This file provides template for all except...
#pragma once #include <cstddef> #include <string> #include "CommonTypes.h" namespace Common { const u32 MEM1_SIZE = 0x1800000; const u32 MEM1_START = 0x80000000; const u32 MEM1_END = 0x81800000; const u32 MEM2_SIZE = 0x4000000; const u32 MEM2_START = 0x90000000; const u32 MEM2_END = 0x94000000; enum class MemType ...
// // PropertyDemoController.h // LayZhangDemo // // Created by LayZhang on 2017/5/26. // Copyright © 2017年 Zhanglei. All rights reserved. // #import "ZLViewController.h" @interface PropertyDemoController : ZLViewController @end
// Copyright (c) 2009-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_WALLET_CRYPTER_H #define BITCOIN_WALLET_CRYPTER_H #include <keystore.h> #include <serialize.h> #include <sup...
// // NewController.h // BaiSi // // Created by user on 2019/2/18. // Copyright © 2019 Wu. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface NewController : UIViewController @end NS_ASSUME_NONNULL_END
// // ViewController.h // HDAlertViewDemo // // Created by HeDong on 16/9/1. // Copyright © 2016年 hedong. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#ifndef INCLUDED_flixel_math_FlxCallbackPoint #define INCLUDED_flixel_math_FlxCallbackPoint #ifndef HXCPP_H #include <hxcpp.h> #endif #ifndef INCLUDED_flixel_math_FlxPoint #include <flixel/math/FlxPoint.h> #endif HX_DECLARE_CLASS2(flixel,math,FlxCallbackPoint) HX_DECLARE_CLASS2(flixel,math,FlxPoint) HX_DECLARE_CLASS2...
// Copyright 2013 Room77 Inc. All Rights Reserved. // Author: pramodg@room77.com (Pramod Gupta) #ifndef _PUBLIC_UTIL_LOG_CHANNEL_CHANNEL_H_ #define _PUBLIC_UTIL_LOG_CHANNEL_CHANNEL_H_ #include <unordered_map> #include "base/common.h" #include "util/templates/container_util.h" namespace meta { namespace channel { e...
/*** *eh.h - User include file for exception handling. * * Copyright (c) 1993-2001, Microsoft Corporation. All rights reserved. * *Purpose: * User include file for exception handling. * * [Public] * ****/ #if _MSC_VER > 1000 #pragma once #endif #ifndef _INC_EH #define _INC_EH ...
// // AppDelegate.h // FEAudioDisplayView // // Created by YamatoKira on 16/1/30. // Copyright © 2016年 feeling. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#include "tokenizer.h" #include <stdlib.h> #include <string.h> #include <stdio.h> #include <ctype.h> #define MAX_IN_STR_LEN 128 #define STARTING_BUFFER_SIZE 256 #define BUFFER_INC_RATIO 2 static char *dynamic_cat(char s[], size_t *size, char in[]); static int is_numeric(char s[]); static int read_alpha(char *s[], cha...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2011 by showroomApp, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. *...
// // JTabBarButton.h // JKitDemo // // Created by Zebra on 16/6/7. // Copyright © 2016年 陈杰. All rights reserved. // #import <UIKit/UIKit.h> @interface JTabBarButton : UIButton @end
/*Copyright (C) 2013 Mamadou Diop * Copyright (C) 2013 Doubango Telecom <http://www.doubango.org> * * This file is part of Open Source Doubango Framework. * * DOUBANGO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Softwa...
#include <linux/err.h> #include <plat/mcspi.h> #include <asm/uaccess.h> #include <linux/interrupt.h> #include <linux/input.h> #include <linux/spi/spi.h> #include "dac7612.h" #include <linux/module.h> #define MODULE_DEBUG 0 static struct spi_device *dac7612_spi_device = NULL; int dac7612_spi_read_reg8(u8 addr, u8* va...
/* This file is based on code taken from http://en.wikibooks.org/w/index.php?title=Algorithm_Implementation/Miscellaneous/Base64&oldid=2735872 on 7th January 2015. The page includes the follow text: """ This code is also public domain. This solution has been optimized using pointer math and a look-up table. This ...
/* * ofxBulletBox.h * ofxBullet_v3 * * Created by Nick Hardeman on 5/23/11. * Copyright 2011 Arnold Worldwide. All rights reserved. * */ #pragma once #include "ofxBulletBaseShape.h" #include "ofVbo.h" class ofxBulletBox : public ofxBulletBaseShape { public: ofxBulletBox(); ~ofxBulletBox(); void init(...
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.com> // // 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 r...
/* * The MIT License (MIT) * * Copyright (c) 2015 vmolsa <ville.molsa@gmail.com> (http://github.com/vmolsa) * * 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 wi...
// // HFFormImageBrowserVC.h // HFFormTest // // Created by lifenglei on 17/4/6. // Copyright © 2017年 lifenglei. All rights reserved. // #import <UIKit/UIKit.h> @class HFFormImageBrowserVC; @interface HFFormImageBrowserModel : NSObject @property (nonatomic, copy) NSString *imageURL; @property (nonatomic, stron...
#ifndef ADMIN_H #define ADMIN_H #include <Windows.h> #endif int adminPage(HWND hWnd);
#ifndef MESH_H #define MESH_H #include <gl\glew.h> #include <glm/glm.hpp> #include <glm/gtc/type_ptr.hpp> #include <vector> #include <math.h> class Mesh { public: std::vector<GLfloat> vertex; //Todo: Need to get Triangle Data std::vector<GLubyte> indices; Mesh(); ~Mesh(); private: }; Mesh GenerateTetra...
#ifndef OPENTISSUE_UTILITY_GLUT_GLUT_EVENT_HANDLERS_H #define OPENTISSUE_UTILITY_GLUT_GLUT_EVENT_HANDLERS_H // // OpenTissue Template Library // - A generic toolbox for physics-based modeling and simulation. // Copyright (C) 2008 Department of Computer Science, University of Copenhagen. // // OTTL is licensed under zli...
// // Vector.h // CObjects // // Created by averello on 4/3/13. // Copyright (c) 2013 George Boumis. All rights reserved. // #ifndef CObjects_Vector_h #define CObjects_Vector_h CO_DECLARE_CLASS(Vector) UInteger getVectorCapacity(const void *const self); UInteger getVectorCapacityIncrement(const void *const self)...
// Copyright (c) 2013 AndroidToken Developers #ifndef PBKDF2_H #define PBKDF2_H #include <openssl/sha.h> #include <stdint.h> typedef struct HMAC_SHA256Context { SHA256_CTX ictx; SHA256_CTX octx; } HMAC_SHA256_CTX; void HMAC_SHA256_Init(HMAC_SHA256_CTX * ctx, const void * _K, size_t Klen); void HMAC_SHA256_...
/* * ===================================================================================== * * Filename: <FILENAME> * * Description: I dedicate all this code,all my work,to my wife. * * Version: 1.0 * Created: <DATE> * Revision: none * Compiler: gcc * * Auth...
// // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file was obtained (LICENSE.txt). A copy of the license may also be // found online at https://opensource.org/licens...