text
stringlengths
4
6.14k
/*-------------------------------------------------------------------- (C) Copyright 2006-2011 Barcelona Supercomputing Center Centro Nacional de Supercomputacion This file is part of Mercurium C/C++ source-to-source compiler. See AUTHORS file in the top level directory for inform...
/* * globals.h * * Created on: Dec 4, 2014 * Author: asseylum */ #ifndef SRC_GLOBALS_H_ #define SRC_GLOBALS_H_ #include <vector> #include "ServerThread.h" #include "ServerClasses/Group.h" #include "ServerClasses/User.h" class Group; class ServerThread; extern std::vector<ServerThread*> threadPool; extern...
#include <sys/types.h> #include <sys/stat.h> #include <unistd.h> #include <strings.h> #include <errno.h> #include <fcntl.h> #ifndef _DIRECTORY_FSYNC_ #define _DIRECTORY_FSYNC_ /* open a directory for reading and fsync the resultant fd */ int cDirectoryFsync(char *path) { int fd = 0; int ret = 0; struct stat fdst...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__9C9F47D3_224A_4BE5_9ACF_F34E6EC24C9F__INCLUDED_) #define AFX_STDAFX_H__9C9F47D3_224A_4BE5_9ACF_F34E6EC24C9F__INCLUDED_ ...
// stdafx.h : •W€‚̃VƒXƒeƒ€ ƒCƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹A‚Ü‚½‚Í // ŽQÆ‰ñ”‚ª‘½‚­A‚©‚‚ ‚Ü‚è•ύX‚³‚ê‚È‚¢AƒvƒƒWƒFƒNƒgê—p‚̃Cƒ“ƒNƒ‹[ƒh ƒtƒ@ƒCƒ‹ // ‚ð‹Lq‚µ‚Ü‚·B // #pragma once #include "targetver.h" // CppUnitTest ‚̃wƒbƒ_[ #include "CppUnitTest.h" // TODO: ƒvƒƒOƒ‰ƒ€‚É•K—v‚ȒljÁ...
#include<stdio.h> main() { abc(((200,100),(300,400))); } abc(int i) { printf("\n%d",i); }
/* * File: chs_debug.h * Author: oscar * * Created on March 16, 2014, 12:32 AM */ #ifndef CHS_DEBUG_H #define CHS_DEBUG_H #include <stdio.h> #include <stdarg.h> #ifdef __cplusplus extern "C" { #endif /* Flag set by ‘--verbose’. */ int verbose_flag; void verbose(const char * format, ...); #if...
void progress_bar(int percent) { std::string bar; for(int i = 0; i < 50; ++i) { if(i < (percent / 2)) bar.replace(i, 1, "="); else if(i == (percent / 2)) bar.replace(i, 1, ">"); else bar.replace(i, 1, " "); } std::cout << "\r" "[" << bar << "] "; std::cout.width(3); std::cout << percent << "% ...
// // Use this file to import your target's public headers that you would like to expose to Swift. // #import "NSURLSession+Deserlizer.h" #import "JSONDeserlizer.h" #import "APIEndpoints.h" #import "Sector.h" #import "Brochure.h"
#ifndef C_ELM_GRID_H #define C_ELM_GRID_H #include "elm.h" #include "CElmObject.h" namespace elm { using namespace v8; class CElmGrid : public CElmObject { private: static Persistent<FunctionTemplate> tmpl; protected: CElmGrid(Local<Object> _jsObject, CElmObject *parent); static Handle<FunctionTemplate> G...
#include <iostream> #include <fstream> #include <cstring> using namespace std; #ifndef PERSONAL #define PERSONAL class Personal { public: Personal(); Personal(char*,char*,char*,int,long); void writeToFile(fstream&) const; void readFromFile(fstream&); void readKey(); int size()...
#include <errno.h> extern void _abort(int); void abort() { _abort(errno); }
/* Copyright 2017 Vector Creations Ltd 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 agreed to in writing...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
// Switches class class Switches { public: Switches(); int compression_method; //compression method to use (default: none) unsigned int compression_otf_max_memory; // max. memory for LZMA compression method (default: 2 GiB) unsigned int compression_otf_thread_count; // max. thread count fo...
/* * Copyright (c) 2010 Yahoo! Inc. All rights reserved. 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...
/* ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio 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 ap...
/* IBM_PROLOG_BEGIN_TAG */ /* * Copyright 2003,2016 IBM International Business Machines Corp. * * 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/LIC...
#ifndef _COMMON_H #define _COMMON_H #ifndef __MACH__ #include <numa.h> #include <numaif.h> #endif // The author knows that this is really ugly... // But what can we do? Lets hope our Macbook // supporting NUMA soon! A 2lbs laptop with // 4 NUMA nodes, how cool is that! #ifdef __MACH__ #include <math.h> #include <s...
// // TesterEventDispatcher.h // // Package: Generated // Module: TesterEventDispatcher // // This file has been generated. // Warning: All changes to this will be lost when the file is re-generated. // #ifndef TesterEventDispatcher_INCLUDED #define TesterEventDispatcher_INCLUDED #include "Poco/RemotingNG/EventDis...
// // HLCardResult.h // 简闻 // // Created by 韩露露 on 16/5/2. // Copyright © 2016年 韩露露. All rights reserved. // #import <Foundation/Foundation.h> @interface HLCardResult : NSObject @property (copy, nonatomic) NSString *area; @property (copy, nonatomic) NSString *sex; @property (copy, nonatomic) NSString *birthday; @...
/** * @file LogAttribute.h * LogAttribute class declaration * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You unde...
/* * Copyright 2014 The Kythe Authors. All rights reserved. * * 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 ap...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_Object4170816371.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ignored "...
/********************************************************************* * * test_listbuckets.h: Riak C Unit testing for List Buckets Message * * Copyright (c) 2007-2014 Basho Technologies, Inc. All Rights Reserved. * * This file is provided to you under the Apache License, * Version 2.0 (the "License"); you may...
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Users/tball/tmp/j2objc/testing/mockito/build_result/java/org/mockito/internal/util/collections/ArrayUtils.java // #ifndef _OrgMockitoInternalUtilCollectionsArrayUtils_H_ #define _OrgMockitoInternalUtilCollectionsArrayUtils_H_ @class IOSObjectArray;...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not ...
// // WalletViewController.h // Courier // // Created by 朱玉涵 on 16/8/9. // Copyright © 2016年 dabao. All rights reserved. // #import <UIKit/UIKit.h> @interface WalletViewController : UIViewController @end
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD // // 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 app...
#include <stdlib.h> #include <string.h> #include <libterm_internal.h> #include "term_logging.h" void term_process_output_data(term_t_i *term, char *buf, int length) { int i, consumed; for( i = 0; i < length; i ++ ) { #if 0 if( isgraph( buf[ i ] ) ) { printf( "Output character %d (%c)\n", b...
#ifndef Arduino_h #define Arduino_h #include "cb_pio.h" #include "hal_types.h" #define HIGH cbPIO_HIGH #define LOW cbPIO_LOW #define INPUT cbPIO_INPUT_PD #define OUTPUT cbPIO_OUTPUT typedef uint8 uint8_t; typedef uint16 uint16_t; typedef uint32 uint32_t; typedef bool boolean; typedef uint8 byte; vo...
// // SplashController.h // JiangHomeStyle // // Created by 工业设计中意(湖南) on 13-8-28. // Copyright (c) 2013年 工业设计中意(湖南). All rights reserved. // #import <UIKit/UIKit.h> #import "googleAnalytics/GAI.h" @class ViewController; @interface SplashController : GAITrackedViewController { ViewController *viewController;...
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
/* * Copyright 2017 NVIDIA Corporation * * 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 ...
/* $NetBSD: dict_cache.h,v 1.1.1.2 2013/01/02 18:59:12 tron Exp $ */ #ifndef _DICT_CACHE_H_INCLUDED_ #define _DICT_CACHE_H_INCLUDED_ /*++ /* NAME /* dict_cache 3h /* SUMMARY /* External cache manager /* SYNOPSIS /* #include <dict_cache.h> /* DESCRIPTION /* .nf /* * Utility library. */ #include <dict.h> /* *...
// TTTArrayFormatter.h // // Copyright (c) 2011 Mattt Thompson (http://mattt.me) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the r...
// Copyright 2017 Dungeon Text // // 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 agreed to in...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you...
#ifndef LCD12864_H #define LCD12864_H void Lcm_Init(); void LCD12864SettingInit(); void Display_String(unsigned char,unsigned char *); void LCD12864DisplayChar(unsigned char , unsigned char , unsigned char ); void LCD12864DisplayTwoChar(unsigned char , unsigned char , unsigned char , unsigned char ); void LCD12864Sett...
/* * Copyright 2004,2005 The Apache Software Foundation. * * 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 ap...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM Limited * * 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 re...
/* * Copyright 2015 Matthias Fuchs * * 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 ...
#ifndef ARK_CORE_BASE_STATE_H_ #define ARK_CORE_BASE_STATE_H_ #include <unordered_map> #include "core/forwarding.h" #include "core/base/api.h" #include "core/base/command.h" #include "core/types/shared_ptr.h" #include "core/types/weak_ptr.h" namespace ark { class ARK_API State { public: State(StateMachine& stat...
/************************************************/ /* */ /* AIMP Programming Interface */ /* v3.60 build 1426 */ /* */ /* Artem Izmaylov */ /* ...
#ifndef PD_TCP_H_ #define PD_TCP_H_ #include "pd_define.h" PD_CPP_START struct PdIOComponent; struct PdTcpIOComponent; extern int pd_tcp_on_readable(struct PdIOComponent *ioc); extern int pd_tcp_on_writeable(struct PdIOComponent *ioc); extern void pd_tcp_on_error(struct PdIOComponent *ioc); extern struct PdIOCom...
// // HeaderInfoViewController.h // IntegrityHelp // // Created by 小凡 on 2017/4/27. // Copyright © 2017年 小凡. All rights reserved. // #import "BaseViewController.h" typedef void(^CallBack)(NSString *); @interface HeaderInfoViewController : BaseViewController @property(nonatomic,strong)NSString *imageUrl; @propert...
// // GameSceneViewController.h // White collar // // Created by Alexander Popov on 2/10/15. // Copyright (c) 2015 -. All rights reserved. // #import <UIKit/UIKit.h> @interface GameSceneViewController : UIViewController @end
/* RSAREF.H - header file for RSAREF cryptographic toolkit */ /* Copyright (C) 1991-2 RSA Laboratories, a division of RSA Data Security, Inc. All rights reserved. */ /* RSA key lengths. */ #ifndef RSAREF_H #define RSAREF_H #define MIN_RSA_MODULUS_BITS 32 #define MAX_RSA_MODULUS_BITS 1984 // 248*8 = 1984 #define...
// // AppDelegate.h // TimerPause // // Created by Qinting on 16/4/14. // Copyright © 2016年 Qinting. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#ifndef _EPOLL_UTILS_H_ #define _EPOLL_UTILS_H_ #include <iostream> #include <stdio.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <strings.h> #include <fcntl.h> #include <unistd.h> #include <netinet/in.h> #include <sys/types.h> #include <sys/socket.h> #include <arpa/inet.h> #include <sys/epoll...
// // AdProBannerView.h // AdSDK // // Created by luo on 15/12/2. // Copyright © 2015年 Goyoo. All rights reserved. // #import <UIKit/UIKit.h> #define ADPRO_AD_SIZE_320x50 CGSizeMake(320, 50) // For iPhone #define ADPRO_AD_SIZE_468x60 CGSizeMake(468, 60) // For iPad #define ADPRO_AD_SIZE_768x90 CGSizeMake...
#pragma once #include <string> #include "envoy/network/address.h" #include "envoy/network/transport_socket.h" namespace Envoy { namespace Network { namespace Test { /** * Determines if the passed in address and port is available for binding. If the port is zero, * the OS should pick an unused port for the supplie...
// // ANYPlaybackView.h // buxinteng // // Created by Anyson Chan on 15/11/17. // Copyright © 2015年 Anyson Chan. All rights reserved. // #import <UIKit/UIKit.h> #import "CircleProgressView.h" #import "ANYMusicLRCView.h" @class ANYPlaybackView; @protocol ANYPlaybackViewDelegate <NSObject> - (void)playbackViewPres...
/* * * Copyright 2017 Asylo authors * * 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 agree...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // API Gateway API (apigateway/v1) // Documentation: // https://cloud.google.com/api-gateway/docs #if SWIFT_PACKAGE || GTLR_USE_MODULAR_IMPORT @import GoogleAPIClient...
// // AppDelegate.h // VideoTest // // Created by Windy on 2016/11/7. // Copyright © 2016年 Windy. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// UIImage+Alpha.h // Created by Trevor Harmon on 9/20/09. // Free for personal or commercial use, with or without modification. // No warranty is expressed or implied. // NOTE: pingoGame modified to convert from Category to // new Class name since iPhone seems to have some issues with Categories // of built in Clas...
/* * @file low.h * @brief PSEC Library * HASH [Blake2] low level interface header * * Date: 03-09-2014 * * Copyright 2014 Pedro A. Hortas (pah@ucodev.org) * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with th...
/** * Copyright (C) 2013 kangliqiang ,kangliq@163.com * * 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 ...
#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_Giotto_ExampleVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Giotto_ExampleVersionS...
/* * Copyright 2013 Simone Campagna * * 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 agreed...
/* ======================================== * * Copyright YOUR COMPANY, THE YEAR * All Rights Reserved * UNPUBLISHED, LICENSED SOFTWARE. * * CONFIDENTIAL AND PROPRIETARY INFORMATION * WHICH IS THE PROPERTY OF your company. * * ======================================== */ #include <project.h> #incl...
/** @file A brief file description @section license License Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you und...
/* * Copyright 2015-present Facebook, 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...
// // main.c // 13【掌握】指针变量的初始化和引用 // // Created by 高明辉 on 15/12/28. // Copyright © 2015年 itcast. All rights reserved. // #include <stdio.h> int main(int argc, const char * argv[]) { /* 指针的初始化也分为两种方式: 1、定义的同时初始化 2、先定义后初始化 注意: 常见的做法:在定义万指针后,紧接着将其赋值为NULL,目的就是不让指针乱指...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2014-2016 ArangoDB GmbH, Cologne, Germany /// Copyright 2004-2014 triAGENS GmbH, Cologne, Germany /// /// Licensed under the Apache License, Version 2.0 (the "License"); /// you may not use this file except...
// // XMPPUnReadMessageCoreDataStorageObject.h // XMPP_Project // // Created by Peter Lee on 14/10/21. // Copyright (c) 2014年 Peter Lee. All rights reserved. // #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> @interface XMPPUnReadMessageCoreDataStorageObject : NSManagedObject @property (nonatomi...
/** * Copyright (c) 2014 Netheos (http://www.netheos.net) * * 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 appl...
// // XPBookcityViewController.h // ManHuaCheng // // Created by dragon on 16/6/28. // Copyright © 2016年 win. All rights reserved. // #import <UIKit/UIKit.h> @interface XPBookcityViewController : UIViewController @end
// ============================================================================ // casting.h: Dynamic casts. // ============================================================================ #ifndef SPARK_SUPPORT_CASTING_H #define SPARK_SUPPORT_CASTING_H 1 #ifndef SPARK_CONFIG_H #include "spark/config.h" #endif #if ...
/* -------------------------------------------------------------------------- * * CEINMS is a standalone toolbox for neuromusculoskeletal modelling and * * simulation. CEINMS can also be used as a plugin for OpenSim either * * through the OpenSim GUI or API. See https://simtk.org/home/ceinms and the * ...
// Copyright 2013 Google Inc. All Rights Reserved. // // 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 appl...
// // RadioDetailDB.h // Leisure // // Created by 莫大宝 on 16/4/13. // Copyright © 2016年 dabao. All rights reserved. // #import <Foundation/Foundation.h> #import "RadioDetailModel.h" @interface RadioDetailDB : NSObject // 数据库操作对象 @property (nonatomic, strong) FMDatabase *dataBase; // 创建表 - (void)createDataTable; ...
#ifndef __LIGHT_H__ #define __LIGHT_H__ #ifndef _WIN32 #include <algorithm> using std::min; using std::max; #endif #include "scene.h" #include "../ui/TraceUI.h" #include <FL/gl.h> class Light : public SceneElement { public: virtual glm::dvec3 shadowAttenuation(const ray& r, const glm::dvec3& pos) const = 0; virtu...
/* Copyright 2014 PAW Solutions LLC 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 agreed to in ...
#include <core.h> static inline vector va_construct_vector(heap h, va_list a) { vector v = allocate_vector(h, 10); void *n; while ((n = va_arg(a, void *)) != END_OF_ARGUMENTS) vector_insert(v, n); return(v); } vector build_vector_internal(heap h, ...) { va_list a; va_start(a, h); ...
/* * This file is part of the Camera Streaming Daemon * * Copyright (C) 2017 Intel Corporation. All rights reserved. * * 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://w...
// // DCUserAdressCell.h // CDDStoreDemo // // Created by 陈甸甸 on 2017/12/19. //Copyright © 2017年 RocketsChen. All rights reserved. // #import <UIKit/UIKit.h> @class DCAdressItem; @interface DCUserAdressCell : UITableViewCell @property (weak, nonatomic) IBOutlet UIButton *chooseButton; @property (nonatomic, copy)...
#pragma once #include "ShootingObject.h" #include "HudSound.h" class CPhysicsShellHolder; class CCarWeapon :public CShootingObject { protected: typedef CShootingObject inheritedShooting; void SetBoneCallbacks (); void ResetBoneCallbacks (); virtual void FireStart (); virtual void FireEnd (); ...
// Copyright 2010-2014, Google Inc. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: // // * Redistributions of source code must retain the above copyright // notice, this list of condit...
/******************************************************************************* **NOTE** This code was generated by a tool and will occasionally be overwritten. We welcome comments and issues regarding this code; they will be addressed in the generation tool. If you wish to submit pull requests, please do so for th...
// Copyright 2011 WebDriver committers // 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 ...
// bdlb_literalutil.h -*-C++-*- #ifndef INCLUDED_BDLB_LITERALUTIL #define INCLUDED_BDLB_LITERALUTIL #include <bsls_ident.h> BSLS_IDENT("$Id: $") //@PURPOSE: Provide utility routines for programming language literals. // //@CLASSES: // bdlb::LiteralUtil: utilities names...
#pragma once #include "Bag.h" #include <iostream> #include <assert.h> #include <string> using namespace std; class DiGraph { public: DiGraph(int V); DiGraph(istream& ist); DiGraph(const DiGraph& DG); ~DiGraph(); int V() const; int E() const; void AddEdge(int v, int w); Bag<int> Adj(int v) const; DiGraph revers...
/* * Copyright (c) 2015 Cisco and/or its affiliates. * 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 applicabl...
// // ELViewController.h // ELSwipeController // // Created by Yarik Smirnov on 28.12.11. // Copyright (c) 2011 e-legion ltd. All rights reserved. // #import <UIKit/UIKit.h> @class ELSwipeBar; @interface ELSwipeController : UIViewController { @protected UIScrollView *_controllersContainer; NSMutableArr...
// // UIImage+XMG.h // 小码哥彩票 // // Created by xiaomage on 16/1/29. // Copyright © 2016年 小码哥. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (DT) /** * 图片不要渲染 * * @param name 图片名字 * * @return 返回一张不要渲染的图片 */ + (UIImage *)imageWithRenderOriginalName:(NSString *)name; @end
// // (C) Jan de Vaan 2007-2010, all rights reserved. See the accompanying "License.txt" for licensed use. // #ifndef CHARLS_CONTEXT #define CHARLS_CONTEXT #include <cstdlib> // // JlsContext: a JPEG-LS context with it's current statistics. // struct JlsContext { public: JlsContext() {} ...
/* * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> * * 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 Fou...
//---------------------------------------------------------- -*- Mode: C++ -*- // $Id: DiskConnection.h 385 2010-05-27 15:58:30Z sriramsrao $ // // Created 2006/03/23 // // Copyright 2008 Quantcast Corp. // Copyright 2006-2008 Kosmix Corp. // // This file is part of Kosmos File System (KFS). // // Licensed un...
/* * author: Thomas Yao */ #include <err.h> #include <stdlib.h> #include "term_vector.h" struct _term_vector* term_vector_initial(char* _field, char* _tms[], int _term_freqs[]) { struct _term_vector* tv = (struct _term_vector*) malloc(sizeof( struct _term_vector)); ...
/** * @copyright Copyright 2016 The J-PET Framework Authors. All rights reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may find a copy of the License in the LICENCE file. * * Unless required by applicable la...
/* * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/* * nghttp2 - HTTP/2 C Library * * Copyright (c) 2013 Tatsuhiro Tsujikawa * * 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 ri...
/* * Copyright (c) 2015 Lindem Data Acquisition AS. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use * these files except in compliance with the License. You may obtain a copy of the * License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless r...
#pragma once #include <MI.h> #include <memory> namespace MI { class Instance; class MIValue { private: MI_Value m_value; MI_Type m_type; MI_Uint32 m_flags = 0; void Delete(MI_Value& value, MI_Type type); void SetNullValue(); void CopyString(const std::s...
// Copyright Joyent, Inc. and other Node contributors. // // 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...
/** * A class which describes the properties and actions of a socket. * * @date Jul 6, 2014 * @author Joeri HERMANS * @version 0.1 * * Copyright 2013 Joeri HERMANS * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use thi...