text
stringlengths
4
6.14k
// // 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" @interface _IDEKitPrivateClassForFindingBundle : NSObject { } @end
#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_WZYUnlimitedScrollViewDemoVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_WZYUnlimit...
#ifndef SYMTAB_H #define SYMTAB_H #include "symbol.h" void symtab_init(); void push_scope(); void pop_scope(); symbol *bind_symbol(char *name); symbol *lookup_symbol(char *name); void print_symtab(); #endif
/* --------------------------------------------------------------------------- Open Asset Import Library (assimp) --------------------------------------------------------------------------- Copyright (c) 2006-2021, assimp team All rights reserved. Redistribution and use of this software in source and binary forms,...
// // DORDoneHUD.h // DORDoneHUD // // Created by Pawel Bednorz on 23/09/15. // Copyright © 2015 Droids on Roids. All rights reserved. // #import <UIKit/UIKit.h> @interface DORDoneHUD : NSObject + (void)show:(UIView *)view message:(NSString *)messageText completion:(void (^)(void))completionBlock; + (void)show:(U...
// Copyright (c) 2013-2014 PropCoin Developers #ifndef CLIENTVERSION_H #define CLIENTVERSION_H // // client versioning and copyright year // // These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 1 #define CLIENT_VERSION_MINOR 5 #define CLIENT_VER...
/* * Signals.h * * Created on: 07.06.2017 * Author: abt674 * * */ #ifndef SIGNALS_H_ #define SIGNALS_H_ //Lightbarriers and Sensor #define INLET_IN_VAL 0b0000000000000001 #define INLET_OUT_VAL 0b0000000000000011 #define HEIGHTMEASUREMENT_IN_VAL 0b0000000000000010 #define HEIGH...
/* * Configuration.h * * Created on: Nov 25, 2015 * Author: yash */ #ifndef CONFIGURATION_H_ #define CONFIGURATION_H_ #include <string> #include <vector> #include <map> #include <mutex> namespace daf { class Config { private: std::string FileLocation; std::mutex Lock; std::map<std::string,...
#include <string> #include <vector> using std::string; using std::vector; // StrUtil class class StrUtils { public: /**Function used to trim empty character * from begin and end of the string * @param string& string to trim * @return string& trimed tring, same object of parameter */ static string tri...
#include <stdio.h> #include <stdlib.h> static inline void swap(int *a, int *b) { int tmp = *a; *a = *b; *b = tmp; } static int firstMissingPositive(int* nums, int numsSize) { if (numsSize == 0) { return 1; } int i = 0; while (i < numsSize) { /* nums[i] should be i+1 and nu...
/* -*- C++ -*- */ // $Id: ntsvc.h 80826 2008-03-04 14:51:23Z wotte $ // ============================================================================ // // = LIBRARY // examples/NT_Service // // = FILENAME // ntsvc.h // // = DESCRIPTION // This is the definition of the sample NT Service class. This example ...
#ifndef SE_SCANNNER_H #define SE_SCANNNER_H #include <stdio.h> #include <stdlib.h> #include <string> #include "read.h" #include "fusion.h" #include "match.h" #include <cstdlib> #include <condition_variable> #include <mutex> #include <thread> #include "fusionmapper.h" using namespace std; struct ReadPack { Read*...
#ifndef _SYSAPPDB_SYSAPPDBHELPER_H_ #define _SYSAPPDB_SYSAPPDBHELPER_H_ #include <vector> #include <map> #include <string> #include "sqlite3.h" std::vector<std::string> read_text_file(std::string path); std::vector<std::string> split_str(std::string src, char c); std::string join_str(std::vector<std::string> strings,...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "WFBTLEServiceProcessor.h" @class NSData, WFNordicDFUControlPointCh, WFNordicDFUPacketCh; @interface WFBTLENordicDFUService : WFBTLEServiceProcessor { id <WFNordicDFUD...
#include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <sys/types.h> #include <pthread.h> #include <errno.h> #include "semaphore.h" typedef struct lock { Semaphore *sem; } Lock; Lock *make_lock () { Lock *lock = (Lock *) malloc (sizeof(Lock)); lock->sem = make_semaphore(1); return lock; } void l...
// // EBBannerView+Categories.h // demo // // Created by pikacode@qq.com on 2017/10/20. // Copyright © 2017年 pikacode@qq.com. All rights reserved. // #import "EBBannerView.h" #define WEAK_SELF(weakSelf) __weak __typeof(&*self)weakSelf = self; #define ScreenWidth [UIScreen mainScreen].bounds.size.width #define Sc...
/***************************************************************************** * x264: h264 encoder ***************************************************************************** * Copyright (C) 2005 Tuukka Toivonen <tuukkat@ee.oulu.fi> * * This program is free software; you can redistribute it and/or modify * it ...
// // UIView+BluredSnapshot.h // CustomTransitionAndBlur // // Created by Gao Song on 11/1/15. // Copyright © 2015 Gao Song. All rights reserved. // #import <UIKit/UIKit.h> @interface UIView (BluredSnapshot) -(UIImage *)blurredSnapshot; @end
// // BallVC.h // KenshinPro // // Created by apple on 2019/1/31. // Copyright © 2019 Kenshin. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface BallVC : UIViewController @end NS_ASSUME_NONNULL_END
#import <UIKit/UIKit.h> FOUNDATION_EXPORT double NSObject_SerializeVersionNumber; FOUNDATION_EXPORT const unsigned char NSObject_SerializeVersionString[];
// // Created by root on 07.05.17. // #ifndef BASICMODEL_BASEMANAGER_H #define BASICMODEL_BASEMANAGER_H #include <mysql++.h> #include <vector> #include "dbConfig.h" namespace model { namespace manager { template<class ModelName> class baseManager { public: baseManager() { ...
/******************************************************************************* * Filename: irc_comm.h * * These are functions and definitions that can be used for both the client * and the server programs. * * Written by: James Ross *****************************************************************************...
//*************************************************************************** // Copyright (C) 2009 Realmac Software Ltd // // These coded instructions, statements, and computer programs contain // unpublished proprietary information of Realmac Software Ltd // and are protected by copyright law. They may not be disclo...
/* Copyright (c) 2012 Jess VanDerwalker <washu@sonic.net> * All rights reserved. * * data.h * * 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 ...
/************************************************************************ The MIT License(MIT) Copyright(c) 2014 Lingjijian [B-y] 342854406@qq.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 ...
#ifndef _PSW_H_INCLUDED_ #define _PSW_H_INCLUDED_ /* * (補足) プロセッサステータスレジスタ(PSW): * -------+----------+---------------------------------------- * b16 | I | 割り込み許可ビット(0:禁止/1:許可) * b17 | U | スタックポインタ指定ビット(0:ISP/1:USP) * b20 | PM | プロセッサモード設定ビット(0:S/1:U) * b27-24 | IPL[3:0] | プロセッサ割り込み優先...
#ifndef VIEWER_H #define VIEWER_H #include "common.h" #include "drawable.h" #include "controller.h" class Viewer { public: bool glfw_is_up; GLFWwindow* window; GLuint VertexArrayID; int width; int height; Controller controls; std::vector<Drawable *> drawables; Viewer(); void add( Drawabl...
#pragma once #include "Component.h" #include "Transform.h" #include "CubeMesh.h" using namespace Beans; class PlayerController : public Component, public Utilities::AutoLister<PlayerController> { public: PlayerController(GameObject* owner); REFLECT_CLASS; static void UpdatePlayerControllers(double dt); void...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtNetwork module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid comm...
// // This is the main include file for the gcode library // It parses and executes G-code functions // // gcode.h // #ifndef GCODE_H #define GCODE_H #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdint.h> #include <stdarg.h> #ifndef NRF51 // G-code debug print unsigned int debug(const char *f...
#pragma once char separator; #ifdef _WIN32 #define DIR_SEPARATOR '\\' #else #define DIR_SEPARATOR '/' #endif #include <string> #include <algorithm> using namespace std; class PathUtil{ public: /*A small function to extract FileName from File Path C:/File.exe -> File.exe */ string static extractFileName(string Fil...
// // AppDelegate.h // testspinner // // Created by Christian Menschel on 29/09/15. // Copyright © 2015 TAPWORK. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // DNTag.h // DNTagView // // Created by dawnnnnn on 16/9/1. // Copyright © 2016年 dawnnnnn. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface DNTag : NSObject @property (nonatomic, copy) NSString *text; @property (nonatomic, copy) NSAttribute...
#pragma once #include "FtInclude.h" #include <string> namespace ft { class Library { public: Library(); ~Library(); FT_Library library = nullptr; Library(const Library&) = delete; Library(Library&&) = delete; Library& operator = (const Library&) = delete; Library& operat...
// // RegionContainerViewController.h // MH4U Dex // // Created by Joseph Goldberg on 3/6/15. // Copyright (c) 2015 Joseph Goldberg. All rights reserved. // #import <UIKit/UIKit.h> @class Region; @interface RegionContainerViewController : UIViewController @property (nonatomic, strong) Region *region; @end
// // RepeatExpression.h // iLogo // // Created by Yuhua Mai on 10/27/13. // Copyright (c) 2013 Yuhua Mai. All rights reserved. // #import "ScopedExpression.h" //#import "Expression.h" @interface RepeatExpression : ScopedExpression { Expression *variableExpression; NSMutableArray *commandExpression; } ...
// // HomeDateContainerView.h // XQDemo // // Created by XiangqiTu on 15-4-13. // // #import <UIKit/UIKit.h> @interface HomeDateContainerView : UIView - (void)caculateDateWithTimestamp:(NSString *)timestamp; @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 <HomeSharing/HSRequest.h> @interface HSItemDataRequest : HSRequest { } + (id)requestWithDatabaseID:(unsigned int)arg1 itemID:(unsigned long long)arg2 format:(id)arg3; -...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import <Foundation/NSPredicateOperator.h> @interface NSCompoundPredicateOperator : NSPredicateOperator { } + (id)notPredicateOperator; + (id)orPredicateOperator; + (id)andPred...
// // Copyright (c) 2017-2020 the rbfx 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, modify, mer...
/* 1023 组个最小数 (20 分) */ #include <stdio.h> #include <stdlib.h> #include <string.h> int main(int argc, char *argv[]) { // 处理输入 int n = 10; int quantities[n]; for (int i = 0; i < n; i++) { if (scanf("%d", &quantities[i]) != 1) return EXIT_FAILURE; } // 组装数字 int nums[5...
// // DYMEPubChapterFile.h // DYMEpubToPlistConverter // // Created by Dong Yiming on 15/11/13. // Copyright © 2015年 Dong Yiming. All rights reserved. // #import <Foundation/Foundation.h> @interface DYMEPubChapterFile : NSObject @property (nonatomic, copy) NSString *chapterID; @property (nonatomic, copy) NSString...
/* * Simple Vulkan application * * Copyright (c) 2016 by Mathias Johansson * * This code is licensed under the MIT license * https://opensource.org/licenses/MIT */ #include <stdlib.h> #include <stdio.h> #include <unistd.h> #include <string.h> #include "util/vulkan.h" #include "util/window.h" int main() {...
#ifndef DIMACSGENERATOR_H #define DIMACSGENERATOR_H 1 #include <vector> #include <fstream> #include "cnfclause.h" #include "cnfformula.h" #include "satgenerator.h" /** A very very basic DIMACS parser. Only parses for cnf formulas. */ class DimacsGenerator : public SatGenerator{ private: std::string filename; ...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif #import "DataStatistic.h" #import "TalkingData.h" #import "TalkingDataSMS.h" FOUNDATION_EXPORT double DataStatisticVersionNumber; FOUNDATION_EXPORT const unsigned char DataStatisticVersionString[];
#ifndef MESSAGEFILE_H #define MESSAGEFILE_H #include "xmlserializable.h" #include <QList> #include <QByteArray> #include <QImage> #include "messagekey.h" #include "messagetypemix.h" namespace Velasquez { class DrawingElement; } namespace MoodBox { #define MESSAGE_FILE_EXTENSION ".mbm" #de...
/*************************************************************************/ /* surface_tool.h */ /*************************************************************************/ /* This file is part of: */ /* ...
#pragma once class Menu : public QWidget { private: QGridLayout layout; QPushButton play_single; QPushButton play_2v2; QPushButton play_multi; public: Menu(Window *window, Game *game); };
// node-vcdiff // https://github.com/baranov1ch/node-vcdiff // // Copyright 2014 Alexey Baranov <me@kotiki.cc> // Released under the MIT license #ifndef VCDIFF_H_ #define VCDIFF_H_ #include <memory> #include <string> #include <node.h> #include <node_object_wrap.h> #include <uv.h> #include <v8.h> namespace open_vcdi...
/******************************************************************************** ** Form generated from reading UI file 'modifystationdlg.ui' ** ** Created by: Qt User Interface Compiler version 5.7.0 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! **********************************...
/* Copyright (C) 2001-2015 Peter Selinger. This file is part of Potrace. It is free software and it is covered by the GNU General Public License. See the file COPYING for details. */ #ifndef BACKEND_GEO_H #define BACKEND_GEO_H #include "potracelib.h" int page_geojson(FILE *fout, potrace_path_t *plist, int as_...
/* * 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" // Not exported @interface GQDWPColumn : NSObject { long long mIndex; float mWidth; float mSpacing; _Bool mHasSpacing; } + (const struct St...
// // AppDelegate.h // discovery // // Created by Karthik Rao on 1/20/17. // Copyright © 2017 Karthik Rao. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* File: Reachability.h Abstract: Basic demonstration of how to use the SystemConfiguration Reachablity APIs. Version: 2.1 Disclaimer: IMPORTANT: This Apple software is supplied to you by Apple Inc. ("Apple") in consideration of your agreement to the following terms, and your use, installation, mo...
#ifndef LIBFEEDKIT_CONSTANTS_H #define LIBFEEDKIT_CONSTANTS_H #include <String.h> #include <vector> namespace FeedKit { class Channel; class Content; class Enclosure; class Feed; class Item; extern const char *ServerSignature; typedef std::vector<BString> uuid_list_t; typedef std::vector<Content *> conte...
#include <stdio.h> struct Employee { unsigned int id; char name[256]; char gender; float salary; }; void addEmployee(FILE *f) { struct Employee emp; printf("Adding a new employee, please type his id \n"); int id; scanf("%d", &id); if (id > 0) { while (1) { //search if id already in use struct Employee t...
// // YYBaseLib.h // YYBaseLib // // Created by 银羽网络 on 16/7/19. // Copyright © 2016年 银羽网络. All rights reserved. // #import <UIKit/UIKit.h> #import "AppConfig.h" #import "BaseViewController.h" #import "CommonTool.h" #import "DataVerify.h" #import "FSMediaPicker.h" #import "MBProgressHUD+MBProgressHUD_Category.h" ...
#pragma once /** * Copyright (c) blueback * Released under the MIT License * https://github.com/bluebackblue/brownie/blob/master/LICENSE.txt * http://bbbproject.sakura.ne.jp/wordpress/mitlicense * @brief OpenGL。 */ /** include */ #pragma warning(push) #pragma warning(disable:4464) #include "../t...
// Copyright (c) 2020 The Firo Core Developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef FIRO_ELYSIUM_SIGMAWALLETV0_H #define FIRO_ELYSIUM_SIGMAWALLETV0_H #include "sigmawallet.h" namespace elysium { class Sigma...
#if !defined(AFX_DIALOG3_H__8EF7DE42_F33E_4217_87B0_FE9ACBCE3E84__INCLUDED_) #define AFX_DIALOG3_H__8EF7DE42_F33E_4217_87B0_FE9ACBCE3E84__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Dialog3.h : header file // ////////////////////////////////////////////////////////////////////////...
/* * Copyright 2013 MongoDB, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or a...
/* * Business.h * UsersService * * Copyright 2011 QuickBlox team. All rights reserved. * */ #import "QBUsersModels.h"
// // GFTestAppDelegate.h // TestChaosApp // // Created by Michael Charkin on 2/26/14. // Copyright (c) 2014 GitFlub. All rights reserved. // #import <UIKit/UIKit.h> @interface GFTestAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // rbLinkedList.h // rbLinkedList // // Created by Ryan Bemowski on 4/6/15. // #pragma once #include <string> struct Node { int key; Node *next; }; class rbLinkedList { public: /** Constructor for the rbLinkedList class. */ rbLinkedList(); /** Deconstructor for the rbLinkedList class...
// // KAAppDelegate.h // UIViewController-KeyboardAdditions // // Created by CocoaPods on 02/03/2015. // Copyright (c) 2014 Andrew Podkovyrin. All rights reserved. // #import <UIKit/UIKit.h> @interface KAAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* HardwareSerial.h - Hardware serial library for Wiring Copyright (c) 2006 Nicholas Zambetti. All right reserved. This library 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 2...
/* Copyright (c) 2014-2020, The Tor Project, Inc. */ /* See LICENSE for licensing information */ #include "core/or/or.h" #ifndef TOR_LOG_TEST_HELPERS_H #define TOR_LOG_TEST_HELPERS_H /** An element of mock_saved_logs(); records the log element that we * received. */ typedef struct mock_saved_log_entry_t { int sev...
// // AppDelegate.h // EXTabBarController // // Created by apple on 15/5/23. // Copyright (c) 2015年 DeltaX. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#include<stdio.h> int main(void) { double a,b; printf("Enter a\&b:\n"); while(scanf("%lf%lf",&a,&b)==2) { printf("%.3g - %.3g / %.3g * %.3g = %.3g .\n",a,b,a,b,(double)(a-b)/(a*b)); printf("\n"); printf("Enter a\&b:\n"); } printf("done!"); return 0; }
#ifndef _ZLX_PLATFORM_H #define _ZLX_PLATFORM_H #include "arch.h" #if defined(ZLX_FREESTANDING) && ZLX_FREESTANDING #else # undef ZLX_FREESTANDING # define ZLX_FREESTANDING 0 # if defined(_WIN32) # define ZLX_MSWIN 1 # elif defined(_AIX) # define ZLX_AIX 1 # elif defined(__unix__) || defined(__unix) # def...
//////////////////////////////////////////////////////////// // // SFML - Simple and Fast Multimedia Library // Copyright (C) 2007-2019 Marco Antognini (antognini.marco@gmail.com), // Laurent Gomila (laurent@sfml-dev.org) // // This software is provided 'as-is', without any express or implied wa...
// // 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" @interface IDEEditorDocumentValidatedUserInterfaceItem : NSObject <NSValidatedUserInterfaceItem> { SEL _action; long long _tag; } @property long ...
//Generated by the Argon Build System /*********************************************************************** Copyright (c) 2006-2011, Skype Limited. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
// // RSAEncryptor.h // iOSProject // // Created by Alpha on 2017/6/12. // Copyright © 2017年 STT. All rights reserved. // #import <Foundation/Foundation.h> @interface RSAEncryptor : NSObject /** * 加密方法 * * @param str 需要加密的字符串 * @param path '.der'格式的公钥文件路径 */ + (NSString *)encryptString:(NSString *)st...
/////////////////////////////////////////////////////////////////////////////// // // (C) Autodesk, Inc. 2007-2011. All rights reserved. // // Permission to use, copy, modify, and distribute this software in // object code form for any purpose and without fee is hereby granted, // provided that the above copyrig...
#ifndef BITMAP_H #define BITMAP_H #include <allegro5/allegro.h> #include <memory> #include "renderlist.h" // This class does double duty as a renderable, and a wrapper for allegro bitmap. class Bitmap; using BitmapPtr = std::shared_ptr<Bitmap>; class Bitmap : public Renderable { ALLEGRO_BITMAP* bitmap; floa...
// // Reliant.h // Reliant // // Created by Michael Seghers on 18/09/14. // // #ifndef Reliant_Header____FILEEXTENSION___ #define Reliant_Header____FILEEXTENSION___ #import "OCSObjectContext.h" #import "OCSConfiguratorFromClass.h" #import "NSObject+OCSReliantContextBinding.h" #import "NSObject+OCSReliantInjection....
/**************************************************************************** Copyright (c) 2010-2012 cocos2d-x.org Copyright (c) 2013-2016 zilongshanren http://www.cocos2d-x.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (th...
#ifndef _VSARDUINO_H_ #define _VSARDUINO_H_ //Board = Arduino Nano w/ ATmega328 #define __AVR_ATmega328p__ #define __AVR_ATmega328P__ #define ARDUINO 105 #define ARDUINO_MAIN #define __AVR__ #define __avr__ #define F_CPU 16000000L #define __cplusplus #define __inline__ #define __asm__(x) #define __extension__ #define _...
#pragma once #include "messages.h" #include "primitives/string_utils.h" // Given pairs of pulse lens from 2 base stations, this class determines the phase for current cycle // Phases are: // 0) Base 1 (B), horizontal sweep // 1) Base 1 (B), vertical sweep // 2) Base 2 (C), horizontal sweep // 3) Base 2 (C), v...
#ifndef ECLAIR_DIRECTORY_H # define ECLAIR_DIRECTORY_H # include "eclair.h" # include <sys/types.h> # include <dirent.h> namespace Eclair { struct DirectoryFile { std::string name; bool is_directory; bool is_regular_file; }; class Directory { private: std::string _dirname; DIR *_dir = nullptr; ...
// // Person.h // SJDBMapProject // // Created by BlueDancer on 2017/6/4. // Copyright © 2017年 SanJiang. All rights reserved. // #import <Foundation/Foundation.h> #import "SJDBMapUseProtocol.h" @class Book; @class PersonTag; @class Goods; @class TestTest; @interface Person : NSObject<SJDBMapUseProtocol> @proper...
// // SwiftMan.h // SwiftMan // // Created by yangjun on 16/4/29. // Copyright © 2016年 yangjun. All rights reserved. // #import "TargetConditionals.h" #if TARGET_OS_IPHONE #import <UIKit/UIKit.h> #elif TARGET_OS_MAC #import <Cocoa/Cocoa.h> #elif TARGET_OS_WATCH #import <WatchKit/WatchKit.h> #endif //! Project v...
#pragma once #include "ofMain.h" #include "ofxOsc.h" #include "VHPtriggerArea.h" #include "ofxXmlSettings.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, ...
// // main.c // demo14 // // Created by weichen on 15/1/9. // Copyright (c) 2015年 weichen. All rights reserved. // #include <stdio.h> int main() { // 求输入的数的平均数,并输出大于平均数的数字 int x = 0; //输入的数 double num = 0; //总和(这个定义为double, 因为计算结果可能出现浮点数) int count = 0; //个数 double per; //平均数(结果...
// // RBViewController.h // Pods // // Created by Param Aggarwal on 01/02/15. // // #import <UIKit/UIKit.h> #import "RBViewControllerModel.h" @interface RBViewController : UIViewController + (instancetype)create:(RBViewControllerModel *)model; - (void)update:(RBViewControllerModel *)model; - (void)updateChildren:...
// // This source file is part of appleseed. // Visit http://appleseedhq.net/ for additional information and resources. // // This software is released under the MIT license. // // Copyright (c) 2010-2013 Francois Beaune, Jupiter Jazz Limited // Copyright (c) 2014-2015 Francois Beaune, The appleseedhq Organization // ...
/* from optimizations/bfs/topology-atomic.cu */ #define BFS_VARIANT "topology-atomic" #define WORKPERTHREAD 1 #define VERTICALWORKPERTHREAD 12 // max value, see relax. #define BLKSIZE 1024 #define BANKSIZE BLKSIZE __global__ void initialize(foru *dist, unsigned int *nv) { unsigned int ii = blockIdx.x * blockDim.x +...
#include <stdio.h> #include <stdint.h> #include <ibcrypt/chacha.h> #include <ibcrypt/rand.h> #include <ibcrypt/sha256.h> #include <ibcrypt/zfree.h> #include <libibur/util.h> #include <libibur/endian.h> #include "datafile.h" #include "../util/log.h" int write_datafile(char *path, void *arg, void *data, struct forma...
/** @file std_streambuf.h @brief suppresses warnings in streambuf. @author HRYKY @version $Id: std_streambuf.h 337 2014-03-23 14:12:33Z hryky.private@gmail.com $ */ #ifndef STD_STREAMBUF_H_20140323003904693 #define STD_STREAMBUF_H_20140323003904693 #include "hryky/pragma.h" #pragma hryky_pragma_push_...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: android/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ASN1Enumerated.java // #ifndef _OrgApacheHarmonySecurityAsn1ASN1Enumerated_H_ #define _OrgApacheHarmonySecurityAsn1ASN1Enumerated_H_ #include "J2ObjC_header.h" #include "org/apache/...
#include <assert.h> #include <SDL2/SDL.h> #include <SDL2/SDL_ttf.h> #include <video/gl.h> #include <xxhash.h> #include <memtrack.h> #include "base/stack.h" #include "core/common.h" #include "base/math_ext.h" #include "core/asset.h" #include "core/configs.h" #include "core/frame.h" #include "core/logerr.h" #include <c...
#pragma once #include <QtCore/QPointer> #include <QtWidgets/QTabWidget> #include "backend/backend_requests_interface.h" class BreakpointModel; class PDIBackendRequests; class DisassemblyView; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// clas...
// // BPPopToast.h // BPKITsDemo // // Created by mikeooye on 15-3-28. // Copyright (c) 2015年 ihojin. All rights reserved. // #import <UIKit/UIKit.h> @interface BPPopToast : UIView @property (copy, nonatomic) NSString *text; - (void)popToastAtRect:(CGRect)rect inView:(UIView *)view; @end @interface NSString (B...
// // SNPGetStreamOperation.h // Snapper // // Created by Paul Schifferer on 12/23/12. // Copyright (c) 2012 Pilgrimage Software. All rights reserved. // #import "SNPBaseAppTokenOperation.h" @interface SNPGetStreamOperation : SNPBaseAppTokenOperation // -- Properties -- @property (nonatomic, assign) NSInteger s...
/* * Copyright (c) 2014 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...
/* * optimization needed. */ struct ListNode { int val; struct ListNode *next; }; #ifndef NULL #define NULL ((struct ListNode *)0) #endif struct ListNode *detectCycle(struct ListNode *head) { if (!head || !head->next) return(NULL); if (head->next == head) return(head); struct ListNode *p1, *p2; int has...
#import "MOBProjection.h" @interface MOBProjectionEPSG6331 : MOBProjection @end
/* * $QNXLicenseC: * Copyright 2009, QNX Software Systems. * * Licensed under the Apache License, Version 2.0 (the "License"). You * may not reproduce, modify or distribute this software except in * compliance with the License. You may obtain a copy of the License * at: http://www.apache.org/licenses/LICE...
// // NSDate+WT.h // lchSDK // // Created by lch on 16/1/12. // Copyright © 2015年 lch. All rights reserved. // #import <Foundation/Foundation.h> @interface NSDate (WT) - (BOOL)isThisYear; /** 判断某个时间是否为今年 */ - (BOOL)isYesterday; /** 判断某个时间是否为昨天 */ - (BOOL)isToday; /** 判断某个时间是否为今天 */ /** 字符串时间戳。 */ ...