text
stringlengths
4
6.14k
// Copyright (c) 2011-2016 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_QT_RECENTREQUESTSTABLEMODEL_H #define BITCOIN_QT_RECENTREQUESTSTABLEMODEL_H #include <qt/walletmodel.h> #in...
#pragma once void colors_default_init(void); void colors_default_show(void); void colors_default_deinit(void); void colors_default_reload_data_and_mark_dirty(void);
/* Excercise 1-3 Modify the temperature conversion program to print a heading above the table */ #include <stdio.h> int main() { float fahr, celsius; int lower, upper, step; lower = 0; upper = 300; step = 20; fahr = lower; printf(" F C\n"); /* Sweet header */ ...
#ifndef CCAMERASLIST_H #define CCAMERASLIST_H #include "compiler/compiler_warnings_control.h" DISABLE_COMPILER_WARNINGS #include <QDialog> RESTORE_COMPILER_WARNINGS namespace Ui { class CCamerasList; } class CCamerasList : public QDialog { public: explicit CCamerasList(QWidget *parent = 0); ~CCam...
#pragma once #include "AbstractDatabase.h" #include "IEmission.h" namespace PR { using EmissionDatabase = MixedDatabase<IEmission>; } // namespace PR
#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_BluejayTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_BluejayTestsVersionStrin...
// // DAAttributedStringFormatter.h // PrairieSchooner // // Created by David Levi on 1/11/13. // Copyright (c) 2013 Double Apps Inc. All rights reserved. // #import <Foundation/Foundation.h> extern NSString* const DALinkAttributeName; extern NSString* const DABackgroundColorAttributeName; @interface DAAttribute...
//#import "GPUImageFilter.h" #import "GPUImage.h" @interface LFGPUImageEmptyFilter : GPUImageFilter { } @end
#pragma once const char* const c_textureDirectory = "data/textures/";
#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_AwesomeData_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_AwesomeData_Examp...
// // BirdsMasterViewController.h // BridWatching // // Created by Yun on 13-8-16. // Copyright (c) 2013年 伟平 周. All rights reserved. // #import <UIKit/UIKit.h> @interface BirdsMasterViewController : UITableViewController @end
// // MDDBHelper.h // MDHandleData // // Created by 没懂 on 2017/4/18. // Copyright © 2017年 com.infomacro. All rights reserved. // #import <Foundation/Foundation.h> @class FMDatabase; @class FMDatabaseQueue; @interface MDDBHelper : NSObject { FMDatabase* _db; FMDatabaseQueue* _dbQueue; } /** * 获取数据库单例对象 *...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "DexClass.h" #include "ReferencedState.h" namespace ir_meta_io { void dump(const Scope& classes, const std::string& ou...
// // Utilities.h // thermaleraser // // Created by Mark Larus on 10/30/12. // Copyright (c) 2012 Kenyon College. All rights reserved. // #ifndef __thermaleraser__Utilities__ #define __thermaleraser__Utilities__ #include <iostream> #include <gsl/gsl_rng.h> #include <set> #include <boost/iterator/iterator_facade.h...
#pragma once /****************************************************************************** * \file ReviseCoreUIRendering.h * \author tlange ******************************************************************************/ // Revise includes #include "ReviseCorePrerequisites.h" #include "ReviseMathTypes.h" #include...
#include <noderb_http.h> typedef struct { VALUE parser; int pre_headers; } nodeRb_http; VALUE nodeRbHttpParser; VALUE nodeRbHttpPointer; int nodeRb_http_on_message_begin(http_parser* parser) { nodeRb_http* client = parser->data; rb_funcall(client->parser, rb_intern("on_message_begin"), 0); return...
#include <stdio.h> #if 0 Write a program detab that replaces tabs in the input with the proper number of blanks to space to the next tab stop. Assume a fixed set of tab stops, say every n columns. Should n be a variable or a symbolic parameter? #endif static const int MAXLINE = 1000; static const int TS = 8; int g...
#ifndef __BVH_H__ #define __BVH_H__ #include <Eigen/Core> #include "bounding_box.h" #include <queue> #include <algorithm> #include <assert.h> #include <vector> #include <iostream> /* Declaration of Bounding Volume Heirarchy (BVH) data struct */ class BVHNode { public: BVHNode *left; BVHNode *right; ...
#ifndef igs_tga_encode_h #define igs_tga_encode_h #include <fstream> // std::ofstream #include <sstream> // std::ostringstream #include <stdexcept> /* std::domain_error */ #include "igs_resource_irw.h" #include "igs_tga_pixel.h" namespace igs { namespace tga { namespace encode { /* --- Pixelñ°Ì¤Î½èÍý ---------...
// Copyright (c) 2014 The LevelDB Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. See the AUTHORS file for names of contributors. #ifndef STORAGE_LEVELDB_INCLUDE_DUMPFILE_H_ #define STORAGE_LEVELDB_INCLUDE_DUMPFILE_H_ #includ...
// // MainTabBarController.h // HNBKitDemo // // Created by 开发 on 2017/7/20. // Copyright © 2017年 开发. All rights reserved. // #import <UIKit/UIKit.h> @interface MainTabBarController : UITabBarController @end
#pragma once #ifndef ENET_CONNECTED_PEER_H #define ENET_CONNECTED_PEER_H #include "config_libenetwrap.h" #include <string> // Needs a bit different forward definiton because thats how enet declares its types struct _ENetPeer; typedef _ENetPeer ENetPeer; struct _ENetHost; typedef _ENetHost ENetHost; #ifdef INTERROGA...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "DVTLayerHostingView.h" @class NSArray, NSMapTable, NSMutableArray; __attribute__((visibility("hidden"))) @interface GPURenderBufferCanvas : DVTLayerHostingView { NSMu...
/* * 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-Protocol.h" @protocol GQPObjectHandler <NSObject> - (void)handleObject:(id)arg1; @end
// // Simperium-OSX.h // Simperium-OSX // // Created by Jorge Leandro Perez on 3/29/16. // Copyright © 2016 Simperium. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Simperium-iOS. FOUNDATION_EXPORT double Simperium_OSXVersionNumber; //! Project version string for Simperium-iOS. F...
// // WorkOrderGroup.h // qmcp // // Created by 谢永明 on 16/4/8. // Copyright © 2016年 inforshare. All rights reserved. // #import <Foundation/Foundation.h> @interface WorkOrderGroup : NSObject @property(nonatomic,copy) NSArray *assign; @property(nonatomic,copy) NSArray *unassign; @end
// // LQSPluginView.h // myOrgForum // // Created by Queen_B on 2016/11/20. // Copyright © 2016年 SkyAndSea. All rights reserved. // #import <UIKit/UIKit.h> @protocol LQSPluginViewDelegate <NSObject> - (void)didSelectBtnAtIndex:(UIButton *)selectedBtn; @end @interface LQSPluginView : UIView @property (nonatomic,we...
#include<stdio.h> int main() { int i,j,k,num; printf("enter the size of pattern: "); scanf("%d",&num); for(i=0;i<num;i++) { for(j=0;j<num-i-1;j++) { printf(" "); } for(k=0;k<=i*2;k++) { printf("* "); } printf("\n"); } for(i=0;i<num-1;i++) { for(j=0;j<=i;j++) { printf(" "); } for(k=1;k<(num-i-1)*2;k++) { printf("* ");...
//------------------------------------------------------------------------------------------------------- // Copyright (C) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. //---------------------------------------------------------...
/* vi: set sw=4 ts=4: */ /* Copyright 2005 Rob Landley <rob@landley.net> * * Switch from rootfs to another filesystem as the root of the mount tree. * * Licensed under GPL version 2, see file LICENSE in this tarball for details. */ #include "libbb.h" #include <sys/vfs.h> // Make up for header deficiencies. #if...
#pragma once #include "geometry.h" #include <vector> std::vector<rbt::point<double>> FindPath(cv::Mat matn, rbt::pose<double> const& posefStart, rbt::point<double> const& ptfEnd); std::vector<rbt::pose<double>> PathConfigurationSpace(cv::Mat matn, rbt::pose<double> const& posefStart, rbt::point<double> const& ptfEnd);
#ifndef LMICE_EAL_SHM_H #define LMICE_EAL_SHM_H #include <stdint.h> #if defined(__APPLE__) || defined(__linux__) typedef int shmfd_t; typedef void* addr_t; #include <unistd.h> #include <sys/mman.h> struct lmice_shm_s { shmfd_t fd; uint32_t size; addr_t addr; char name [32]; }; #...
// Copyright (c) 2014 Jérémy Ansel // Licensed under the MIT license. See LICENSE.txt #pragma once template<class T> class CoMemPtr { private: T* _ptr; public: CoMemPtr() { this->_ptr = nullptr; } CoMemPtr(T* ptr) { this->_ptr = ptr; } ~CoMemPtr() { this->Free(); } operator T*() { return this-...
/* CPlatformer - Platformer feito em C, * SDL e OpenGL. * * stdafx.h * * Criado por Lucas Vieira * Unifei - Campus Itabira, 2013. */ #ifndef STDAFX_H #define STDAFX_H // Bibliotecas #include <stdio.h> #include <stdbool.h> #include <stdlib.h> #include <SDL/SDL.h> #include <GL/gl.h> #include <GL/glu.h> // Defin...
/* Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) an...
#import <UIKit/UIKit.h> @interface DetailCell : UITableViewCell { UITextField *type; UITextField *name; UITextField *prompt; BOOL promptMode; } @property (readonly, retain) UITextField *type; @property (readonly, retain) UITextField *name; @property (readonly, retain) UITextField *prompt; @property BO...
// -*- C++ -*- //===-------------------- support/android/wchar_support.c ------------------===// // // The LLVM Compiler Infrastructure // // This file is dual licensed under the MIT and the University of Illinois Open // Source Licenses. See LICENSE.TXT for details. // //===------------------------...
// // 2019-01-04, jjuiddong // packet protocol header class interface // // cProtocol // protocol type : 4 byte ascii type // packet length : 4 byte ascii type // // header { // char protocol[4]; // char packetSize[4]; // }; // #pragma once namespace network { interface iProtocol { virtual bool MakeHead...
// The MIT License (MIT) // // Copyright (c) 2013 Florida International University // // 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 ...
#ifndef _WZ_GEOMETRY #define _WZ_GEOMETRY #include "WZ_Math.h" #include "GL/glut.h" namespace wz_geometry { void drawAxis(); void drawGrid(); void renderWireCube( GLdouble dSize ); }; #endif
// To check if a library is compiled with CocoaPods you // can use the `COCOAPODS` macro definition which is // defined in the xcconfigs so it is available in // headers also when they are imported in the client // project. // ASCoreDataPriorityQueue #define COCOAPODS_POD_AVAILABLE_ASCoreDataPriorityQueue #define CO...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSView.h" @interface IDEDebugGaugeReportHeaderBackground : NSView { BOOL _shouldDrawBottomSeparator; } @property BOOL shouldDrawBottomSeparator; // @synthesize should...
/* NSPropertyList.h Copyright (c) 2002-2012, Apple Inc. All rights reserved. */ #import <Foundation/NSObject.h> #include <CoreFoundation/CFPropertyList.h> @class NSData, NSString, NSError, NSInputStream, NSOutputStream; typedef NS_OPTIONS(NSUInteger, NSPropertyListMutabilityOptions) { NSPropertyListImmutable = ...
// // ModifyPasswordViewController.h // xbsz // // Created by lotus on 2017/5/16. // Copyright © 2017年 lotus. All rights reserved. // #import "CXWhitePushViewController.h" @interface ModifyPasswordViewController : CXWhitePushViewController @end
#import <UIKit/UIKit.h> #import "LayoutParams.h" @interface FWScrollView : UIScrollView - (void)layoutSubviews; - (void)updateVisibility:(CGRect)bounds; - (NSInteger)indexForVisiblePage; - (void)setPage:(NSInteger)page; - (BOOL)reselectCurrentPage; - (void)showPage:(NSInteger)page animated:(BOOL)animated; - (void)fl...
// // FlipsideViewController.h // ExperienceCamera // // Created by Brian Rogers on 6/22/13. // Copyright (c) 2013 Brian Rogers. All rights reserved. // #import <UIKit/UIKit.h> @class FlipsideViewController; @protocol FlipsideViewControllerDelegate - (void)flipsideViewControllerDidFinish:(FlipsideViewController ...
// // NSMutableArray+VFoundation.h // VFoundation // // Created by JessieYong on 14-3-10. // Copyright (c) 2014年 SJ. All rights reserved. // #import <Foundation/Foundation.h> /** * NSMutableArray' category in VFoundation */ @interface NSMutableArray (NSMutableArrayVFoundation) /** * move object * * @ret...
/* dswap.f -- translated by f2c (version 20061008). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -lm -- in that order, at the end of ...
#include "types.h" #include "x86.h" #include "defs.h" #include "date.h" #include "param.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" int sys_fork(void) { return fork(); } int sys_exit(void) { exit(); return 0; // not reached } int sys_wait(void) { return wait(); } int sys_kill(void) { int...
// // AppDelegate.h // Wrapper // // Created by Adriana Santos on 10/12/2012. // Copyright (c) 2012 Adriana Santos. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // AEImage+Parsing.h // FiveHundredPX // // Created by Ahmed Eid on 3/31/15. // Copyright (c) 2015 AhmedEid. All rights reserved. // #import "AEImage.h" @interface AEImage (Parsing) +(AEImage *)imageFromJSONDictionary:(NSDictionary *)dict; @end
// // MenuViewInterface.h // VIPER // // Created by n0p and Mari on 2015-05-04. // Copyright (c) 2015 Improve Digital. All rights reserved. // #import <Foundation/Foundation.h> @class MainMenuViewModel; @protocol MenuViewInterface <NSObject> - (void)reloadMenuData:(MainMenuViewModel *)data; @end
#ifndef GAMEPATH_H #define GAMEPATH_H #include <glib.h> typedef struct gamepath { gint** path; guint num_row; guint num_col; } GamePath; GamePath* game_path_new_random (guint num_col, guint num_row); gint game_path_get_nth_row (GamePath* game_path, guint n); gint game_path_get_nth_col (GamePath* game_path, guin...
// // SpecHelper.h // Cedule // // Created by Klaas Pieter Annema on 04-11-13. // Copyright (c) 2013 Annema. All rights reserved. // #import "Specta.h" #define EXP_SHORTHAND #import "Expecta.h" #define HC_SHORTHAND #import <OCHamcrest/OCHamcrest.h> #define MOCKITO_SHORTHAND #import <OCMockito/OCMockito.h>
// Generated by Haxe 3.3.0 #ifndef INCLUDED_flixel_system_frontEnds_InputFrontEnd #define INCLUDED_flixel_system_frontEnds_InputFrontEnd #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS2(flixel,input,FlxKeyManager) HX_DECLARE_CLASS2(flixel,input,FlxPointer) HX_DECLARE_CLASS2(flixel,input,IFlxInputManager) H...
// // Created by yun on 2016/11/9. // Copyright (c) 2017 yun. All rights reserved. // #import <UIKit/UIKit.h> @interface YunValueHelper : NSObject + (NSString *)intStr:(NSInteger)intValue; + (NSString *)intStr:(NSInteger)intValue append:(NSString *)append; + (NSString *)intStr:(NSInteger)intValue format:(NSString ...
// // MSCollectionCellModel.h // MMTableViewDemo // // Created by Mac mini 2012 on 15-2-27. // Copyright (c) 2015年 Mac mini 2012. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "MSCellModel.h" /** * cell的viewmodel, 一个cell对应一个cellModel */ @protocol MSCollectionCellMod...
int simpleInvert(double* const a, double* const b, int m);
// Copyright: 2015 Steven Lamerton // License: MIT, see LICENSE #ifndef MAP_GENERATOR_H_ #define MAP_GENERATOR_H_ #include <set> #include <string> class MapGenerator { public: void AddInclusion(std::pair<std::string, std::string> inclusion); void AddSystemFile(std::string path); void PrintMap(); void RemoveS...
/** * \file * * \brief SPI example configuration. * * Copyright (c) 2011-2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: ...
// // Observer.h // Observer // // Created by hukaiyin on 16/3/12. // Copyright © 2016年 HKY. All rights reserved. // #import <Foundation/Foundation.h> #import "Secretary.h" @interface Observer : NSObject @property (nonatomic, strong) NSString *name; @property (nonatomic, strong) Secretary *sub; - (instancetype)...
/** */ #import "SVGKSource.h" NS_ASSUME_NONNULL_BEGIN @interface SVGKSourceString : SVGKSource <NSCopying> @property (nonatomic, strong, readonly) NSString* rawString; - (instancetype)initWithContentsOfString:(NSString*)theStr; + (instancetype)sourceFromContentsOfString:(NSString*)rawString; @end NS_ASSUME_NON...
#ifndef PATH_LIST_H #define PATH_LIST_H #include "../common/io/outputStream.h" #include "path.h" #include "location.h" #include "locationList.h" /** * Tre struct defining a list of paths. */ typedef struct { /** An array of pointer on paths. */ PathData(*paths)[]; /** the size of the list. */ unsig...
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double Pods_SwiftyVerticalScrollBar_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_SwiftyVerticalScrollBar_ExampleVersionString[];
/* * DICE2007Setup_terminate.h * * Code generation for function 'DICE2007Setup_terminate' * * C source code generated on: Sat Sep 1 10:38:21 2012 * */ #ifndef __DICE2007SETUP_TERMINATE_H__ #define __DICE2007SETUP_TERMINATE_H__ /* Include files */ #include <stddef.h> #include <stdlib.h> #include <string.h> #in...
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil ; -*- */ /* * (C) 2011 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ #include "mpiimpl.h" /* -- Begin Profiling Symbol Block for routine MPI_Type_get_true_extent_x */ #if defined(HAVE_PRAGMA_WEAK) #pragma weak MPI_Type_get_t...
#ifndef _ISR_H #define _ISR_H #define IRQ0 32 #define IRQ1 33 #define IRQ2 34 #define IRQ3 35 #define IRQ4 36 #define IRQ5 37 #define IRQ6 38 #define IRQ7 39 #define IRQ8 40 #define IRQ9 41 #define IRQ10 42 #define IRQ11 43 #define IRQ12 44 #define IRQ13 45 #define IRQ14 46 #define IRQ15 47 typedef struct r...
/* * EventBlock.h * DataFileIndexer * * Created by bkennedy on 2/19/08. * Copyright 2008 MIT. All rights reserved. * */ #ifndef EventBlock_ #define EventBlock_ #include <set> #include <vector> #include <boost/shared_ptr.hpp> #include <boost/serialization/serialization.hpp> #include <boost/serialization/ex...
// Copyright (c) 2017 The Chromium Embedded Framework Authors. All rights // reserved. Use of this source code is governed by a BSD-style license that // can be found in the LICENSE file. // // --------------------------------------------------------------------------- // // This file was generated by the CEF translato...
// ========================================================================== // // The MIT License (MIT) // // // // Copyright (c) 2017 Intel Corporation ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The TipaulCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_CHAIN_PARAMS_H #define BITCOIN_CHAIN_PARAMS_H #include "bignum...
/** * @file ic_dfu.h * @author Paweł Kaźmierzewski <p.kazmierzewski@inteliclinic.com> * @author Wojtek Weclewski <w.weclewski@inteliclinic.com> * @date October, 2016 * @brief Neuroon DFU API interface * * Functions provided with this file populates memory with data understandable * by Neuroon mask in ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" @class NSString; @interface FavProductItem : NSObject { NSString *_title; NSString *_description; NSString *_thumbUrl; NSString *_info; NS...
// // VerbalExpressions.h // VerbalExpressions // // Created by Dominique d'Argent on 04/06/14. // Copyright (c) 2014 Dominique d'Argent. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for VerbalExpressions. FOUNDATION_EXPORT double VerbalExpressionsVersionNumber; //! Project version ...
/* Copyright (c) 2014-2015 NicoHood See the readme for credit to other people. 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, ...
#include <cassert> #include <cmath> #include <cstdio> #include <cstdlib> #include <cstdlib> #include <cstring> #include <arpa/inet.h> #include <netdb.h> #include <netinet/in.h> #include <sys/socket.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <algorithm> #include <fstream> #include <ios...
/* * sha1_test.c test assertions * * Copyright (C) 2008, Jason L. Shiffer <jshiffer@zerotao.org>. All Rights Reserved. * See file COPYING for details. * */ /* * Description: */ #ifdef HAVE_CONFIG_H # include <libzt/zt_config.h> #endif /* HAVE_CONFIG_H */ #ifdef HAVE_STRING_H # include <string.h> #endi...
#include <stdio.h> int next_serial(); int next_serial(){ // a local variable that keeps its value between function calls static int result = 0; result += 1; return result; } int main() { printf("%d\n", next_serial()); printf("%d\n", next_serial()); return 0; }
/* Copyright 2016 Matthew Holder 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, publish, distribute, subl...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "ISOperation.h" @class NSNumber, SSMutableAuthenticationContext; @interface SUScriptAuthenticationOperation : ISOperation { NSNumber *_authenticatedDSID; SSMuta...
/* Project Euler ** 19 ** How many Sundays fell on the first of the month during the 21st century - ** 1 Jan 1901 to 31 Dec 2000 ** 1 Jan 1900 was a Monday ** Leap years occur on every year divisible by 4 */ #include <stdio.h> int main(int argc, char** argv) { int sundays = 0; unsigned long day = 2; // monday is 1...
#include<graphics.h> void plot(int x, int y) { if(x>=0 && x<=600 && y>=0 && y<=400) putpixel(x, y, WHITE); } void main() { int gd = DETECT, gm, i; initgraph(&gd, &gm, NULL); int xc = 110, yc = 100, r = 100; int p = 1 - r; int x = 0, y = r; while(x<y){ plot(x+xc, y+yc); plot(-x+xc, y+yc); plot(x...
C $Header$ C $Name$ CBOP C !ROUTINE: CTRL_OPTIONS.h C !INTERFACE: C #include "CTRL_OPTIONS.h" C !DESCRIPTION: C *==================================================================* C | CPP options file for Control (ctrl) package: C | Control which optional features to compile in this package code. C *================...
// // JLDViewController.h // JLDOverflowLabel // // Created by Jean-Luc Dagon on 10/05/13. // Copyright (c) 2013 Cocoapps. All rights reserved. // #import <UIKit/UIKit.h> #import "JLDOverflowLabel.h" @interface JLDViewController : UIViewController @property (nonatomic, strong) IBOutlet JLDOverflowLabel *overflow...
#include "solution.h" void fizzbuzz(int number, char* string) { /***** Enter solution here! *****/ }
// Mutual exclusion spin locks. #include "types.h" #include "defs.h" #include "param.h" #include "x86.h" #include "memlayout.h" #include "mmu.h" #include "proc.h" #include "spinlock.h" void initlock(struct spinlock *lk, char *name) { lk->name = name; lk->locked = 0; lk->cpu = 0; } // Acquire the lock. // Loops...
/*! @file MemoryMonitor.h Declarations for MemoryMonitor class * */ #ifndef MEMORYMONITOR_H #define MEMORYMONITOR_H #include "eirBase.h" #include <QObject> #include <QMap> #include <QMultiMap> #include <QQueue> #include <QTimer> #include "Singleton.h" #include "MemoryMonitorItem.h" class EIRBASES...
#pragma once #include <glbinding/gl/bitfield.h> #include <glbinding/nogl.h> namespace gl46 { // import bitfields to namespace using gl::GL_ACCUM_BUFFER_BIT; using gl::GL_ALL_ATTRIB_BITS; using gl::GL_ALL_BARRIER_BITS; using gl::GL_ALL_SHADER_BITS; using gl::GL_ATOMIC_COUNTER_BARRIER_BIT; using gl::GL_BUFFER_UPDATE...
/** * Copyright (c) 2013 Christopher Kilding * * 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...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" #import "DBGNSImageProvider.h" @class DBGDataValue, DBGNSDataForDataValueProvider, DVTObservingToken, NSData, NSImage, NSString; @interface DBGNSImageProvide...
/******************************************************************************* CYCLOP+ brings OLED support and manual channel selection to the HobbyKing Quanum Cyclops FPV googles. The rx5808-pro and rx5808-pro-diversity projects served as a starting point for the code base, even if little of the actual code...
// // EndlessCarouselViewCell.h // EndlessCarouselView // // Created by Mark on 5/6/14. // Copyright (c) 2014 Mark Kryzhanouski. All rights reserved. // #import <UIKit/UIKit.h> @interface EndlessCarouselViewCell : UIControl { @private NSString* _text; UIFont* ...
// // MapOverlayCreatorAppDelegate.h // MapOverlayCreator // // Created by Philipp Häfele on 01.02.14. // Copyright (c) 2014 Philipp Häfele. All rights reserved. // #import <UIKit/UIKit.h> @interface MapOverlayCreatorAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window...
// // DBChatAvatarView.h // // Copyright (c) 2015 Diana Belogrivaya. All rights reserved. // #import <UIKit/UIKit.h> @class DBChatAvatarView; typedef NS_ENUM(NSInteger, DBChatAvatarState) { DBChatAvatarStateNone, DBChatAvatarStateOffline, DBChatAvatarStateOnline }; @protocol DBChatAvatarViewDataSour...
#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_imgurupload_client_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_imguruploa...
// (C) Todd D. Vance, Deplorable Mountaineer #pragma once #include "GameFramework/NavMovementComponent.h" #include "TankMovementComponent.generated.h" class UTankTrack; /** * */ UCLASS(ClassGroup = (Custom), meta = (BlueprintSpawnableComponent)) class BATTLETANKREPRISE_API UTankMovementComponent : public UNavMovem...
// 自己参照構造体のテスト2 #include <stdio.h> #include <string.h> #include <stdlib.h> struct list { int value; struct list *prev; struct list *next; /* 自己参照構造体 */ }; typedef struct node Node; struct node { int value; Node *prev; Node *next; uint8_t *pixel_data; }; int main(int argc, const char * a...
typedef struct rec { /* outgoing UDP data */ u_short seq; /* sequence number */ } Rec; typedef struct timeval Timeval; typedef struct sockaddr Sockaddr; /* the following are a few definitions from Stevens' unp.h */ typedef void Sigfunc(int); /* for signal handlers */ #define max(a,...
// Copyright 2017 jem@seethis.link // Licensed under the MIT license (http://opensource.org/licenses/MIT) #pragma once #include "core/util.h" #include "usb/util/descriptor_defs.h" #include "usb/util/requests.h" #include "usb_user_impl.h" #if USE_WEBUSB #include "usb/util/webusb.h" #endif #define USB_VERSION_ACCES...
#pragma once #include "ofMain.h" #include "ImgAnalysisThread.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed(int key); void keyReleased(int key); void mouseMoved(int x, int y ); void mouseDragged(int x, int y, int button); void mousePressed(int x...