text stringlengths 4 6.14k |
|---|
#ifndef REGION_LAYER_H
#define REGION_LAYER_H
#include "layer.h"
#include "network.h"
typedef layer region_layer;
region_layer make_region_layer(int batch, int h, int w, int n, int classes, int coords);
void forward_region_layer(const region_layer l, network_state state);
void backward_region_layer(const region_laye... |
#include "image_functions.h"
int main( int argc, char** argv ) {
FILE* infile;
Image pic1, pic2, pic3;
if( argc < 6 ) {
printf("Please enter all arguments.");
exit(0);
}
infile = open_file( argv[1] );
pic1 = read_in( infile );
infile = open_file( argv[2] );
pic2 = read_in( infile );
fclose( infile );... |
/*
** svn $Id: npzd_Powell_wrt.h 2328 2014-01-23 20:16:18Z arango $
*************************************************** Hernan G. Arango ***
** Copyright (c) 2002-2014 The ROMS/TOMS Group **
** Licensed under a MIT/X style license **
** See License_ROMS.txt ... |
#pragma once
#include "Assist/Common.h"
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
#endif
#include <windows.h>
class WindowManager
{
public:
DECLARE_SINGLETON_HEADER(WindowManager);
private:
static LRESULT CALLBACK WndProcCallback(HWND, UINT, WPARAM, LPARAM);
public:
void initWindow(unsigned int... |
#ifndef CELL_H
#define CELL_H
#include "animal_list.h"
#include <iostream>
using namespace std;
/**
* @file cell.h
* @author Harum Lokawati
* @date March 2017
* @version VZ03
*
* @brief the header file containing class declaration cell
*/
/**
* @class Cell
* @brief acstract class of Cell as a component of th... |
//
// YouTubeAuth.h
// NGYoutubeUpload
//
// Created by Apple on 13/08/15.
// Copyright (c) 2015 Apple. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "NGOauthViewController.h"
typedef void (^YouTubeCompletion)(BOOL success, NSString *youTubeToken, NSString *youTubeRefre... |
/*
* ISR_UART.h
*
* Created on: 20 Aug 2015
* Author: Steve
*/
#ifndef SOURCES_HAL_ISR_UART_H_
#define SOURCES_HAL_ISR_UART_H_
void UART_ISR_CPP();
#ifdef __cplusplus
extern "C" void UART_ISR();
#endif
#endif /* SOURCES_HAL_ISR_UART_H_ */
|
//
// FlickrClient.h
// FlickrClient
//
// Created by Chris Schwartz on 5/15/16.
// Copyright © 2016 SwiftSmarts. All rights reserved.
//
#import <UIKit/UIKit.h>
//! Project version number for FlickrClient.
FOUNDATION_EXPORT double FlickrClientVersionNumber;
//! Project version string for FlickrClient.
FOUNDATIO... |
#pragma once
/* BFS3 Algorithm implementation
*
* Reference:
* Learning is planning: near Bayes-optimal reinforcement learning via Monte-Carlo tree search
* John Asmuth, Michael Littman
* UAI 2011
*
*/
class SIMULATOR;
class SamplerFactory;
class VNODE3;
class QNODE3;
typedef unsigned int uint;
class BFS3
... |
#ifndef _GLFW3EXT_H_
#define _GLFW3EXT_H_
#include "glfw3.h"
#ifndef GLFW_EXPOSE_NATIVE_WIN32
#define GLFW_EXPOSE_NATIVE_WIN32
#endif
#ifndef GLFW_EXPOSE_NATIVE_WGL
#define GLFW_EXPOSE_NATIVE_WGL
#endif
#include "glfw3native.h"
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GLFW_ALPHA_MASK
#define GLFW_AL... |
#pragma once
#ifndef ENGINE_GRAPHICS_GRAPHICS_GLFW_H_
#define ENGINE_GRAPHICS_GRAPHICS_GLFW_H_
#include "graphics.h"
#include <GLFW\glfw3.h>
namespace engine {
// Graphics subsystem implementation using GLFW. Renders graphics onscreen.
class GraphicsGLFW : public Graphics {
public:
// Camera operations
virtual v... |
/* $Id: hello.c,v 1.1 2011-03-24 17:25:20-07 - - $ */
int main (void) {
printf ("Hello, world\n");
return 0;
}
|
/*
* rt_look.c
*
* Real-Time Workshop code generation for Simulink model "LgV2.mdl".
*
* Model Version : 1.30
* Real-Time Workshop version : 7.3 (R2009a) 15-Jan-2009
* C source code generated on : Mon Mar 17 14:01:41 2014
*
* Target selection: nidll_vxworks.tlc
* Note: GRT includes extra infr... |
#ifndef SSF_V5_REPLY_AUTH_H_
#define SSF_V5_REPLY_AUTH_H_
#include <cstdint>
#include <array>
#include <boost/asio/write.hpp>
#include <boost/asio/buffer.hpp>
namespace ssf { namespace socks { namespace v5 {
//-----------------------------------------------------------------------------
class AuthReply {
public:
... |
#ifndef __TORRENTSTREAM_H
#define __TORRENTSTREAM_H
namespace TorrentStream
{
namespace Bencode
{
enum class ObjectType
{
INTEGER = 0,
BYTESTRING,
LIST,
DICTIONARY,
};
class Object
{
public:
virtual ObjectType GetType() = 0;
virtual std::string ToString() = 0;
virtual std::vector... |
#import <UIKit/UIKit.h>
FOUNDATION_EXPORT double RxEurekaVersionNumber;
FOUNDATION_EXPORT const unsigned char RxEurekaVersionString[];
|
// This file was generated based on 'C:\ProgramData\Uno\Packages\Android\0.13.2\Android\Fallbacks\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_ANDROID_FALLBACKS_ANDROID_ANDROID_ANIMATION_ANIMATOR_H__
#define __APP_ANDROID_FALLBACKS_ANDROID_ANDROID_ANIMATION_ANIMATOR_H__
#inc... |
//
// PolygonSkybox.h
// ChicioRayTracing
//
// Created by Fabrizio Duroni on 09/08/15.
// Copyright © 2015 Fabrizio Duroni. All rights reserved.
//
@import Foundation;
#import "Polygon.h"
@class Vector3D;
@class Point3D;
/*!
Subclass of polygon used when we render a SIDE of a CUBE WRAPPER for the scene,
simu... |
/*
* Author: Yevgeniy Kiveisha <yevgeniy.kiveisha@intel.com>
* Copyright (c) 2014 Intel Corporation.
*
* Based on SM130 library developed by Marc Boon <http://www.marcboon.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (... |
#ifndef __SFMLIGHT_H__
#define __SFMLIGHT_H__
#include <sfl/Light.h>
#include <sfl/Object.h>
#include <sfl/LightScene.h>
#endif //__SFMLIGHT_H__ |
// Copyright (c) 2015 The Bitcredit Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef BITCREDIT_HTTPRPC_H
#define BITCREDIT_HTTPRPC_H
#include <string>
#include <map>
class HTTPRequest;
/** Start HTTP RP... |
/*
* Copyright (c) 2012 Sander van der Burg
*
* 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,... |
#include "shared.h"
#include <stdlib.h>
tpl_node *msg_node_pack(int msgtype)
{
tpl_node *tn = tpl_map("i", &msgtype);
tpl_pack(tn, 0);
return tn;
}
//-------------------------------------------------------------------------
tpl_node *msg_ac_node(struct msg_ac *msg)
{
tpl_node *tn = tpl_map(MSG_AC_FMT,
... |
#pragma once
namespace Mntone { namespace Xamcc { namespace DemoApp { namespace Core {
public enum class NotificationType
{
Favorite,
Follow,
};
public interface class INotification
{
property Core::NotificationType NotificationType
{
Core::NotificationType get();
}
property ::Platform::String^ I... |
#pragma once
#include <memory>
template <typename T>
class Worker {
public:
virtual bool Init() noexcept { return true; }
virtual void ProcessTask(T task) noexcept = 0;
protected:
~Worker() {}
};
|
// Created by Sebastian Hunkeler on 19.07.12.
// Copyright (c) 2014 Sebastian Hunkeler. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "LFBubbleCollectionViewCell.h"
@class LFBubbleCollectionView;
#pragma mark - Bubble View Delegate
@protocol LFBubbleCollectionViewDelegate <NSObject>
@optional
-(void)bu... |
/****************************************************************************
Copyright (c) 2011 Zynga Inc.
Copyright (c) 2012 cocos2d-x.org
Copyright (c) 2013-2014 Chukong Technologies Inc.
http://www.cocos2d-x.org
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software a... |
// This file was generated based on 'C:\ProgramData\Uno\Packages\UnoCore\0.13.2\Source\Uno\Collections\$.uno'.
// WARNING: Changes might be lost if you edit this file directly.
#ifndef __APP_UNO_COLLECTIONS_LIST__FUSE_NODE_H__
#define __APP_UNO_COLLECTIONS_LIST__FUSE_NODE_H__
#include <app/Uno.Collections.ICollection... |
#ifndef BUZZ_h
#define BUZZ_h
#include "MKL46Z4.h"
#include "globals.h"
#include "SW.h"
#include "ACC.h"
#include "TPM.h"
#define BUZZ_PIN 20u //PTE20
#define BUZZ_MASK ( 1u << BUZZ_PIN )
//ustawienia samego piszczenia
#define BUZZ_MAX_MOD 2500u //minimalna czestotliw... |
///////////////////////////////////////////////////////
// File: grd_pc.h
// Desc: gradient + color plane cost
//
// Author: rookiepig
// Date: 2014/04/03
//
///////////////////////////////////////////////////////
#pragma once
#include"../commfunc.h"
#include"i_plane_cost.h"
#define COST_ALPHA 0.1
#define TAU_CLR 10.... |
/*
* Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
*
* @APPLE_LICENSE_HEADER_START@
*
* This file contains Original Code and/or Modifications of Original Code
* as defined in and that are subject to the Apple Public Source License
* Version 2.0 (the 'License'). You may not use this file except in... |
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <pthread.h>
#include <time.h>
#include <sys/time.h>
#include "wb_gcc.h"
#include "wb_pthread_pool.h"
#include "wb_object_pool.h"
#include "wb_cas_pool.h"
static char pad1[CACHE_LINE_ALIGNMENT];
static cell_pool_t* obj_pool = NULL;
static char pad2[CA... |
#ifndef GENOS_dlist_H
#define GENOS_dlist_H
#include <gxx/datastruct/dlist.h>
#include <gxx/util/member.h>
#include <gxx/util/memberxx.h>
namespace gxx {
template<typename type, dlist_head type::* member>
class dlist {
public:
//FIELDS:
dlist_head list;
//SUBCLASSES:
class iterator {
public:
//usin... |
@class CatalogDatabase;
@class CatalogFilter;
@class Checklist;
@class Circle;
@class CircleCollection;
@interface CircleDataProvider : NSObject
@property (nonatomic, readonly) NSUInteger comiketNo;
@property (nonatomic, readonly) Checklist *checklist;
@property (nonatomic, readonly) CatalogDatabase *database;
@prope... |
/*
* 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"
#import "TSCH3DAnimationInterpolatable-Protocol.h"
// Not exported
@interface TSCH3DAnimationTimeSlice : NSObject <TSCH3DAnimationInterpolatable>
{
}
+ (i... |
//
// Post.h
// Weird Retro
//
// Created by User i7 on 07/02/15.
// Copyright (c) 2015 Alex Dougas. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
@class Section;
@interface Post : NSManagedObject
@property (nonatomic, retain) id content;
@property (nonatomic, retain) N... |
/*
* 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/KNAnimationEffect.h>
#import "KNAnimationPluginArchiving-Protocol.h"
#import "KNChunkableBuildAnimator-Protocol.h"
#import "KNFrameBuildAnimator-Protocol.h"... |
#pragma once
#include "ofMain.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, int y, int... |
//
// CCMenuItem+TH.h
// frutris
//
// Created by Benjamin Schüttler on 31.07.12.
// Copyright (c) 2012 Rainbow Labs UG. All rights reserved.
//
#import "CCMenuItem.h"
#import "cocos2d.h"
@interface CCMenuItemImage (TH)
+(id) itemWithNormalFrame:(NSString *)normalF block:(void (^)(id))block;
+(id) itemWithNormal... |
/****************************************
* Author: Ethan Reker
* Date Created: June 22, 2016
* Purpose: Create a class to implement a quadratic bezier curve.
* This implementation is mostly tailored to generating points for
* the soft-knee on a compressor. Usually a bezier curve is treated
* as a function of t (... |
//
// ThTextView.h
// Forest
//
#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>
#import "ThVm.h"
@class ThTableViewCell;
//drawTypes
#define thVmTitle 0
#define thVmSpeed 1
#define thVmCount 2
#define thVmNewCount 3
#define thVmOther 4
#define thVmDate 5
#define thVmAll 6
@interface ThTextView : UIView
@pro... |
/* ---------------------------------------------------------------------
* Programmer(s): Scott D. Cohen, Alan C. Hindmarsh and
* Radu Serban @ LLNL
* ---------------------------------------------------------------------
* SUNDIALS Copyright Start
* Copyright (c) 2002-2019, Lawrence Livermore Nation... |
// Gmsh - Copyright (C) 1997-2019 C. Geuzaine, J.-F. Remacle
//
// See the LICENSE.txt file for license information. Please report all
// issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
#ifndef BACKGROUND_MESH_TOOLS_H
#define BACKGROUND_MESH_TOOLS_H
#include "STensor3.h"
class GFace;
class GVertex;
class GEdg... |
// -*- C++ -*-
//=============================================================================
/**
* @file Log_Persistence_Strategy.h
*
* $Id: Log_Persistence_Strategy.h 1861 2011-08-31 16:18:08Z mesnierp $
*
* @author Matthew Braun <mjb2@cs.wustl.edu>
* @author Pradeep Gore <pradeep@cs.wustl.edu>
* @aut... |
//
// AppDelegate.h
// WGBCheckUpdateView
//
// Created by Wangguibin on 2017/2/8.
// Copyright © 2017年 王贵彬. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@end
|
/* Copyright (c) 2010-2015 Vanderbilt 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 rights
* to use, copy, modify, m... |
/**
******************************************************************************
* @file I2C/I2C_IOExpander/main.c
* @author MCD Application Team
* @version V1.1.0
* @date 18-January-2013
* @brief Header for main.c module
*****************************************************************... |
//
// FWTValidatorProtocol.h
// FWTFormManager
//
// Created by Yevgeniy Prokoshev on 12/03/2015.
//
//
#import <Foundation/Foundation.h>
@protocol FWTInputFormatterWithNumberFormatterProtocol <NSObject>
@required
-(NSNumberFormatter *) numberFormatter;
@end
|
/*
*
* Confidential Information of Telekinesys Research Limited (t/a Havok). Not for disclosure or distribution without Havok's
* prior written consent. This software contains code, techniques and know-how which is confidential and proprietary to Havok.
* Product and Trade Secret source code contains trade secrets ... |
//
// GHOwnersOrganizationsNewsFeedViewController.h
// iGithub
//
// Created by Oliver Letterer on 06.11.11.
// Copyright 2011 Home. All rights reserved.
//
#import "GHUsersNewsFeedsViewController.h"
/**
@class GHOwnersOrganizationsNewsFeedViewController
@abstract <#abstract comment#>
*/
@interface GHOw... |
//
// SocaCoreiOS.h
// SocaCoreiOS
//
// Created by Zhuhao Wang on 4/10/15.
// Copyright (c) 2015 Zhuhao Wang. All rights reserved.
//
//! Project version number for SocaCoreiOS.
FOUNDATION_EXPORT double SocaCoreiOSVersionNumber;
//! Project version string for SocaCoreiOS.
FOUNDATION_EXPORT const unsigned char S... |
//
// CellAdapterTemplate.h
// SQTemplate
//
// Created by 双泉 朱 on 17/5/11.
// Copyright © 2017年 Doubles_Z. All rights reserved.
//
#import <Foundation/Foundation.h>
@protocol HYBlockThreeCollectionCellAdapter <NSObject>
@end
|
//
// MediaInfo.h
// ObjectiveDropbox
//
// Created by Михаил Мотыженков on 15.03.16.
// Copyright © 2016 Михаил Мотыженков. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "DropboxMediaMetadata.h"
@interface DropboxMediaInfo : NSObject
/**
* Indicate the photo/video is still under processin... |
// CVcFrame.h : Declaration of ActiveX Control wrapper class(es) created by Microsoft Visual C++
#pragma once
/////////////////////////////////////////////////////////////////////////////
// CVcFrame
class CVcFrame : public COleDispatchDriver
{
public:
CVcFrame() {} // Calls COleDispatchDriver default constructor... |
// Copyright 2015 Allen Hsu.
#include "test_common.h"
#include "intersect.h"
#include "vector.h"
#include <math.h>
TESTING(intersect);
// Constants
static const Vector ux = VEC(1, 0, 0);
static const Vector uy = VEC(0, 1, 0);
static const Vector uz = VEC(0, 0, 1);
static const Vector uxy = VEC(M_SQRT1_2, M_SQRT1_... |
//
// HTTPRequest.h
// DouYu
//
// Created by shendong on 16/5/11.
// Copyright © 2016年 com.sybercare.enterprise. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef void(^successBlock)(id successObject);
typedef void(^failBlock) (id failObject, NSError *error);
//暂时这样处理,todo: 将网络请求封装在自己的静态库中
FO... |
//
// Item.h
// ArtAPI
//
// Created by Doug Diego on 11/18/13.
// Copyright (c) 2013 Doug Diego. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "ARTService.h"
@interface Item : NSObject
@property (nonatomic, copy) NSString * imageUrl;
@property (nonatomic, copy) NSString * croppedImageUrl;
@p... |
#include <stdio.h>
float centymetry;
float cale;
float wzrostCale;
float wzrostCentymetry;
int main(void) {
printf("Powiedz mi ile masz centymetrow wzrostu, a powiem Ci ile masz wzrostu w calach!\n");
scanf("%f", ¢ymetry);
wzrostCale = centymetry / 2.54;
printf("Mmm... Masz %.2f centymetrow wzros... |
#include <stdio.h>
#include "auxiliary.h"
void insertion_sort(int *A, int len) {
for (int j = 1; j < len; j++) {
int r = A[j];
int i = j - 1;
while (i >= 0 && A[i] > r) {
A[i + 1] = A[i];
i--;
}
A[i + 1] = r;
}
}
int main(int argc, char **argv) ... |
//
// MMShotView.h
// Dribbble
//
// Copyright (c) 2012 Mutual Mobile. All rights reserved.
//
// 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 lim... |
#ifndef _LINK_H_
#define _LINK_H_
#include "MyMath.h"
#include "friction.h"
#include "rotor.h"
class CLink{
private:
double m_a;
double m_alpha;
double m_d;
double m_theta;
double cos_alpha; //cos(alpha)
double sin_alpha; //sin(alpha)
double m; //Áú·®
CMatrix inertia; //¹«°ÔÁ߽ɿ¡¼ÀÇ °ü¼º matri... |
// Copyright (c) 2012 AlterEgo Studios
//
// 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... |
/*
Copyright (c) 2013 <benemorius@gmail.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 rights to use,
copy, modi... |
/*
* Copyright (c) 2012 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... |
//
// Controller.h
// Xbox Live Friends
//
// i trip blind kids, what's your anti-drug?
//
// © 2006 mindquirk
//
#import <Cocoa/Cocoa.h>
#import "StayAround.h"
@interface Controller : NSObject {
//misc
IBOutlet NSTextView *sourceLogger;
NSTimer *refreshTimer;
IBOutlet NSButton *autoRefresh;
IBOutlet NST... |
//
// NNFreezableView.h
// NNFreezableViewDemo
//
// Created by noughts on 2014/11/24.
// Copyright (c) 2014年 noughts. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface NNFreezableView : UIView
-(void)freeze;
-(void)freezeAfterScreenUpdates:(BOOL)afterScreenUpdates;
-(void)unfreeze;
@end
|
#ifndef _LIBANIM_SPRITE_H_
#define _LIBANIM_SPRITE_H_
#include <ee/Sprite.h>
#include <sprite2/AnimSprite.h>
namespace libanim
{
class Symbol;
class Sprite : public s2::AnimSprite, public ee::Sprite
{
public:
Sprite(const Sprite& spr);
Sprite& operator = (const Sprite& spr);
Sprite(const s2::SymPtr& sym, uint32... |
/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/
#ifndef INCLUDE_http_auth_h__
#define INCLUDE_http_auth_h__
#include BLIK_LIBGIT2_U_git2_h //original-c... |
#include <stdlib.h>
#include <assert.h>
#include "xdg-surface.h"
#include "internal.h"
#include "macros.h"
#include "compositor/view.h"
#include "compositor/output.h"
#include "compositor/seat/seat.h"
#include "compositor/seat/pointer.h"
#include "resources/types/surface.h"
static_assert_x(XDG_SHELL_VERSION_CURRENT ==... |
#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_JoBaseComm_TestsVersionNumber;
FOUNDATION_EXPORT const unsigned char Pods_JoBaseComm_TestsVers... |
//
// AlertCenter.h
// Network Monitor
//
// Created by HCorbucc on 10/13/14.
// Copyright (c) 2014 Hugo Corbucci. All rights reserved.
//
#ifndef Network_Monitor_AlertCenter_h
#define Network_Monitor_AlertCenter_h
#import <Foundation/Foundation.h>
@protocol AlertCenter <NSObject>
- (void) announce:(NSString*) m... |
//
// AppDelegate.h
// DemoTableView
//
// Created by hoang dang trung on 9/24/15.
// Copyright © 2015 hoang dang trung. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "TableViewController.h"
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
... |
#ifndef _RENDERER_FPS_DISPLAY
#define _RENDERER_FPS_DISPLAY
#include "TextureText.h"
class RendererFPSDisplay : public TextureText
{
int mLastUpdateTime;
int mUpdateIntervalInMillis;
public:
RendererFPSDisplay(TextureFont* font);
RendererFPSDisplay(PersistentData& storageData);
void Update();
void Serialize(Pe... |
#ifndef GRIT_ATTRIBUTE_VECTOR_H
#define GRIT_ATTRIBUTE_VECTOR_H
#include <grit_simplex.h>
#include <grit_simplex_set.h>
#include <map>
#include <vector>
#include <algorithm> // Needed for std::min and std::max
#include <limits> // Needed for std::numeric_limits
namespace grit
{
template<typename T>
class Sim... |
//
// DDAViewController.h
// UIMotionEffectSample
//
// Created by Dulio Denis on 5/20/14.
// Copyright (c) 2014 ddApps. All rights reserved.
//
@interface DDAViewController : UIViewController
@end
|
/*
* 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.
*/
#pragma once
#include <cstdint>
#include <limits>
namespace facebook { namespace bistro {
// TODO: Get rid of this in favor of... |
// BinaryFunctionSearch.h
/*
* Copyright (C) 2013-2014 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.
*
*/
namespace VectorMath
{
class BinaryFunctionSearch
{
public:
... |
//
// TBTableDataSectionInternal.h
// TableViewBuddy
//
// Copyright (c) 2014-2016 Hironori Ichimiya <hiron@hironytic.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 restri... |
#include <stdio.h>
/*
* Purpose
* =======
* Returns the time in seconds used by the process.
*
* Note: the timer function call is machine dependent. Use conditional
* compilation to choose the appropriate function.
*
*/
#ifdef _GIVE_UP_THIS_ONE_
/*
* It uses the system call gethrtime(3C), which is ... |
#ifndef __UIOBJ_H_INCLUDED__
#define __UIOBJ_H_INCLUDED__
#include <stdio.h>
#include <string>
#include <functional>
using namespace std;
class UIObject
{
public:
UIObject(string uiName, int x1, int y1, int x2, int y2);
UIObject(string uiName, int x1, int y1, int x2, int y2, function<void()> clickEvent);
... |
//
// DDDHakkenReadLater.h
// Hakken
//
// Created by Sidd Sathyam on 1/31/15.
// Copyright (c) 2015 dotdotdot. All rights reserved.
//
#import <Foundation/Foundation.h>
@class DDDHackerNewsItem;
@protocol DDDHakkenReadLater <NSObject>
@optional
+ (RACSignal *)addItemToReadLater:(DDDHackerNewsItem *)item;
+ (RAC... |
#ifndef SCORE_TICK_C
#define SCORE_TICK_C
#include "print.c"
// ------------------ Global Variables ------------------
//unsigned short displayPeriod = 250;
//unsigned char score = 0; //input
//unsigned char endGame = 0; //input
//unsigned char endPoints;
// ------------------------------------------------------
// ... |
/*
Copyright 1999-2016 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
You may not use this file except in compliance with the License.
obtain a copy of the License at
http://www.imagemagick.org/script/license.php
Unless required ... |
//
// UIDevice+WiFi_yq.h
// YQToolsDemo
//
// Created by WeiXinbing on 2019/6/5.
// Copyright © 2019 weixb. All rights reserved.
//
#import <UIKit/UIKit.h>
NS_ASSUME_NONNULL_BEGIN
@interface UIDevice (WiFi_yq)
// WiFi 的名称
+ (NSString *)WiFiName;
// WiFi 的路由器的 Mac 地址
+ (NSString *)WiFiBSSID;
// 本机地址
+ (NSString... |
#pragma once
#include <d3d9.h>
#include <d3dx9.h>
#include "DxUtils.h"
#include "PostPRocess.h"
#include "PostProcessBloom.h"
#include "PostProcessSMAA.h"
#include "PostProcessHDR.h"
//#define RENDER_TO_BACK_BUFFER // kinda buggy..
namespace PP{
#define MAX_POST_PROCESS_COUNT 5
extern IDirect3DDevice9* m_pDevice;... |
#include <evcon-glib.h>
#include <evcon-allocator.h>
#include <evcon-config-private.h>
#define UNUSED(x) ((void)(x))
/* GLib slice wrapper */
static void* evcon_glib_alloc_cb(size_t size, void* user_data) {
UNUSED(user_data);
return g_slice_alloc(size);
}
static void evcon_glib_free_cb(void *ptr, size_t size, ... |
//
// AppDelegate.h
// MySpec
//
// Created by Кирилл on 30.11.15.
// Copyright © 2015 Кирилл. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (readonly, strong, n... |
#ifndef FONTSCALABLEPUSHBUTTON_H
#define FONTSCALABLEPUSHBUTTON_H
#include <QWidget>
#include <QPushButton>
class FontScalablePushButton : public QPushButton
{
Q_OBJECT
protected:
bool _fontAdjusted = false;
protected:
virtual void resizeEvent (QResizeEvent* evt);
public:
explicit FontScalablePush... |
//
// GWEN
// Copyright (c) 2013-2015 James Lammlein
// Copyright (c) 2010 Facepunch Studios
//
// This file is part of GWEN.
//
// MIT License
//
// 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 So... |
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
// Copyright © ___YEAR___ ___FULLUSERNAME___. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface UIViewController (Swizzling)
@end
|
#ifndef APP_SETTINGS_H
#define APP_SETTINGS_H
#include <string>
#include <vector>
#include <boost\program_options.hpp>
#include <Logger\Logger.h>
#include <boost\filesystem.hpp>
#include <boost\algorithm\string.hpp>
#include <CGMath.h>
enum DISPLAY_TYPE{
POINT_CLOUD,
MESH_WIRE_FRAME,
MESH_FILLED,
UNKNOWN_TYPE
};
s... |
/* patchlevel.h
*
* Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
* 2003, 2004, 2005, 2006, 2007, 2008, 2009, by Larry Wall and others
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
*... |
// Copyright (c) 2011-2013 The Flirtcoin developers
// Distributed under the MIT/X11 software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef FLIRTCOIN_QT_TRAFFICGRAPHWIDGET_H
#define FLIRTCOIN_QT_TRAFFICGRAPHWIDGET_H
#include <QWidget>
#include <QQueue>
c... |
#ifndef ALIANALYSISTASKEMCALSAMPLETEST_H
#define ALIANALYSISTASKEMCALSAMPLETEST_H
// $Id$
class TH1;
class TH2;
class TH3;
class AliParticleContainer;
class AliClusterContainer;
#include "AliAnalysisTaskEmcal.h"
class AliAnalysisTaskEmcalSampleTEST : public AliAnalysisTaskEmcal {
public:
AliAnalysisTaskEmcalSam... |
// This file is part of OpenCV project.
// It is subject to the license terms in the LICENSE file found in the top-level directory
// of this distribution and at http://opencv.org/license.html.
#if defined __OPENCV_BUILD \
#include "cv_cpu_config.h"
#include "cv_cpu_helper.h"
#ifdef CV_CPU_DISPATCH_MODE
#define CV_C... |
#import "MOBProjection.h"
@interface MOBProjectionEPSG3724 : MOBProjection
@end
|
#include <stdio.h>
#include <stdlib.h>
#define MAX_STACK_SIZE 256
typedef enum {
OBJ_INT,
OBJ_PAIR
} ObjectType;
typedef struct StructObject {
unsigned char marked;
ObjectType type;
struct StructObject* next;
union {
// OBJ_INT
int value;
// OBJ_PAIR
struct {
struct StructObject* h... |
//
// Generated by the J2ObjC translator. DO NOT EDIT!
// source: /Users/ashchauhan/Desktop/SampleApp/OnePoint/Runtime/Common/IOM/ITemplates.java
//
// Created by ashchauhan on 6/20/14.
//
//#ifndef _ITemplates_H_
//#define _ITemplates_H_
@protocol ITemplates < NSObject>
@end
// _ITemplates_H_
|
//
// NSObject+ExecutionTimeLogger.h
// PropertySales
//
// Created by Muddineti, Dhana (NonEmp) on 2/15/14.
// Copyright (c) 2014 Shradha iSolutions. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface NSObject (ExecutionTimeLogger)
- (void)logExecutionTime:(NSDate *)startTime;
@end
|
//
// IRFNavigationKit.h
// Confab App
//
// Created by Fabio Pelosin on 15/11/13.
// Copyright (c) 2013 Fabio Pelosin. All rights reserved.
//
#ifndef Confab_App_IRFNavigationKit_h
#define Confab_App_IRFNavigationKit_h
// ViewController
#import "IRFViewController.h"
#import "NSViewController+IRFNavigationKit.h"
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.