repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Webtrekk/Webtrekk-iOS-v5
MappIntelligenceiOS/MIWebViewTracker.h
<gh_stars>0 // // MIWebViewTracker.h // MappIntelligenceSDK // // Created by <NAME> on 08/12/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <WebKit/WebKit.h> NS_ASSUME_NONNULL_BEGIN @interface MIWebViewTracker : NSObject<WKScriptMessageHandler> ...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Properties/MIUserCategories.h
// // MIUserCategories.h // MappIntelligenceSDK // // Created by <NAME> on 20/10/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN typedef struct MIBirthday { int day; int month; int year; } MIBirthday; typedef NS_ENUM(N...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MIMediaEvent.h
// // MIMediaEvent.h // MappIntelligenceSDK // // Created by <NAME> on 28/12/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIMediaParameters.h" #import "MIEventParameters.h" #import "MISessionParameters.h" #import "MIEcommerceParameters.h" #impor...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence.h
<reponame>Webtrekk/Webtrekk-iOS-v5 // // MappIntelligence.h // MappIntelligence // // Created by <NAME> on 1/3/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> //! Project version number for MappIntelligence. FOUNDATION_EXPORT double MappIntelligenceVersionNu...
Webtrekk/Webtrekk-iOS-v5
MappIntelligenceSDK-tvOS/MappIntelligenceSDK_tvOS.h
<reponame>Webtrekk/Webtrekk-iOS-v5<filename>MappIntelligenceSDK-tvOS/MappIntelligenceSDK_tvOS.h // // MappIntelligenceSDK_tvOS.h // MappIntelligenceSDK-tvOS // // Created by <NAME> on 04/05/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <MappIntell...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Features/MIDeepLink.h
<filename>MappIntelligence/Features/MIDeepLink.h // // DeepLink.h // MappIntelligenceSDK // // Created by <NAME> on 06/11/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MICampaignParameters.h" NS_ASSUME_NONNULL_BEGIN @interface MIDeepLink : NSOb...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/PersistanceLayer/Database/MIParameter.h
// // MIParameter.h // MappIntelligenceSDK // // Created by <NAME> on 10/06/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIParameter : NSObject @property (nonatomic, strong, readwrite) NSNumber *uniqueId; // NSIntege...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Events/MIPageViewEvent.h
<reponame>Webtrekk/Webtrekk-iOS-v5<gh_stars>1-10 // // MIPageViewEvent.h // MappIntelligenceSDK // // Created by <NAME> on 3/6/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIPageParameters.h" #import "MITrackingEvent.h" #import "MISessionPa...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Network/Tracking Request/MITrackerRequest.h
// // TrackerRequest.h // MappIntelligenceSDK // // Created by <NAME> on 2/12/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MITrackingEvent.h" #import "MIProperties.h" NS_ASSUME_NONNULL_BEGIN @interface MITrackerRequest : NSObject <NSURLSessionDa...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Network/Tracking Request/MIParams.h
// // MIParams.h // MappIntelligenceSDK // // Created by <NAME> on 17/12/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIParams : NSObject +(NSString *)internalSearch; +(NSString *)mediaCode; +(NSString *)customerId; ...
Webtrekk/Webtrekk-iOS-v5
MappIntelligenceWatchOS/MappIntelligenceWatchOS.h
<gh_stars>1-10 // // MappIntelligenceWatchOS.h // MappIntelligenceWatchOS // // Created by <NAME> on 3/24/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIPageViewEvent.h" #import "MIActionEvent.h" #import "MIParams.h" #import "MIParamType.h" typed...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MISessionParameters.h
<reponame>Webtrekk/Webtrekk-iOS-v5 // // MISessionProperties.h // MappIntelligenceSDK // // Created by <NAME> on 11/09/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MISessionParameters : NSObject @property (nullable) N...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Log/MappIntelligenceLogger.h
<gh_stars>1-10 // // MappIntelligenceLogger.h // Webrekk // // Created by <NAME> on 03/01/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, MappIntelligenceLogLevelDescription) { kMappIntelligenceLogLevelDescriptionAll = 1, // A...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Properties/MIMediaParameters.h
// // MIMediaParameters.h // MappIntelligenceSDK // // Created by <NAME> on 27/12/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIMediaParameters : NSObject @property (nonnull) NSString *name; @property (nonnull) NSSt...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/PersistanceLayer/Database/MIRequestData.h
// // MIRequestData.h // MappIntelligenceSDK // // Created by <NAME> on 10/06/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIRequest.h" NS_ASSUME_NONNULL_BEGIN @interface MIRequestData : NSObject @property (nonatomic, strong, readonly) NSMuta...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MIFormSubmitEvent.h
// // MIFromSubmitEvent.h // MappIntelligenceSDK // // Created by <NAME> on 1.2.22.. // Copyright © 2022 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MITrackingEvent.h" #import "MIFormParameters.h" NS_ASSUME_NONNULL_BEGIN @interface MIFormSubmitEvent : MITrackingEvent ...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Utility/MIEnvironment.h
// // MIEnvironment.h // MappIntelligenceSDK // // Created by <NAME> on 3/6/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIEnvironment : NSObject + (NSString *)deviceModelString; + (NSString *)operatingSystemName; + (N...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Features/MIMediaTracker.h
// // MIMediaTracker.h // MappIntelligenceSDK // // Created by <NAME> on 08/01/2021. // Copyright © 2021 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIMediaEvent.h" NS_ASSUME_NONNULL_BEGIN @interface MIMediaTracker : NSObject + (nullable instancetype)sharedInstance; ...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Properties/MIProduct.h
<reponame>Webtrekk/Webtrekk-iOS-v5 // // Product.h // MappIntelligenceSDK // // Created by <NAME> on 26/10/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIProduct : NSObject @property (nonatomic, nullable) NSString* n...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MIPageParameters.h
<filename>MappIntelligence/include/MIPageParameters.h // // MIPageParameters.h // MappIntelligenceSDK // // Created by <NAME> on 17/07/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIPageParameters : NSObject @propert...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Properties/MIEventParameters.h
// // MIActionProperties.h // MappIntelligenceSDK // // Created by <NAME> on 08/09/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIEventParameters : NSObject @property (nullable) NSDictionary<NSNumber* ,NSString*>* pa...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MIFormParameters.h
// // MIFormParameters.h // MappIntelligenceSDK // // Created by <NAME> on 26.1.22.. // Copyright © 2022 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface MIFormParameters : NSObject /// formName by default is name of uivie...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Network/Tracking Request/MIRequestTrackerBuilder.h
// // MIRequestTrackerBuilder.h // MappIntelligenceSDK // // Created by <NAME> on 3/6/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIConfiguration.h" #import "MITrackingEvent.h" #import "MIProperties.h" #import "MITrackerRequest.h" NS_ASSUME_NONN...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/PersistanceLayer/MappIntelligenceDefaultConfig.h
<reponame>Webtrekk/Webtrekk-iOS-v5 // // MappIntelligenceDefaultConfig.h // Webrekk // // Created by <NAME> on 17/01/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import "MIConfig.h" #import "MIDefaultTracker.h" extern NSTimeInterval const requestIntervalDefault; extern BOOL const optOut...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/include/MIActionEvent.h
<reponame>Webtrekk/Webtrekk-iOS-v5<gh_stars>1-10 // // MIActionEvent.h // MappIntelligenceSDK // // Created by <NAME> on 08/09/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MITrackingEvent.h" #import "MIPageParameters.h" #import "MIEventParameter...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Trackers/MIDefaultTracker.h
<gh_stars>0 // // MIDefaultTracker.h // MappIntelligenceSDK // // Created by <NAME> on 10/02/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #ifndef DefaultTracker_h #define DefaultTracker_h #import <UIKit/UIKit.h> #import "MIPageViewEvent.h" #import "MIFormSubmitEvent.h" #import "MIActionE...
Webtrekk/Webtrekk-iOS-v5
MappIntelligencetvOS/MappIntelligencetvOS.h
// // MappIntelligencetvOS.h // MappIntelligencetvOS // // Created by <NAME> on 4/24/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> #import "MIPageViewEvent.h" #import "MIActionEvent.h" #import "MIMediaEvent.h" #import "MIParams.h" #i...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/PersistanceLayer/Database/MIDatabaseManager.h
// // MIDatabaseManager.h // MappIntelligenceSDK // // Created by <NAME> on 09/06/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIRequest.h" NS_ASSUME_NONNULL_BEGIN @interface MIDatabaseManager : NSObject typedef void(^StorageManagerCompletion...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Properties/MICampaignParameters.h
// // AdvertisementProperties.h // MappIntelligenceSDK // // Created by <NAME> on 28/10/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger, MICampaignAction) { click = 1, view = 2 }; NS_ASSUME_NONNULL_BEGIN @interface MICa...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Network/Tracking Request/MIRequestBatchSupportUrlBuilder.h
<filename>MappIntelligence/Network/Tracking Request/MIRequestBatchSupportUrlBuilder.h // // MIRequestBatchSupportUrlBuilder.h // MappIntelligenceSDK // // Created by <NAME> on 02/07/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @...
Webtrekk/Webtrekk-iOS-v5
MappIntelligenceSDK-iOS/MappIntelligenceSDK_iOS.h
// // MappIntelligenceSDK_iOS.h // MappIntelligenceSDK-iOS // // Created by <NAME> on 4/27/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import <MappIntelligenceSDK_iOS/MappIntelligenceiOS.h> //! Project version number for MappIntelligenceSDK_iOS. FOUNDAT...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Network/Tracking Request/MIParamType.h
// // MIParamType.h // MappIntelligenceSDK // // Created by <NAME> on 17/12/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIParamType : NSObject +(NSString *)pageParam; +(NSString *)pageCategory; +(NSString *)ecommerc...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/MIConfig.h
// // MIConfig.h // Webrekk // // Created by <NAME> on 15/01/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MappIntelligenceLogger.h" @protocol MIConfig // MappIntelligence default configuration parameters: @property NSArray *const trackIDs; @p...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Trackers/MIExceptionTracker.h
<filename>MappIntelligence/Trackers/MIExceptionTracker.h<gh_stars>0 // // MIExceptionTracker.h // MappIntelligenceSDK // // Created by <NAME> on 27/08/2021. // Copyright © 2021 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MappIntelligence.h" NS_ASSUME_NONNULL_BEGIN @in...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/PersistanceLayer/Database/MIRequest.h
// // Request.h // MappIntelligenceSDK // // Created by <NAME> on 10/06/2020. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> #import "MIParameter.h" typedef NS_ENUM(NSInteger, REQUEST_STATUS) { ACTIVE = 1, SENT, FAILED }; NS_ASSUME_NONNULL_BEGIN @...
Webtrekk/Webtrekk-iOS-v5
MappIntelligence/Trackers/MIConfiguration.h
<reponame>Webtrekk/Webtrekk-iOS-v5<gh_stars>1-10 // // MIConfiguration.h // MappIntelligenceSDK // // Created by <NAME> on 3/7/20. // Copyright © 2020 Mapp Digital US, LLC. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface MIConfiguration : NSObject /// url for remote ...
chanchann/tinymuduo
recipes/reactor/s00/EventLoop.h
<filename>recipes/reactor/s00/EventLoop.h #ifndef MUDUO_NET_EVENTLOOP_H #define MUDUO_NET_EVENTLOOP_H #include "thread/Thread.h" namespace muduo { class EventLoop : boost::noncopyable { public: EventLoop(); ~EventLoop(); void loop(); void assertInLoopThread() { if (!isInLoopThread()) { ab...
chanchann/tinymuduo
src/11_atomic/muduo/base/Types.h
#ifndef MUDUO_BASE_TYPES_H #define MUDUO_BASE_TYPES_H #include <stdint.h> #include <string.h> // memset #include <string> #ifndef NDEBUG #include <assert.h> #endif /// /// The most common stuffs. /// namespace muduo { using std::string; inline void memZero(void* p, size_t n) { memset(p, 0, n); } // // Use imp...
chanchann/tinymuduo
src/09_obj/Thread.h
#ifndef _THREAD_H_ #define _THREAD_H_ #include <pthread.h> #include <boost/function.hpp> class Thread { public: typedef boost::function<void ()> ThreadFunc; explicit Thread(const ThreadFunc& func); void Start(); void Join(); void SetAutoDelete(bool autoDelete); private: static void* ThreadRoutine(void* arg);...
chanchann/tinymuduo
src/35_EventLoopThreadPool/muduo/net/TcpServer.h
<filename>src/35_EventLoopThreadPool/muduo/net/TcpServer.h // Copyright 2010, <NAME>. All rights reserved. // http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: <NAME> (chenshuo at chenshuo dot com) // // This is a publ...
chanchann/tinymuduo
src/08_obj/Thread.h
<reponame>chanchann/tinymuduo<gh_stars>1-10 #ifndef _THREAD_H_ #define _THREAD_H_ #include <pthread.h> /* 未考虑错误处理 */ class Thread { public: Thread(); virtual ~Thread(); // 因为多态,这里必须是虚析构函数 void Start(); void Join(); void SetAutoDelete(bool autoDelete); private: // 加了static 就没有this指针了 static void* ThreadRo...
chanchann/tinymuduo
src/30_EventLoopThread/test/EventLoopThread.h
#ifndef EVENTLOOPTHREAD_H #define EVENTLOOPTHREAD_H #include <boost/noncopyable.hpp> #include <boost/functional.hpp> #include <pthread.h> #include <sys/syscall.h> #include <sys/types.h> class EventLoop { public: void print_info() { pid_t tid = static_cast<pid_t>(::syscall(SYS_thread_selfid)); printf...
chanchann/tinymuduo
src/25_EventLoop/muduo/net/EventLoop.h
<reponame>chanchann/tinymuduo<gh_stars>1-10 // Copyright 2010, <NAME>. All rights reserved. // http://code.google.com/p/muduo/ // // Use of this source code is governed by a BSD-style license // that can be found in the License file. // Author: <NAME> (chenshuo at chenshuo dot com) // // This is a public header file,...
chanchann/tinymuduo
src/25_myEL/EventLoop.h
#ifndef EVENTLOOP_H #define EVENTLOOP_H #include <boost/noncopyable.hpp> #include <memory> #include <thread> #include <iostream> #include "burger/base/Util.h" #include "burger/base/Log.h" namespace burger { namespace net { class EventLoop : boost::noncopyable, public std::enable_shared_from_this<Event...
chanchann/tinymuduo
src/19_ThreadLocalSingleton/test/Foo.h
<reponame>chanchann/tinymuduo #ifndef FOO_H #define FOO_H #include <iostream> #include <pthread.h> template<typename T> class Foo{ public: static T& instance() { if (!t_value_) { pthread_key_create(&pkey_, &Foo::destory); t_value_ = new T(); printf("after constructed, t_value_ is %p\n", t_value_);...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/drivers/fsl_ftfx_flash.h
<reponame>miker1423/Comm-Practice1 /* * Copyright 2013-2016 Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef FSL_FTFX_FLASH_H #define FSL_FTFX_FLASH_H #include "fsl_ftfx_controller.h" /*! * @addtogroup ftfx_fl...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/drivers/fsl_ftfx_adapter.h
<filename>frdmk64f_lwip_tcpecho_freertos_myssn/drivers/fsl_ftfx_adapter.h /* * Copyright 2017-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef FSL_FTFX_ADAPTER_H #define FSL_FTFX_ADAPTER_H /*************************************************************************...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/source/processing_service/service.h
<filename>frdmk64f_lwip_tcpecho_freertos_myssn/source/processing_service/service.h /* * service.h * * Created on: 17 feb. 2021 * Author: Miguel */ #ifndef PROCESSING_SERVICE_SERVICE_H_ #define PROCESSING_SERVICE_SERVICE_H_ #include "fsl_crc.h" #include "lwip/api.h" typedef enum { A, B, C, D, E, F, ...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/source/lwip_tcpecho_freertos.c
<reponame>miker1423/Comm-Practice1<filename>frdmk64f_lwip_tcpecho_freertos_myssn/source/lwip_tcpecho_freertos.c /* * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * * SPDX-License-Identifier: BSD-3-Clause */ /***************************************...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/drivers/fsl_ftfx_controller.c
<reponame>miker1423/Comm-Practice1 /* * Copyright 2013-2016 Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #include "fsl_ftfx_controller.h" /******************************************************************************* ...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/source/processing_service/service.c
<gh_stars>0 /* * service.c * * Created on: 17 feb. 2021 * Author: Miguel */ #include "service.h" #include "aes.h" #define KEY_SIZE 16 #define ENUM_START_CHAR 65 struct AES_ctx aes_ctx; uint8_t int_key[KEY_SIZE]; uint8_t int_iv[KEY_SIZE]; uint32_t int_polynomial; uint32_t int_seed; MessageRequest from_pac...
miker1423/Comm-Practice1
frdmk64f_lwip_tcpecho_freertos_myssn/drivers/fsl_flash.h
/* * Copyright 2013-2016 Freescale Semiconductor, Inc. * Copyright 2016-2019 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause * */ #ifndef FSL_FLASH_H #define FSL_FLASH_H #include "fsl_ftfx_cache.h" #include "fsl_ftfx_flash.h" #if FSL_FEATURE_FLASH_HAS_FLEX_NVM #include "fsl_...
PhoebeHui/bond
compiler/tests/generated/bond_meta_types.h
#pragma once #include <bond/core/bond_version.h> #if BOND_VERSION < 0x0800 #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif #if BOND_MIN_CODEGEN_VERSION > 0x0c01 #error This file was generated by an older version of the Bond com...
PhoebeHui/bond
compiler/tests/generated/alias_key_types.h
#pragma once #include <bond/core/bond_version.h> #if BOND_VERSION < 0x0800 #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif #if BOND_MIN_CODEGEN_VERSION > 0x0c01 #error This file was generated by an older version of the Bond com...
PhoebeHui/bond
cpp/inc/bond/core/protocol.h
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. #pragma once #include <bond/core/config.h> #include "customize.h" #include "detail/any.h" #include "detail/mpl.h" #include "detail/odr.h" #include "detail/visit_any.h...
PhoebeHui/bond
compiler/tests/generated/alloc_ctors/import_types.h
<gh_stars>0 #pragma once #include <bond/core/bond_version.h> #if BOND_VERSION < 0x0800 #error This file was generated by a newer version of the Bond compiler and is incompatible with your version of the Bond library. #endif #if BOND_MIN_CODEGEN_VERSION > 0x0c01 #error This file was generated by an older version of ...
eudoxia0/magma
util/with_open_file.c
<filename>util/with_open_file.c macro with_open_file { case { match { ($(stream-name ident), $(pathname string), $(direction string)) $(body block) } template { { FILE* $(stream-name) = fopen($(pathname), $(direction)); if($(stream-name)) $(body) fclos...
eudoxia0/magma
type/tuple.c
<reponame>eudoxia0/magma macro tup { case { match { ($(a), $(b)) } template { struct { $(a) first; $(b) second; } } } }
eudoxia0/magma
anaphoric/if.c
<reponame>eudoxia0/magma macro aif { case { match { $(cond) } template { typeof($(cond)) it = $(cond); if(it) } } }
eudoxia0/magma
util/doto.c
macro recur_doto { case { match { ($(obj) $(fn) $(args list);) } template { $(fn)($(obj), $(@splice args)); } } case { match { ($(obj) $(fn) $(args list); $(others rest)) } template { recur_doto($(obj) $(fn) $(args list);) recur_doto($(obj) $(others)) ...
eudoxia0/magma
util/with_allocation.c
<reponame>eudoxia0/magma macro with_allocation { case { match { ($(ptr-name ident), $(type), $(size)) $(body block) } template { { $(type)* $(ptr-name) = malloc(sizeof($(type)) * $(size)); if($(ptr-name)) $(body) free($(ptr-name)); } } } ...
eudoxia0/magma
type/var.c
macro var { case { match { $(name) = $(val); } template { typeof($(val)) $(name) = $(val); } } }
eudoxia0/magma
fn/lambda.c
<reponame>eudoxia0/magma<gh_stars>100-1000 macro lambda { case { match { $(args) -> $(ret) $(body) } template { $(@getsym lambda 0) } toplevel { $(ret) $(@gensym lambda) $(args) $(body) } } }
eudoxia0/magma
fn/lazy.c
cmacro_import "lambda.c" macro delay { case { match { $(expr) } template { lambda () -> typeof($(expr)) { return $(expr); } } } } macro force { case { match { $(expr) } template { $(expr)() } } }
eudoxia0/magma
type/adt.c
<reponame>eudoxia0/magma macro recur_name { case { match { ($(type-name) $(name) $(def block);) } template { $(@conc type-name name), } } case { match { ($(type-name) $(name) $(def block); $(others rest)) } template { recur_name ($(type-name) $(name) $(def);) ...
SinnerSchraderMobileMirrors/ViewDeck
ViewDeck/IISideController.h
// // IISideController.h // Drache // // Created by <NAME> on 05/12/12. // Copyright (c) 2012 <NAME>. All rights reserved. // #import "IIWrapController.h" @interface IISideController : IIWrapController @property (nonatomic, assign) BOOL animatedShrink; // if the shrink action should participate in any ongoing an...
innoq/innoq-blockchain-erlang-c-slave
c_src/block_finder.c
<gh_stars>0 #include <stdlib.h> #include <stdio.h> #include <string.h> #include <erl_nif.h> #include <openssl/evp.h> #define MAX_NUMBER_LEN 25 static ERL_NIF_TERM find_block_parts_nif(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[]) { ErlNifBinary prefix, suffix; unsigned long from, to, leading_zeros; if (...
macton/chromium-bsu
src/HiScore.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef HiScore_h #define HiScore_h #include <cstdio> #include <ctime> #include "define.h" /** * keep...
macton/chromium-bsu
chromium-bsu-config.h
// This is a hard-coded config for our windows build of this game. #pragma once #define TEXT_FTGL 1 #define USE_SDL 1 #define IMAGE_GLPNG 1 #define PACKAGE "chromium" #define PACKAGE_STRING "chromium whatever"
macton/chromium-bsu
src/MainGL.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef MainGL_h #define MainGL_h class Global; //=====================================================...
macton/chromium-bsu
src/Audio.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef Audio_h #define Audio_h #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif #define NU...
macton/chromium-bsu
3pp/ftgl-custom/config.h
<filename>3pp/ftgl-custom/config.h #pragma once #define PACKAGE_VERSION "whatever" #define _USE_MATH_DEFINES #include <Windows.h>
macton/chromium-bsu
src/Explosions.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef Explosions_h #define Explosions_h #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif ...
macton/chromium-bsu
src/Ammo.h
<filename>src/Ammo.h /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef Ammo_h #define Ammo_h //===================================================...
macton/chromium-bsu
src/GroundSegment.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef GroundSegment_h #define GroundSegment_h class Ground; //=======================================...
macton/chromium-bsu
src/Global.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef Global_h #define Global_h #include <cstdio> #include <ctime> #include "define.h" #include "Text...
macton/chromium-bsu
macos/ChromiumPrefix.h
<filename>macos/ChromiumPrefix.h #define USE_SDL #define AUDIO_SDLMIXER #define WAV_MUSIC //#define WITHOUT_AUDIO
macton/chromium-bsu
3pp/glpng/src/glpng.c
/* * PNG loader library for OpenGL v1.45 (10/07/00) * by <NAME> <EMAIL> * Using LibPNG 1.0.2 and ZLib 1.1.3 * * This software is provided 'as-is', without any express or implied warranty. * In no event will the author be held liable for any damages arising from the * use of this software. * * Permission is her...
macton/chromium-bsu
src/analysis/drawExplo.c
#include <stdio.h> #include <stdlib.h> #include <stdint.h> // Q: What are the types that are actually used for Explosions::drawExplo()? // grep "drawExplo" *.cpp // Explosions.cpp: if(exploRoot[EnemyDestroyed]->next) drawExplo(EnemyDestroyed); // Explosions.cpp: if(exploRoot[EnemyDamage]->next) drawExpl...
macton/chromium-bsu
src/MainGLUT.h
<gh_stars>1-10 /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef MainGLUT_h #define MainGLUT_h #ifdef USE_GLUT #include "MainToolkit.h" #include ...
macton/chromium-bsu
src/ScreenItemAdd.h
<filename>src/ScreenItemAdd.h<gh_stars>1-10 /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef ScreenItemAdd_h #define ScreenItemAdd_h #include "Sc...
macton/chromium-bsu
src/PowerUps.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef PowerUps_h #define PowerUps_h #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif #inc...
macton/chromium-bsu
src/GroundMetal.h
<reponame>macton/chromium-bsu<gh_stars>1-10 /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef GroundMetal_h #define GroundMetal_h #ifdef HAVE_CONF...
macton/chromium-bsu
src/EnemyAircraft_RayGun.h
<gh_stars>1-10 /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef EnemyAircraft_RayGun_h #define EnemyAircraft_RayGun_h #include "EnemyAircraft.h" ...
macton/chromium-bsu
src/EnemyAmmo.h
<reponame>macton/chromium-bsu<filename>src/EnemyAmmo.h<gh_stars>1-10 /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef EnemyAmmo_h #define EnemyAmm...
macton/chromium-bsu
src/MainSDL.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef MainSDL_h #define MainSDL_h #ifdef USE_SDL #include <SDL.h> #include <stdio.h> #include "MainTo...
macton/chromium-bsu
src/textGeometry.h
<reponame>macton/chromium-bsu<filename>src/textGeometry.h /* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef textGeometry_h #define textGeometry_h ...
macton/chromium-bsu
src/Ground.h
/* * Copyright (c) 2000 <NAME>. All rights reserved. * * "Chromium B.S.U." is free software; you can redistribute * it and/or use it and/or modify it under the terms of the * "Clarified Artistic License" */ #ifndef Ground_h #define Ground_h #ifdef HAVE_CONFIG_H #include <chromium-bsu-config.h> #endif #include...
qinhaichuan/AD-View
AD_View/AD_View/ADViewController.h
// // ADViewController.h // AD_View // // Created by QHC on 5/11/16. // Copyright © 2016 秦海川. All rights reserved. // #import <UIKit/UIKit.h> @interface ADViewController : UIViewController @end
qinhaichuan/AD-View
AD_View/AD_View/ADModel.h
<filename>AD_View/AD_View/ADModel.h // // ADModel.h // AD_View // // Created by QHC on 5/11/16. // Copyright © 2016 秦海川. All rights reserved. // #import <UIKit/UIKit.h> @interface ADModel : NSObject // 广告图片 @property (nonatomic, strong) NSString *w_picurl; // 广告图片尺寸 @property (nonatomic, assign) CGFloat w; // 广...
RohitNegi/Helper
Helper Framework/Helper_Framework.h
<reponame>RohitNegi/Helper // // Helper_Framework.h // Helper Framework // // Created by <NAME> on 23/12/19. // Copyright © 2019 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for Helper_Framework. FOUNDATION_EXPORT double Helper_FrameworkVersionNumber; //! Project version str...
mgdelmonte/crawl
crawl-ref/source/spl-damage.h
#pragma once #include <vector> #include "enum.h" #include "mpr.h" #include "spl-cast.h" using std::vector; struct bolt; struct dice_def; class dist; const int DEFAULT_SHATTER_DICE = 3; #define COUPLING_TIME_KEY "maxwells_charge_time" #define FLAME_WAVE_KEY "flame_waves" void setup_fire_storm(const actor *source, ...
mgdelmonte/crawl
crawl-ref/source/god-blessing.h
<gh_stars>1000+ /** * @file * @brief Functions for gods blessing followers. **/ #pragma once #include "player.h" void gift_ammo_to_orc(monster* orc); bool bless_follower(monster* follower = nullptr, god_type god = you.religion, bool force = false);
mgdelmonte/crawl
crawl-ref/source/item-def.h
<gh_stars>1000+ /** * @file * @brief Item definition. **/ #pragma once #include "description-level-type.h" #include "level-id.h" #include "monster-type.h" #include "object-class-type.h" #include "skill-type.h" #include "store.h" // We are not 64 bits clean here yet since many places still pass (or store!) // it as...
mgdelmonte/crawl
crawl-ref/source/lookup-help.h
<filename>crawl-ref/source/lookup-help.h /** * @file * @brief Let the player search for descriptions of monsters, items, etc. **/ #pragma once #include <string> #include "lookup-help-type.h" using std::string; void keyhelp_query_descriptions(); string lookup_help_type_name(lookup_help_type lht); char lookup_he...
mgdelmonte/crawl
crawl-ref/source/unique-creature-list-type.h
#pragma once #include "monster-type.h" class unique_creature_list : public FixedBitVector<NUM_MONSTERS> { public: inline void set(unsigned int i, bool value = true) override { if (i != MONS_MAGGIE && i != MONS_MARGERY) FixedBitVector<NUM_MONSTERS>::set(i, value); else { ...
mgdelmonte/crawl
crawl-ref/source/daction-type.h
#pragma once #include "tag-version.h" enum daction_type { #if TAG_MAJOR_VERSION == 34 DACT_ALLY_HOLY, DACT_ALLY_UNHOLY_EVIL, DACT_ALLY_UNCLEAN_CHAOTIC, DACT_ALLY_SPELLCASTER, #endif DACT_ALLY_YRED_SLAVE, DACT_ALLY_BEOGH, // both orcs and demons summoned by high priests DACT_ALLY_SLIME, ...
mgdelmonte/crawl
crawl-ref/source/branch-data.h
<filename>crawl-ref/source/branch-data.h #pragma once #include "colour.h" #include "tag-version.h" // The order of these entries must match the order of the branch-type enum. const Branch branches[NUM_BRANCHES] = { // Branch struct: // branch id, parent branch, mindepth, maxdepth, depth, absdepth, // br...
mgdelmonte/crawl
crawl-ref/source/artefact.h
<reponame>mgdelmonte/crawl<gh_stars>1-10 /** * @file * @brief Random and unrandom artefact functions. **/ #pragma once #include "artefact-prop-type.h" #include "unique-item-status-type.h" #define ART_PROPERTIES ARTP_NUM_PROPERTIES #define KNOWN_PROPS_KEY "artefact_known_props" #define ARTEFACT_PROPS_KEY "art...
mgdelmonte/crawl
crawl-ref/source/activity-interrupt-type.h
<reponame>mgdelmonte/crawl<filename>crawl-ref/source/activity-interrupt-type.h #pragma once // Be sure to change activity_interrupt_names in delay.cc to match! enum class activity_interrupt { force = 0, // Forcibly kills any activity that can be // interrupted. keypress, ...