text
stringlengths
4
6.14k
/*------------------------------------------------------------------------- * * mingwcompat.c * MinGW compatibility functions * * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * * IDENTIFICATION * $PostgreSQL: pgsql/src/backend/port/win32/mingwcompat.c,v 1.4 2008/01/01 19:45:51 momji...
// // ////////////////////////////////////////////////////////////////////////////// // // Copyright 2013 Autodesk, Inc. All rights reserved. // // Use of this software is subject to the terms of the Autodesk license // agreement provided at the time of installation or download, or which // otherwise acc...
// // SLViewController.h // SLPodFrame // // Created by LiuShulong on 08/30/2015. // Copyright (c) 2015 LiuShulong. All rights reserved. // @import UIKit; @interface SLViewController : UIViewController @end
/****************************************************************************** * $Id$ * * Project: MapServer * Purpose: Definitions for MapServer IO redirection capability. * Author: Frank Warmerdam, warmerdam@pobox.com * ****************************************************************************** * Copy...
/* * 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 "DexClass.h" #include "Pass.h" class BridgeSynthInlinePass : public Pass { public: BridgeSynthInlinePa...
// Stub header file of cuTENSOR #ifndef INCLUDE_GUARD_STUB_CUPY_CUTENSOR_H #define INCLUDE_GUARD_STUB_CUPY_CUTENSOR_H #include "cupy_cuda_common.h" extern "C" { typedef enum {} cudaDataType_t; typedef enum { CUTENSOR_STATUS_SUCCESS = 0, } cutensorStatus_t; typedef enum {} cutensorAlgo_t; type...
#include <stdio.h> #include <stdlib.h> #include <errno.h> #include <sys/types.h> #include <sys/wait.h> int main() { pid_t pid = fork(); if (!pid) { printf("I am child!\n"); exit(0); } else { int status; if (waitpid(pid, &status, 0) < 0) { perror("waitpid"); exit(-1); } if (WIFEXITED(status)...
// // CRVStompClient.h // Objc-Stomp // // // Implements the Stomp Protocol v1.0 // See: http://stomp.codehaus.org/Protocol // // Requires the AsyncSocket library // See: http://code.google.com/p/cocoaasyncsocket/ // // See: LICENSE // Stefan Saasen <stefan@coravy.com> // Based on StompService.{h,m} by Scott...
// // KMMPasswordStrength.h // KMMPasswordStrength // // Created by Kerr Marin Miller on 29/10/2014. // Copyright (c) 2014 Kerr Marin Miller. All rights reserved. // #import <UIKit/UIKit.h> @interface KMMSmileyStrength : UIView @property(nonatomic, strong) UIColor *textColour; @property(nonatomic, assign) CGFloa...
// // BlueView.h // RAC_GatherClass // // Created by linxiang on 2017/5/2. // Copyright © 2017年 minxing. All rights reserved. // #import <UIKit/UIKit.h> @interface BlueView : UIView @end
C $Header$ C $Name$ c ================================================================== c HEADER G_COST c ================================================================== c c o Header for model-data comparison; adjoint part. c c started: Christian Eckert eckert@mit.edu 06-Apr-2000 c changed...
// // CFLAppConfigOrderedDictionary.h // CFLAppConfig Pod // // Library helper: fixed order dictionary // Works like NSDictionary but has a fixed order and is always mutable // //Import @import Foundation; //Interface definition @interface CFLAppConfigOrderedDictionary : NSMutableDictionary @end
// Standard libraries #include <iostream> #include <string> #include <random> //random_device rd; rd(); // genereates a random number // Library headers #include "lgStack.h" #include "lgQueue.h" #include "lgError.h" using namespace std; void lgError(string message, string where); void lgWarning(string message, strin...
// // CameraBlock.h // sunflow // // Created by Okami Satoshi on 12/04/29. // Copyright (c) 2012 Okami Satoshi. All rights reserved. // #ifndef _CameraBlock_h #define _CameraBlock_h #include "BaseBlock.h" class CameraBlock : public BaseBlock { public: vec3f eye; vec3f target; vec3f up; }; #endif
#include<stdio.h> #include<stdlib.h> #include "mpc.h" //for windows platform #ifdef _WIN32 #include <string.h> //add fake readline function char* readline(char* prompt) { fputs(prompt,stdout); fgets(buffer,2048,stdin); char* cpy = malloc(strelen(buffer)+1); strcpy(cpy,buffer); cpy[strlen(cpy)-1] = '\0'; return...
// Avisynth v2.5. Copyright 2002 Ben Rudiak-Gould et al. // http://www.avisynth.org // This program 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 Software Foundation; either version 2 of the License, or // (at your opt...
// // Demo4ViewController.h // QQLive // // Created by Scott_Mr on 2016/12/3. // Copyright © 2016年 Scott. All rights reserved. // #import "ScottBaseViewController.h" @interface Demo4ViewController : ScottBaseViewController @end
/* * Copyright (c) <2010> <Bryce Groff> * * 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,...
#define BUILD_NUMBER 20 #define BUILD_DATE_YEAR 2021 #define BUILD_DATE_MONTH 2 #define BUILD_DATE_DAY 9 #define BUILD_TIME_HOUR 16 #define BUILD_TIME_MINUTE 36 #define BUILD_TIME_SECOND 16 #define BUILD_TIME_MILLISECOND 43
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * Permission to use, copy, modify, distribute and sell this software * and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies. * Erin Catto makes no representations about...
#include "ctr9/fs.h" #include "fatfs/ff.h" #include "fatfs/sdmmc.h" static FATFS fs; FSResult fsInit() { return (FSResult) f_mount(&fs, "0:", 0); } FSResult fsExit() { return (FSResult) f_mount(NULL, "0:", 0); } FSResult fsOpen(FileHandle* handle, const char* path, u8 flags) { FSResult result = (FSResu...
// // ANetApiResponse.h // ANMobilePaymentLib // // Created by Authorize.Net on 3/3/11. // Copyright 2011 none. All rights reserved. // #import <Foundation/Foundation.h> #import "GDataXMLNode.h" #import "Messages.h" @interface ANetApiResponse : NSObject { NSString *refId; Messages *messages; } @property (non...
/* A utility function to kill the 'container.find(val) != std::end(container) pattern. Use this function to check if a container contains some value. For example, void Foo(const std::map<int> &x) { if (Contains(x, 15)) { // Do something that you don't care about the value for. } //...
// 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_I_ENUMERABLE__FUSE_ANIMATIONS_MIXER_HANDLE_FUSE_FONT__H__ #define __APP_UNO_COLLECTIONS_I_ENUMERABLE__FUSE_ANIMA...
// // SDRotationLoopProgressView.h // SDProgressView // // Created by aier on 15-2-20. // Copyright (c) 2015年 GSD. All rights reserved. // #import "SDBaseProgressView.h" @interface SDRotationLoopProgressView : SDBaseProgressView - (id)initWithFrame:(CGRect)frame backColor:(UIColor *)color; @end
#pragma once template<typename V, typename S> struct Ray { V start; V end; }; template<typename V, typename S> struct Sphere { V origin; S radius; }; template<typename V, typename S> struct Capsule { V start; V end; S radius; }; template<typename V, typename S> struct Hit { V point; ...
// // Keychain.h // Linkstr // // Created by Joe Hildebrand on 8/22/07. // Copyright 2007 Cursive Systems, Inc. All rights reserved. // #import <Cocoa/Cocoa.h> @interface Poster : NSObject { IBOutlet NSWindow *m_win; IBOutlet NSTextField *m_user; IBOutlet NSTextField *m_pass; int m_outstandi...
#ifndef __OMBT_MULTI_THREAD_SERVER_H #define __OMBT_MULTI_THREAD_SERVER_H // multithread single-service server // headers #include <stdio.h> #include <servers/Server.h> #include <sockets/EndPoint.h> #include <threads/SimpleThread.h> namespace ombt { // threading server for a connection class MultiThreadStreamServer...
#pragma config(Hubs, S1, HTMotor, HTMotor, none, none) #pragma config(Sensor, S2, irSeeker, sensorI2CCustom) #pragma config(Motor, mtr_S1_C1_1, liftMotor, tmotorTetrix, openLoop) #pragma config(Motor, mtr_S1_C1_2, motorFL, tmotorTetrix, openLoop, driveLeft, encoder) #pragma config(...
/////////////////////////////////////////////////////////////////////////////// // // // (C) Copyright 2005 by Autodesk, Inc. 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 a...
/* * Copyright 2004-2005 The Unichrome Project [unichrome.sf.net] * * * 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...
// Copyright (c) 2011-2015 The Cryptonote developers // Copyright (c) 2014-2015 XDN developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "chaingen.h" struct GetRandomOutputs : public test_chain...
// Generated by gencpp from file geographic_msgs/GeoPoint.msg // DO NOT EDIT! #ifndef GEOGRAPHIC_MSGS_MESSAGE_GEOPOINT_H #define GEOGRAPHIC_MSGS_MESSAGE_GEOPOINT_H #include <string> #include <vector> #include <map> #include <ros/types.h> #include <ros/serialization.h> #include <ros/builtin_message_traits.h> #inclu...
/* *********************************************************************************************************************** * * Copyright (c) 2021-2022 Advanced Micro Devices, Inc. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associ...
// // 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) 2012-2013 Esteban Tovagliari, Jupiter Jazz Limited // Copyright (c) 2014-2016 Esteban Tovagliari, The appleseedhq Organizati...
/* radix64.h Radix-64 converter, as defined by OpenPGP in RFC 4880 sec 6.3 and 6.4 Copyright (c) 2013 - 2019 Jason Lee @ calccrypto at 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 wi...
/* A Bison parser, made by GNU Bison 2.4.2. */ /* Skeleton interface for Bison's Yacc-like parsers in C Copyright (C) 1984, 1989-1990, 2000-2006, 2009-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General P...
// // PFUser+Digits.h // // Created by Felix Dumit on 11/6/14. // Copyright (c) 2015 Felix. All rights reserved. // #import <Foundation/Foundation.h> #import <Parse/Parse.h> @class DGTAuthenticationConfiguration; @interface PFUser (Digits) + (void)loginWithDigitsInBackground:(void (^) (PFUser *user, NSError *err...
#pragma once #include "ofMain.h" #include "ofxRestartOFApp.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, ...
main() { printf("31=%d 'a'='%c'\n", 31, 'a'); }
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" @class NSMutableDictionary, WDDocument; // Not exported @interface WDCitationTable : NSObject { WDDocument *mDocument; NSMutableDictionary *mCitati...
/* * Copyright 2000-2008, François Revol, <revol@free.fr>. All rights reserved. * Distributed under the terms of the MIT License. */ #include <View.h> namespace Z { namespace ThemeManager { class ThemeManager; } // ns ThemeManager } // ns Z using Z::ThemeManager::ThemeManager; class BBitmap; class BSeparator; cla...
// -*- C++ -*- //============================================================================= /** * @file Trace.h * * $Id: Trace.h 79134 2007-07-31 18:23:50Z johnnyw $ * * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ //=====================================================================...
#pragma once #include "D3DMesh.h" #include "InstancedTriangleMeshData.h" #include <d3d11.h> namespace PGA { namespace Rendering { namespace D3D { class InstancedTriangleMeshSource : public PGA::Rendering::D3D::Mesh { public: InstancedTriangleMeshSource() = default; virtual size_t getNumInstan...
#ifndef __IRRIGATION_H_ #define __IRRIGATION_H_ #define ON 1 #define OFF 0 #endif
/****************************************************************************************/ /* */ /* Pegasus */ /* ...
/** * This file is part of Chippy. * * (c) Jacob van Eijk <jacob.vaneijk@gmail.com> * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. */ #include <check.h> extern Suite *create_opcodes_suite(); int main(void) { SRunner *runner = ...
// // MHAppDelegate.h // MusicHUD // // Created by Katherine Whitlock on 5/28/13. // Copyright (c) 2013 Katherine Whitlock. All rights reserved. // #import <Cocoa/Cocoa.h> #import "MHiTunesListener.h" #import "MHSonoraListener.h" #import "MHSpotifyListener.h" @interface MHAppDelegate : NSObject <NSApplicationDele...
#ifndef _WIN_T_SOUND_OSCILLATOR_ #define _WIN_T_SOUND_OSCILLATOR_ #include <_type/type.h> #include <_type/type.sound.h> #include <_type/type.sound.note.h> class _soundOscillator : public _sound { private: _u16 frequency; _psgDutyCycle dutyCycle; //! Prepares the channel for use and retu...
/* * SHL - PTY Helpers * * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> * Dedicated to the Public Domain */ /* * PTY Helpers */ #ifndef SHL_PTY_H #define SHL_PTY_H #include <errno.h> #include <stdbool.h> #include <stdint.h> #include <stdlib.h> #include <string.h> #include <unistd.h> /* pty ...
// // AppDelegate.h // DYAlertPickerViewDemo // // Created by danny on 2015/7/7. // Copyright (c) 2015年 danny. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/** * @file MockDataLoggerInterface.h * @brief Google Mock Definition for DataLoggerInterface * @author Ben Frazier * @date 08/23/2017 */ #include <gmock/gmock.h> using ::testing::Eq; #include <gtest/gtest.h> using ::testing::Test; #include "DataLoggerInterface.h" namespace CEM { class MockDataLogger : public...
#ifndef SCHEME_DEFS_H #define SCHEME_DEFS_H #endif
// // DAVKit.h // DAVKit // // Copyright Matt Rajca 2010. All rights reserved. // #import <DAVKit/DAVCredentials.h> #import <DAVKit/DAVRequest.h> #import <DAVKit/DAVRequestGroup.h> #import <DAVKit/DAVRequests.h> #import <DAVKit/DAVResponseItem.h> #import <DAVKit/DAVSession.h>
// Name - Utkarsh Kunwar // Roll No. - B15338 // IC-250 Week - 6 #include "b.h" int main(int argc, char* argv[]) { if(argc != 3) { printf("Enter the number of rows and columns of the matrix. (Only)\n"); return 1; } int n = atoi(argv[1]); int m = atoi(argv[2]); int** arr = maker(n, m); writer(arr, n, m, "b...
#ifndef AppMacros_h__ #define AppMacros_h__ #define NS_UBA_BEGIN namespace uba { #define NS_UBA_END } #define USING_NS_UBA using namespace uba #define USING_NS_CC_UI using namespace cocos2d::ui #endif // AppMacros_h__
#ifndef __BOARD_CONFIG_W25QXX_H_ #define __BOARD_CONFIG_W25QXX_H_ #include "BoardConfig/F103/BoardConfig_Base.h" #include "BoardConfig/F103/BoardConfig_SysTickDelay.h" #include "BoardConfig/F103/BoardConfig_SPI.h" #define BOARD_W25QXX_NUM_LIMIT 1 typedef enum BOARD_W25QXX_INDEX { BOARD_W25QXX_0 = 0, }BOARD_...
// // ScheduleViewController.h // Thermo // // Created by Dale Low on 2/17/16. // Copyright © 2016 gumbypp consulting. 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 Softw...
int trueFiveEighths(int x) { int storebottom = x & 7; int divbyeight = x >> 3; int multbyfive = (divbyeight << 2) + divbyeight; int bottomup = (storebottom << 2) + storebottom; int biasedbottom = bottomup + (7 & (x >> 31)); int fullsize = (biasedbottom >> 3) + multbyfive; return fullsize; }
// // MainViewController.h // MultiplicationTest // // Created by Paul McGuire on 28/12/2008. // Copyright D3BUG Software Ltd 2008. All rights reserved. // #import <UIKit/UIKit.h> @interface MainViewController : UIViewController { } @end
/*************************************************************************** aodv_thread.h - description ------------------- begin : Tue Aug 12 2003 copyright : (C) 2003 by Luke Klein-Berndt email : kleinb@nist...
// // NSString+URLUtils.h // NitroConnection // // Created by Daniel L. Alves on 05/08/14. // Copyright (c) 2014 Daniel L. Alves. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString( URLUtils_NitroConnection ) /** * Returns an escaped url string. The list of characters that will be es...
// // SPCoreDataStorage+Mock.h // Simperium // // Created by Jorge Leandro Perez on 12/2/14. // Copyright (c) 2014 Simperium. All rights reserved. // #import <Foundation/Foundation.h> #import "SPCoreDataStorage.h" @interface SPCoreDataStorage (Mock) - (void)test_waitUntilSaveCompletes; + (void)test_simulateWo...
#include <stdio.h> #include <stdlib.h> int matriz_identidade (int ordem , int **matriz) { int i,j; for ( i = 0; i < ordem; i += 1 ) { for ( j = 0; j < ordem; j += 1 ) { if (i == j) { if (matriz[i][j] != 1) { return 0; } } else { if (matriz[i][j] != 0 ) { return 0...
int simpleMatrixMultiply(double* const a, double* const b, double* const out, int p, int q, int r);
/* * 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" @interface NSObject (SUInvocationAdditions) - (id)responderChainProxy:(id)arg1; @end
// // DPPhotoDetailsViewController.h // DasPrototyp // // Created by HongliYu on 14-3-14. // Copyright (c) 2014年 HongliYu. All rights reserved. // #import <UIKit/UIKit.h> @interface DPPhotoDetailsViewController : DPBaseViewController @end
#define caar(obj) car(car(obj)) #define cadr(obj) car(cdr(obj)) #define cdar(obj) cdr(car(obj)) #define cddr(obj) cdr(cdr(obj)) #define caaar(obj) car(car(car(obj))) #define caadr(obj) car(car(cdr(obj))) #define cadar(obj) car(cdr(car(obj))) #define caddr(obj) car(cdr(cdr(obj))) #define cdaar(obj) cdr(car(...
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include "ofMain.h" #include <vector> #include <QMainWindow> #include <QMdiSubWindow> #include <QWidget> namespace Ui { class MainWindow; } class ofApp; class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWind...
// // TouchDrawView.h // TouchTracker // // Created by Brent Westmoreland on 8/27/13. // Copyright (c) 2013 Brent Westmoreland. All rights reserved. // #import <UIKit/UIKit.h> @protocol TouchDrawViewDataSource <NSObject> - (NSArray *)completeLines; - (NSDictionary *)linesInProcess; @end @interface TouchDrawVie...
// // BMStack.h // CodeChallenges // // Created by Jeffrey Camealy on 10/21/13. // Copyright (c) 2013 bearMountain. All rights reserved. // #import <Foundation/Foundation.h> @interface BMStack : NSObject - (void)push:(int)n; - (int)pop; @end
// // UINavigationBar+Awesome.h // picturer // // Created by BaiLinfeng on 16/5/9. // Copyright © 2016年 FR. All rights reserved. // #import <UIKit/UIKit.h> @interface UINavigationBar (Awesome) - (void)lt_setBackgroundColor:(UIColor *)backgroundColor; - (void)lt_setElementsAlpha:(CGFloat)alpha; - (void)lt_setTrans...
// Copyright (c) 2010-present Bifrost Entertainment AS and Tommy Nguyen // Distributed under the MIT License. // (See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT) #ifndef GRAPHICS_ANIMATION_H_ #define GRAPHICS_ANIMATION_H_ #include <functional> #include <limits> #include <memory> #include...
#pragma once // Module for interacting with the ADS1015 ADC over I2C. // I2C, GPIO, Interrupt, and Soft Timers should be initialized. // // The ADS1015 supports a conversion ready pin that we use as an interrupt. // // Uses a watchdog to detect if the ADS1015 has stopped triggering interrupts. Although we use // GPIO i...
#pragma once #include <glbinding/gl/boolean.h> #include <glbinding/nogl.h> namespace gl45 { // import booleans to namespace using gl::GL_FALSE; using gl::GL_TRUE; } // namespace gl45
// Copyright Joakim Karlsson & Kim Gräsman 2010-2012. // Distributed under the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #ifndef IGLOO_ALLOPERATOR_H #define IGLOO_ALLOPERATOR_H #include <igloo/fluent/operato...
// // ViewController.h // iTahDoodle // // Created by edwardtoday on 12/22/14. // Copyright (c) 2014 edwardtoday. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // DConnectManagerDeliveryProfile.h // DConnectSDK // // Copyright (c) 2014 NTT DOCOMO,INC. // Released under the MIT license // http://opensource.org/licenses/mit-license.php // #import "DConnectProfile.h" /** * デバイスプラグインにリクエストを配送するためのプロファイル. */ @interface DConnectManagerDeliveryProfile : DConnectProfile ...
// // ShowReturnController.h // Pigeon // // Created by James Bucanek on 12/24/13. // Copyright (c) 2013 James Bucanek. See LICENSE.txt. // #import "ShowLocationController.h" // // A subclass of ShowLocationController that maintains a second overlay that // draws the path from the user's current location back to ...
#ifndef G711U_H #define G711U_H class G711u { public: G711u(); unsigned char encode(short sample); short decode(unsigned char sample); private: short decodetable[256]; unsigned char encodetable[65536]; }; #endif // G711U_H
//---------------------------------------------------------------------------- // // "Copyright Centre National d'Etudes Spatiales" // // License: LGPL // // See LICENSE.txt file in the top level directory for more details. // //---------------------------------------------------------------------------- // $Id$ #ifn...
// Copyright (c) 2015-2019 Patricio Cubillos and contributors. // pytips is open-source software under the MIT license (see LICENSE). /* Definitions for indexing Numpy arrays: */ /* 1D double ndarray: */ #define INDd(a,i) *((doubl...
#include <sgfx.h> #include <sgfx_draw.h> #include <sgfx_image.h> #include <sgfx_log.h> #include <sgfx_surface.h> int main(int argc, char **argv) { if (sgfx_init(argc, argv) == SGFX_OK) { SGFXSurface surface; SGFXSurfaceDescription desc; desc.width = -1; desc.height = -1; desc.color = (int32_t)0x0...
/* * rt_nonfinite.h * * Real-Time Workshop code generation for Simulink model "TemplateLgV2.mdl". * * Model Version : 1.114 * Real-Time Workshop version : 7.3 (R2009a) 15-Jan-2009 * C source code generated on : Sun Mar 30 09:45:10 2014 * * Target selection: nidll_vxworks.tlc * Note: GRT inclu...
// // telehash_ios.h // telehash-ios // // Created by Thomas Muldowney on 9/30/13. // Copyright (c) 2013 Telehash Foundation. All rights reserved. // #import <Foundation/Foundation.h> @interface telehash_ios : NSObject @end
// ====================================================================== /*! * \file NFmiStatusString.h * \brief Interface of class NFmiStatusString */ // ====================================================================== #pragma once #include "NFmiString.h" //! Undocumented class NFmiStatusString : public N...
// OCHamcrest by Jon Reid, http://qualitycoding.org/about/ // Copyright 2017 hamcrest.org. See LICENSE.txt #import <OCHamcrestIOS/HCDiagnosingMatcher.h> NS_ASSUME_NONNULL_BEGIN /*! * @abstract Calculates the logical conjunction of multiple matchers. * @discussion Evaluation is shortcut, so subsequent matchers a...
#ifndef PINS_H #define PINS_H int POT_PIN = 2; int CLK_BEEP_PIN = 8; int FEEDBACK_PIN = 9; int LED_R = 2; int LED_B = 4; int LED_G = 7; int OUTSIDE_BUTTON_PIN = 3; #endif
// // HYBImageCropController.h // CALayer精讲 // // Created by huangyibiao on 15/12/8. // Copyright © 2015年 huangyibiao. All rights reserved. // #import "HYBBaseController.h" @interface HYBImageCropController : HYBBaseController @end
#ifndef CSVGFeFunc_H #define CSVGFeFunc_H #include <CSVGObject.h> class CSVGFeFunc : public CSVGObject, public CSVGPrintBase<CSVGFeFunc> { public: using ValueTable = std::vector<double>; public: CSVG_OBJECT_DEF("feFunc", CSVGObjTypeId::FE_FUNC) CSVGFeFunc(CSVG &svg, CRGBAComponent component); CSVGFeFunc(c...
#pragma once namespace fastbird { struct Candidate { bool operator< (const Candidate& other) const { return mName < other.mName; } bool operator== (const std::string& otherName) const { return mName == otherName; } void AddCandidate(const StringVector& candidates); std::string mName; std::vector<Cand...
// // RxQueue.h // RxQueue // // Created by Tomoya Hirano on 2017/11/29. // Copyright © 2017年 Tomoya Hirano. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for RxQueue. FOUNDATION_EXPORT double RxQueueVersionNumber; //! Project version string for RxQueue. FOUNDATION_EXPORT const unsig...
// -*- C++ -*- //========================================================================== /** * @file Condition_T.h * * $Id: Condition_T.h 2622 2015-08-13 18:30:00Z mitza $ * * Moved from Synch.h. * * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ //=============================================...
// // ViewController.h // BarrageDemo // // Created by Ding on 2017/9/16. // Copyright © 2017年 XU. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
// // IFlyPcmRecorder.h // MSC // description: // Created by ypzhao on 12-11-15. // Copyright (c) 2012年 iflytek. All rights reserved. // #import <Foundation/Foundation.h> #import <AudioToolbox/AudioQueue.h> #import <AudioToolbox/AudioFile.h> #import <AudioToolbox/AudioServices.h> #import <AudioToolbox/AudioCon...
#ifndef _Motion_H #define _Motion_H #include "RTIMULib.h" #include "RTIMULibDefs.h" #include "RunningAverage.h" #define ACCEL_AVG_HISTORY 5 // size of moving average filter #define ACCEL_VAR_HISTORY 7 // size of moving average filter #define HEADING_AVG_HISTORY 25 ...
// ucdev_include_parser.cpp : Defines the entry point for the console application. // #pragma once #include <vector> #include <uc_dev/gx/img/img.h> namespace uc { namespace model { namespace details { template <typename swizzle_t > inline void swizzle_texture(const gx::...
/*************************************************************************/ /* editor_file_server.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * Generated by class-dump 3.3.4 (64 bit). * * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2011 by Steve Nygard. */ #import "NSObject.h" @class NSArray, NSMutableArray; @interface AVCaptureMovieFileOutputInternal : NSObject { NSMutableArray *recordingDelegatesArray; CDStruct_1b6d18a9...
// qstrs specific to this port Q(help) Q(collections) Q(struct) Q(microbit) Q(reset) Q(sleep) Q(running_time) Q(panic) Q(temperature) Q(this) Q(authors) Q(antigravity) Q(love) Q(badaboom) Q(MicroBitDigitalPin) Q(MicroBitAnalogDigitalPin) Q(MicroBitTouchPin) Q(read_digital) Q(write_digital) Q(read_analog) Q(write_...