text
stringlengths
4
6.14k
/* SPDX-License-Identifier: BSD-3-Clause */ #ifndef MAIN_H #define MAIN_H #include <tss2/tss2_esys.h> #include <stdbool.h> #include "tool_rc.h" #include "tpm2_options.h" #include "tpm2_tool_output.h" /** * An optional interface for tools to specify what options they support. * They are concatenated with main's op...
/* * 2007 – 2013 Copyright Northwestern University * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. */ #ifndef _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_ALTOVA_CCOLL_ED_Text #define _ALTOVA_INCLUDED_AIMXML_ALTOVA_iso_ALTO...
/* Generated by re2c */ #line 1 "unicode_group_Zl.u--encoding-policy(ignore).re" #include <stdio.h> #define YYCTYPE unsigned int bool scan(const YYCTYPE * start, const YYCTYPE * const limit) { __attribute__((unused)) const YYCTYPE * YYMARKER; // silence compiler warnings when YYMARKER is not used # define YYCURSOR st...
#ifndef RESEED_H #define RESEED_H #include <iostream> #include <string> #include <vector> #include <map> #include <cryptopp/osrng.h> #include <cryptopp/rsa.h> #include <boost/asio.hpp> #include "Identity.h" #include "aes.h" namespace i2p { namespace data { class Reseeder { typedef Tag<512> PublicKey; publi...
/*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence Berkeley Laboratory under DARPA contract BG 91-66 and * contributed to Berkeley. * * Redistribution and use in source and bi...
// Copyright 2021 The Cobalt 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...
/* * SafeStack.h * * This file is part of the "XieXie-Compiler" (Copyright (c) 2014 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #ifndef __XX_SAFE_STACK_H__ #define __XX_SAFE_STACK_H__ #include "CompilerMessage.h" #include "StringModifier.h" #include <stack> #include <exception> //! Wr...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef ASH_WM_RESIZE_SHADOW_H_ #define ASH_WM_RESIZE_SHADOW_H_ #include "base/basictypes.h" #include "base/memory/scoped_ptr.h" namespace aura { cl...
/*! @par Revision history: - 06.02.2001, c - 05.03.2003, adopted from rcfem2 */ #ifndef _FMFIELD_H_ #define _FMFIELD_H_ #include "common.h" BEGIN_C_DECLS #define MachEps 1e-16 /*! @par Revision history: - 06.02.2001, c - 27.04.2001 - 31.03.2003 */ typedef struct FMField { int32 nCell; int32 nLev; ...
/*****************************************************************-*-c-*-*\ * * * * ##### * Copyright (c) 2000 Giovanni Squillero * * ###### * http://staff.polito.it/giovanni.squillero/ * * ### \ * ...
/** Copyright 2009-2017 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA-0003525, the U.S. Government retains certain rights in this software. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering...
// Copyright (c) 2013, Maria Teresa Lazaro Grañon // 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 ...
// Copyright (c) 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef QUICHE_COMMON_PLATFORM_API_QUICHE_LOGGING_H_ #define QUICHE_COMMON_PLATFORM_API_QUICHE_LOGGING_H_ #include "quiche_platform_impl/quiche_loggi...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_IMPL_H__ #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_IMPL_H__ #include "chrome/browser/sync...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE129_rand_67b.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE129.label.xml Template File: sources-sinks-67b.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: rand Set data to re...
/** * PaddleRocketProjectile.h * * Copyright (c) 2014, Callum Hay * All rights reserved. * * Redistribution and use of the Biff! Bam!! Blammo!?! code or any derivative * works are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above c...
/* $NetBSD: netif_news.c,v 1.2 1999/12/23 06:52:31 tsubai Exp $ */ /* * Copyright (c) 1995 Gordon W. Ross * 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 c...
#pragma once int ptr_cmp(const void *a, const void *b);
/* * Copyright (c) 2013 Chun-Ying Huang * * This file is part of Smart Beholder (SB). * * SB is free software; you can redistribute it and/or modify it * under the terms of the 3-clause BSD License as published by the * Free Software Foundation: http://directory.fsf.org/wiki/License:BSD_3Clause * * SB is distr...
/* $NetBSD: core_netbsd.c,v 1.2 2001/12/10 01:52:26 thorpej Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. * Copyright (c) 1991, 1993 The Regents of the University of California. * Copyright (c) 1988 University of Utah. * * All rights reserved. * * This code is derived from softwa...
/* Program : Movie FileName : structures.h Author : Written By L.Hudson. */ #ifndef _STRUCTURES_ #define _STRUCTURES_ struct Search_Range { double St,Sz,Scl,Stp,Val,Max; }; struct Info { int Global, Simplex, Powell; int View,...
/* * * Copyright 2015-2016, 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 ...
/* Copyright (c) 2014, Prithvi Raj Narendra * 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 con...
#ifndef STATE_H #define STATE_H #include <cstdint> enum class STATE : std::uint8_t { ERROR = 0, COMMAND, FIGHTING, MOVING, DEAD, QUIT }; #endif // STATE_H
/* $OpenBSD: cpio.h,v 1.2 1997/09/21 10:45:27 niklas Exp $ */ /* $NetBSD: cpio.h,v 1.1 1996/02/05 22:34:11 jtc Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by J.T. Conklin. * * Redistribution an...
/* --COPYRIGHT--,BSD * Copyright (c) 2014, Texas Instruments Incorporated * 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 ab...
/* $OpenBSD: ieeefp.h,v 1.3 1997/11/30 06:10:31 gene Exp $ */ /* $NetBSD: ieeefp.h,v 1.2 1995/04/16 16:47:07 jtc Exp $ */ #ifndef _MAC68K_IEEEFP_H_ #define _MAC68K_IEEEFP_H_ #include <m68k/ieeefp.h> #endif /* _MAC68K_IEEEFP_H_ */
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ #define CONTENT_COMMON_GPU_IMAGE_TRANSPORT_SURFACE_H_ #pragma once #if defined(ENABLE_GPU) #in...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_STATE_H_ #define CHROME_BROWSER_EXTENSIONS_API_WEB_NAVIGATION_FRAME_NAVIGATION_S...
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__int_min_predec_02.c Label Definition File: CWE191_Integer_Underflow__int.label.xml Template File: sources-sinks-02.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: min Set data to the minimum value for int * GoodSo...
// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CEF_LIBCEF_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_ #define CEF_LIBCEF_BROWSER_DOWNLOAD_MANAGER_DELEGATE_H_ #pragma once #include "base/compiler_...
// Copyright 2017 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_UI_DEVTOOLS_UI_ELEMENT_H_ #define COMPONENTS_UI_DEVTOOLS_UI_ELEMENT_H_ #include <memory> #include <string> #include <utility> #include...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_NET_CHROME_HTTP_USER_AGENT_SETTINGS_H_ #define CHROME_BROWSER_NET_CHROME_HTTP_USER_AGENT_SETTINGS_H_ #include <string> #inclu...
/* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include "mc...
/** * Copyright 2017-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the license found in the * LICENSE-examples file in the root directory of this source tree. */ #include <stdlib.h> // malloc, free, exit, atoi #include <stdio.h> // fprintf, perror, feof, fopen, etc....
/* Copyright (c) 2008-2013, Northwestern University 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 conditions a...
// Copyright 2020 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_PRIVACY_COOKIES_CONSUMER_H_ #define IOS_CHROME_BROWSER_UI_SETTINGS_PRIVACY_COOKIES_CONSUMER_H_ #import "ios/chrome...
// -*- C++ -*- //===----------------------------------------------------------------------===// // // Part of the LLVM Project, 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 // //===------------...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_NACL_BROKER_NACL_BROKER_LISTENER_H_ #define COMPONENTS_NACL_BROKER_NACL_BROKER_LISTENER_H_ #include <stdint.h> #include <memory> #in...
// Copyright 2014 The Chromium Authors. All rights reserved. // Inspired by Chromium video capture interface // Simplified and stripped from internal base code #ifndef S3D_VIDEO_CAPTURE_FILE_VIDEO_CAPTURE_DEVICE_FACTORY_H #define S3D_VIDEO_CAPTURE_FILE_VIDEO_CAPTURE_DEVICE_FACTORY_H #include "video_capture_device_fac...
// Copyright 2015 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TAG_H_ #define CHROME_BROWSER_TASK_MANAGER_PROVIDERS_WEB_CONTENTS_TAB_CONTENTS_TAG...
#pragma once #include <avr-halib/avr/portmap.h> namespace avr_halib { namespace drivers { /**\brief namespace containing drivers for robbyboard specific features**/ namespace robby { /** \brief Driver for the power source of the ADC sensors of the EOS robbyboard * \tparam RobbyADCPowerPortMap The Port Map to acces...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_GENERATION_FRAME_HELPER_H_ #define COMPONENTS_PASSWORD_MANAGER_CORE_BROWSER_PASSWORD_GENERATION_...
// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Functions used internally by filename_util, and filename_util_icu. #ifndef NET_BASE_FILENAME_UTIL_INTERNAL_H_ #define NET_BASE_FILENAME_UTIL_INTERNAL_...
/* * Copyright (c) 2010, Anima Games, Benjamin Karaban, Laurent Schneider, * Jérémie Comarmond, Didier Colin. * 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 ...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_BASE_LAYOUT_H_ #define UI_BASE_LAYOUT_H_ #include <vector> #include "build/build_config.h" #include "ui/base/ui_export.h" #include "ui/gf...
/* File header */ #include "adt_comparison.h" /* C Standard Library headers. */ #include "dag_platform.h" //#include <inttypes.h> #include <string.h> /* Standard comparison functions */ comparison_t inline adt_ptr_compare(AdtPtr first, AdtPtr second) { if ((uintptr_t) first > (uintptr_t) second) { return kCompa...
/* * 2007 – 2013 Copyright Northwestern University * * Distributed under the OSI-approved BSD 3-Clause License. * See http://ncip.github.com/annotation-and-image-markup/LICENSE.txt for details. */ #pragma once #ifndef _AIMLib_ReferencedDicomObject_Class_ #define _AIMLib_ReferencedDicomObject_Class_ #inc...
// // rsp/cpu.h: RSP processor container. // // CEN64: Cycle-Accurate Nintendo 64 Simulator. // Copyright (C) 2014, Tyler J. Stachecki. // // This file is subject to the terms and conditions defined in // 'LICENSE', which is part of this source code package. // #ifndef __rsp_cpu_h__ #define __rsp_cpu_h__ #include "com...
#ifndef FILEMANAGEMENT_H #define FILEMANAGEMENT_H #include <string> #include <windows.h> #include <commdlg.h> #include <ShlObj.h> using namespace std; string openfilename(char *filter, HWND owner) { OPENFILENAMEA ofn; char fileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(OPENFILE...
// Copyright 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ #define COMPONENTS_AUTOFILL_CORE_BROWSER_WEBDATA_AUTOFILL_WEBDATA_SERVICE_H_ ...
//===-- LinuxSignals.h ------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/** @file * Daemonization & pidfile handling. */ /* * Copyright (c) 2007-2009 Marko Kreen, Skype Technologies OÜ * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appe...
/*- * Copyright 2016 Michal Meloun <mmel@FreeBSD.org> * 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, thi...
/* $OpenBSD: tls_peer.c,v 1.3 2015/09/11 13:22:39 beck Exp $ */ /* * Copyright (c) 2015 Joel Sing <jsing@openbsd.org> * Copyright (c) 2015 Bob Beck <beck@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above ...
/* Auto generated file: with makeref.py . Docs go in src/ *.doc . */ #define DOC_PYGAMECOLOR "Color(name) -> Color\nColor(r, g, b, a) -> Color\nColor(rgbvalue) -> Color\npygame object for color representations" #define DOC_COLORR "r -> int\nGets or sets the red value of the Color." #define DOC_COLORG "g -> int\nGets...
/* * Configuration for Xilinx ZynqMP Flash utility * * (C) Copyright 2018 Xilinx, Inc. * Michal Simek <michal.simek@xilinx.com> * Siva Durga Prasad Paladugu <sivadur@xilinx.com> * * SPDX-License-Identifier: GPL-2.0+ */ #ifndef __CONFIG_ZYNQMP_MINI_H #define __CONFIG_ZYNQMP_MINI_H #define CONFIG_SYS_MEMTEST_SC...
#ifndef LRT_BARE_ARCH_ASSERT_H #define LRT_BARE_ARCH_ASSERT_H /* * Copyright (C) 2011 by Project SESA, Boston University * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restri...
/**************************************************************************** * * * PrimeSense Sensor 5.x Alpha * * Copyright (C) 2011 PrimeSense Ltd. * * ...
/*! \copyright (c) RDO-Team, 2011 \file utils/stack.h \author Урусов Андрей (rdo@rk9.bmstu.ru) \date 12.02.2010 \brief \indent 4T */ #ifndef _RDO_COMMON_STACK_H_ #define _RDO_COMMON_STACK_H_ // ----------------------------------------------------------------------- INCLUDES #include <...
#ifndef _LOCALE_IMPL_H #define _LOCALE_IMPL_H #include <locale.h> #include <stdlib.h> #include "libc.h" #if defined(__wasilibc_unmodified_upstream) || defined(_REENTRANT) #include "pthread_impl.h" #endif #define LOCALE_NAME_MAX 23 struct __locale_map { const void *map; size_t map_size; char name[LOCALE_NAME_MAX+1...
/* gmo2msg.c - create X/Open message source file for libelf. Copyright (C) 1996 - 2002 Michael Riepe <michael@stud.uni-hannover.de> 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 Foundation; either vers...
// Copyright (c) 2011-2013 The Octocoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_SENDCOINSDIALOG_H #define BITCOIN_QT_SENDCOINSDIALOG_H #include "walletmodel.h" #include <QDialog> #incl...
virtual void onFrontConnected() {}; virtual void onFrontDisconnected(int reqid) {}; virtual void onRspAuthenticate(const dict &data, const dict &error, int reqid, bool last) {}; virtual void onRspUserLogin(const dict &data, const dict &error, int reqid, bool last) {}; virtual void onRspUserPasswordUpdate(const dict...
// // TestHelpers.h // SocializeAPIClient // // Created by Nate Griswold on 3/5/13. // Copyright (c) 2013 Socialize. All rights reserved. // #import <OCMock/OCMock.h> #define REPLACE_PROPERTY(partial, getter, mock, setter, variable) \ do { \ [[[partial stub] andReturnFromBlock:^id{ return mock; }] get...
// Copyright (c) 2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UTIL_MACROS_H #define BITCOIN_UTIL_MACROS_H #define PASTE(x, y) x##y #define PASTE2(x, y) PASTE(x, y) #endif // ...
#pragma once #include "ofMain.h" #include "angleLengthLine.h" class ofApp : public ofBaseApp{ public: void setup(); void update(); void draw(); void keyPressed (int key); void keyReleased(int key); void mouseMoved(int x, int y ); void mouseDragged(int x, int y, int button); void mousePressed(int x...
/* For more information, please see: http://software.sci.utah.edu The MIT License Copyright (c) 2020 Scientific Computing and Imaging Institute, University of Utah. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ...
void ExecFifo(char *command,int cooked);
// // UIColor+EXtension.h // 项目基础框架 // // Created by 羊谦 on 16/7/6. // Copyright © 2016年 NetEase-yangqian. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (EXtension) + (UIColor *)colorWithHexString:(NSString *)hex; + (UIColor *)colorWithHexString:(NSString *)hex alpha:(CGFloat)alpha; - (NSStri...
/* * A lock-free single-producer circular queue implementation modeled after the * more elaborate C++ version from Faustino Frechilla available at: * http://www.codeproject.com/Articles/153898/Yet-another-implementation-of-a-lock-free-circular */ #include <linux/slab.h> #include "circ_queue.h" circ_queue * init_c...
/** * Clever programming language * Copyright (c) Clever Team * * This file is distributed under the MIT license. See LICENSE for details. */ #ifndef CLEVER_STD_UNICODE_H #define CLEVER_STD_UNICODE_H #include "core/module.h" #include "unicode/uclean.h" namespace clever { namespace modules { namespace std { ///...
/* Generated by CIL v. 1.7.0 */ /* print_CIL_Input is false */ struct _IO_FILE; struct timeval; extern void signal(int sig , void *func ) ; extern float strtof(char const *str , char const *endptr ) ; typedef struct _IO_FILE FILE; extern int atoi(char const *s ) ; extern double strtod(char const *str , char co...
// // DateSelectViewController.h // M7MotionSample // // Created by Zushi Tatsuya on 2013/09/22. // Copyright (c) 2013年 cyan-stivy.net. All rights reserved. // #import <UIKit/UIKit.h> @interface DateSelectViewController : UITableViewController @property (nonatomic, strong, readonly) NSDate *fromDate; @property (n...
/* * Copyright (C) 2003 Mike Melanson * Copyright (C) 2003 Dr. Tim Ferguson * * This file is part of Libav. * * Libav is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the...
// // NSURL+Query.h // NSURL+Query // // Created by Jon Crooke on 10/12/2013. // Copyright (c) 2013 Jonathan Crooke. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (ASURLQuery) /** * @return If the receiver is a valid URL query component, returns * components as key/value pairs...
#include "stdlib.h" #include "stdio.h" #include "/home/lillian/work/install_fpdebug/valgrind-3.7.0/fpdebug/fpdebug.h" #include <gsl/gsl_sf.h> int main(int argc, const char * argv[]) { unsigned long int hexdouble; int a; a = atoi(argv[1]); double b; sscanf(argv[2], "%lX", &hexdouble); b = *(double*)(&hexdouble); double ...
// // ColorfulWoodCategories.h // ColorfulWoodCategories // // Created by 大新 on 2017/2/17. // Copyright © 2017年 ColorfulWood. All rights reserved. // #import <UIKit/UIKit.h> FOUNDATION_EXPORT double ColorfulWoodCategoriesVersionNumber; FOUNDATION_EXPORT const unsigned char ColorfulWoodCategoriesVersionString[]; ...
// // CCCollectionViewDelegate.h // CCCollectionView // // Created by zysun on 14-3-16. // // #ifndef CCCollectionView_CCCollectionViewDelegate_h #define CCCollectionView_CCCollectionViewDelegate_h #include "GUI/CCScrollView/CCScrollView.h" class CollectionViewCell; class CollectionView; /** * brief 定义集合视图样式和行...
// Copyright (c) 2015-2018 The Machinecoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef MACHINECOIN_REVERSELOCK_H #define MACHINECOIN_REVERSELOCK_H /** * An RAII-style reverse lock. Unlocks on constr...
// Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2012-2018 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_UI_INTERFACE_H #define BITCOIN_UI_INTERFACE_H #include <functional> #...
/* * Copyright © 2007,2014 Intel Corporation * * 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...
/* * Copyright 2008-2012 NVIDIA Corporation. All rights reserved. * * NOTICE TO USER: * * This source code is subject to NVIDIA ownership rights under U.S. and * international Copyright laws. Users and possessors of this source code * are hereby granted a nonexclusive, royalty-free license to use this code * ...
#include <stdio.h> int _write(int file, char *ptr, int len) { int i; if(file == 1) { for(i = 0; i < len; i++) fputc(ptr[i], stdout); } else if(file == 2) { for(i = 0; i < len; i++) fputc(ptr[i], stderr); } return len; }
/* Copyright (c) 2013, Kamil Jaworski, Polidea All rights reserved. mailto: kamil.jaworski@gmail.com 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 n...
// This file was generated based on 'C:\ProgramData\Uno\Packages\FuseCore\0.19.3\Input\$.uno'. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Fuse.Input.PointerEventArgs.h> namespace g{namespace Fuse{namespace Input{struct CustomPointerEventArgs;}}} namespace g{namespace Fuse{...
#ifdef HAVE_CONFIG_H #include "../ext_config.h" #endif #include <php.h> #include "../php_ext.h" #include "../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/memory.h" #include "kernel/array.h" #include "kernel/obje...
/* strtoimax( const char *, char * *, int ) This file is part of the Public Domain C Library (PDCLib). Permission is granted to use, modify, and / or redistribute at will. */ #include <limits.h> #include <inttypes.h> #ifndef REGTEST #include <stddef.h> intmax_t strtoimax( const char * _PDCLIB_restrict nptr, ...
/** * \file * * \brief Version file of SAM4 Bootloader application for ATMEL PRIME * Service Node * * Copyright (c) 2014 Atmel Corporation. All rights reserved. * * \asf_license_start * * \page License * * Redistribution and use in source and binary forms, with or without * modification, are permitt...
/////////////////////////////////////////////////////////////////////////////// // // mSIGNA // // rawtxdialog.h // // Copyright (c) 2013-2014 Eric Lombrozo // Copyright (c) 2011-2016 Ciphrex Corp. // // Distributed under the MIT software license, see the accompanying // file LICENSE or http://www.opensource.org/licens...
/*! @file VersionInfo.h VersionInfo class * */ #ifndef VERSIONINFO_H #define VERSIONINFO_H #include "eirBase_global.h" #include <QDate> #include <QString> #include "Property.h" #define SETVERSION() setVersion(VersionInfo(VER_MAJOR, VER_MINOR, \ ...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Copyright (c) 2015-2017 The Bitcoin Unlimited developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_PEERTABLEMODEL_H #define BITCOIN_QT_PEERTABLEM...
/***************************************************************************/ /* */ /* t1load.h */ /* */ /* Ty...
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/**************************************************************************** ** ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the qt3to4 porting application of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage...
/* Multi Timer v3.4 http://matthewtole.com/pebble/multi-timer/ ---------------------- The MIT License (MIT) Copyright © 2013 - 2015 Matthew Tole 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 w...
#include "reader.h" #include <stdlib.h> #include <stdio.h> #include <math.h> int calcPieceWise(); double calcArraySize(); int getVoltage0Reading(); const int PIECEWISE_ARR_SZ[] = {1, 20, 60, 120, 250, 300, 500, 800, 1200, 2100}; const int PIECEWISE_POT[] = {0, 500, 1000, 1500, 2000, 2500, 3000, 3500, 4000, 4100}; in...
/* =========================================================================== Copyright (C) 1999-2005 Id Software, Inc. This file is part of Quake III Arena source code. Quake III Arena source code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as publish...
/************************************************************************* * Copyright (c) 1999, 2009 IBM. * * All rights reserved. This program and the accompanying materials * * are made available under the terms of the Eclipse Public License v1.0 * * which accompa...