text
stringlengths
4
6.14k
/* $NetBSD: un.h,v 1.46 2011/06/26 16:43:12 christos Exp $ */ /* * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are ...
// // PROJECT CHRONO - http://projectchrono.org // // Copyright (c) 2013 Project Chrono // All rights reserved. // // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file at the top level of the distribution // and at http://projectchrono.org/license-chrono.txt. // #ifnde...
// 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 CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ #define CHROME_BROWSER_AUTOFILL_FIELD_TYPES_H_ #pragma once #include <set> enum AddressType { kGene...
/* * Copyright (c) 2010 People Power Company * All rights reserved. * * This open source code was developed with funding from People Power Company * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * - Redistrib...
/* * Copyright 2018 Kunlin Yu <yukunlin@mail.ustc.edu.cn> */ #ifndef PGSLAM_LASERSCAN_H_ #define PGSLAM_LASERSCAN_H_ #include <vector> #include <Eigen/Eigen> #include "pgslam/pose2d.h" namespace pgslam { class Echo { private: double range_; double angle_; double intensity_; int64_t time_stamp_; public: ...
/**************************************************************************** * Copyright (c) 2016, Christopher Karle * 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...
/* This file is part of the YAZ toolkit. * Copyright (C) Index Data * See the file LICENSE for details. */ #if HAVE_CONFIG_H #include <config.h> #endif #include <stdlib.h> #include <stdio.h> #include <yaz/options.h> #include <yaz/querytowrbuf.h> #include <yaz/xmlquery.h> #include <yaz/pquery.h> #include <yaz/test....
// This file is part of MANTIS OS, Operating System // See http://mantis.cs.colorado.edu/ // // Copyright (C) 2003,2004,2005 University of Colorado, Boulder // // This program is free software; you can redistribute it and/or // modify it under the terms of the mos license (see file LICENSE) /*********************...
// Copyright 2015-present 650 Industries. All rights reserved. #import <UIKit/UIKit.h> @class EXViewController; @class EXKernelAppRecord; @protocol EXViewControllerDelegate <NSObject> - (void)viewController:(EXViewController * _Nonnull)vc didNavigateAppToVisible:(EXKernelAppRecord * _Nonnull)appRecord; @end @inte...
/* This file is part of the PhantomJS project from Ofi Labs. Copyright (C) 2011 Ariya Hidayat <ariya.hidayat@gmail.com> Copyright (C) 2011 Ivan De Marino <ivan.de.marino@gmail.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following cond...
// 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 PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ #define PPAPI_PROXY_AUDIO_INPUT_RESOURCE_H_ #include "base/basictypes.h" #include "base/compiler_specific...
// Copyright 2021 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_TEST_MEDIA_ROUTER_MEDIA_ROUTER_UI_FOR_TEST_BASE_H_ #define CHROME_TEST_MEDIA_ROUTER_MEDIA_ROUTER_UI_FOR_TEST_BASE_H_ #include "base/callba...
#ifndef _ZEUS_PROPERTY_H_ #define _ZEUS_PROPERTY_H_ template<class _Prop_t, class _ObjClass_t> class Property { typedef _Prop_t (_ObjClass_t::* _pmGet_t)() const; typedef void (_ObjClass_t::* _pmSet_t)(_Prop_t); _ObjClass_t& m_objInstance; _pmGet_t m_pmGet; _pmSet_t m_pmSet; publ...
#ifndef SIMVCELL_H #define SIMVCELL_H #include <QObject> #include "simvar.h" #include <QComboBox> namespace LQ = LongQt; class SimvCell : public Simvar { Q_OBJECT public: explicit SimvCell(std::shared_ptr<LQ::Protocol> proto, std::string name, QComboBox* parent); ~SimvCell(); void update...
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef _FDE_ITERATOR_IMP #define _FDE_ITERATOR_IMP typedef struct _FDE_CANVAS...
#ifndef IRCCHANNEL_H #define IRCCHANNEL_H #include <QObject> #include <QMap> #include <QTextDocument> #include <QTextCursor> #include "IrcUser.h" #include "IrcMessage.h" class IrcChannel : public QObject { Q_OBJECT public: explicit IrcChannel(const QString& name, QObject *parent = 0); ~IrcChannel(); I...
/* -*- Mode: C; tab-width:4 -*- */ /* ex: set ts=4 shiftwidth=4 softtabstop=4 cindent: */ /** * @file sos_error_types.h * @brief Error Types in the SOS Kernel * @author Ram Kumar {ram@ee.ucla.edu} */ #ifndef _SOS_ERROR_TYPES_H_ #define _SOS_ERROR_TYPES_H_ enum { READ_ERROR = 0, //! bus read SEND_ERROR,...
// Copyright (c) 2009 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_COMMON_JSON_VALUE_SERIALIZER_H_ #define CHROME_COMMON_JSON_VALUE_SERIALIZER_H_ #include <string> #include "base/basictypes.h" #includ...
/* $chaos: log.c,v 1.5 2002/12/03 18:10:56 johannes Exp $ */ /* Abstract: Kernel log module. */ /* Author: Per Lundberg <per@chaosdev.org> */ /* Copyright 2002 chaos development. */ /* Use freely under the terms listed in the file LICENSE. */ #include <storm/storm.h> #include <log/log.h> /* The version of log servic...
// 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 CRYPTO_SCOPED_CAPI_TYPES_H_ #define CRYPTO_SCOPED_CAPI_TYPES_H_ #include <windows.h> #include <algorithm> #include "base/logging.h" #includ...
#ifndef UNICODE_TREE_H #define UNICODE_TREE_H #include "standard_tree.h" #include "unicode/utypes.h" #ifdef __cplusplus extern "C" { #endif enum { NodeUnicodeChar, NodeUnicodeRange }; typedef struct UnicodeTreeNodeArgs UnicodeTreeNodeArgs; struct UnicodeTreeNodeArgs { UChar32 c1; UChar32 c2; }; TreeNode *new_...
// vim:ts=4:sw=4:expandtab #include <time.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <yajl/yajl_gen.h> #include <yajl/yajl_version.h> #include "i3status.h" static bool local_timezone_init = false; static const char *local_timezone = NULL; static const char *current_timezone = NULL; void ...
/* * Copyright 2010 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkPDFImage_DEFINED #define SkPDFImage_DEFINED #include "SkPDFStream.h" #include "SkPDFTypes.h" #include "SkRefCnt.h" class SkBitmap; class SkPD...
/**/ #include <stdio.h> #include <math.h> int main (){ char entry, checksum2; int checksum = 0; printf("Enter an abitrarily long string, ending with carriage return > "); while (1) { entry=getchar(); if (entry == '\n'){ break;} else { checksum += entry;} } checksum = checksum%64; checksum = checksum+32; checksu...
// Copyright 2018 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_CHROME_CLEANER_CRASH_CRASH_CLIENT_H_ #define CHROME_CHROME_CLEANER_CRASH_CRASH_CLIENT_H_ #include <map> #include <string> #include "base/...
// PARStore // Created by Charles Parnot on 3/13/13. // Licensed under the terms of the BSD License, as specified in the file 'LICENSE-BSD.txt' included with this distribution @interface NSError (Factory) + (NSError *)errorWithObject:(id)object code:(NSInteger)code localizedDescription:(NSString *)description unde...
// 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_DEVICE_ORIENTATION_DATA_FETCHER_IMPL_ANDROID_H_ #define CHROME_BROWSER_DEVICE_ORIENTATION_DATA_FETCHER_IMPL_ANDROID_H_ #includ...
/* Copyright (c) 2014, Nokia * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __OFP_H__ #define __OFP_H__ #include <odp_api.h> #include <odp/helper/odph_api.h> /** * @file * * @brief The OpenFastPath API * */ #ifdef __cplusplus extern "C" { #endif #include "ofp_config.h" #in...
# include <stdio.h> # include <stdlib.h> /* for calloc and qsort */ #include "hstcal.h" # include "hstio.h" # include "hstcalerr.h" /* for NO_GOOD_DATA */ # include "acsdq.h" /* for GOODPIXEL */ # include "acs.h" /* for MsgText */ /* This routine determines the bias level for one line of an image by taking ...
// Copyright (c) 2006-2009 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. // // This file extends generic BrowserDistribution class to declare Google Chrome // specific implementation. #ifndef CHROME_INSTALLER_UTIL_GOOG...
// Copyright 2019 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 CC_LAYERS_MIRROR_LAYER_IMPL_H_ #define CC_LAYERS_MIRROR_LAYER_IMPL_H_ #include <memory> #include "base/memory/ptr_util.h" #include "cc/cc_export...
/* * Copyright (C) 2009, Willow Garage, Inc. * * 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 and the follo...
// OpenTissue Template Library // // A generic toolbox for physics based modeling and simulation. // Copyright (c) 2008 Department of Computer Science, University of Copenhagen. // // OTTL is licensed under zlib: http://opensource.org/licenses/zlib-license.php. #ifndef OPENTISSUE_FEM_COMPUTE_VOLUME_H #define O...
#include <string.h> #include "pspgl_internal.h" /* This sets the inital value of the register set. It initializes every useful value register (it does not touch registers which trigger an action like drawing a primitive), because its also used to build the set of registers which need to be updated on a conte...
/* Copyright (c) 2013, 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 conditi...
#pragma once #include "Basic_Units_Prototypes.h" namespace polaris { namespace Basic_Units { namespace Implementations { //======================================================================= // DESIGN NOTE: // Separate Base classess into inheritable and non-inheritable components //----------------------...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__short_min_postdec_31.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-31.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: min Set data to the min value for short * GoodSource...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import "ABI42_0_0RCTValueAnimatedNode.h" @interface ABI42_0_0RCTDiffClampAnimatedNode : ABI42_0_0RCTValueAnimatedNode @end
// {{{ Copyright notice /* Copyright (c) 2007-2009, Adam Harvey * * 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 notic...
/*************************************************************************** # Copyright (c) 2015-21, NVIDIA CORPORATION. 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...
/*- * Copyright (c) 2005-2008 Apple Inc. * Copyright (c) 2005 SPARTA, Inc. * All rights reserved. * * This code was developed in part by Robert N. M. Watson, Senior Principal * Scientist, SPARTA, Inc. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided ...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2015-2016. All Rights Reserved. */ /* Open Source Software - may be modified and shared by FRC teams. The code */ /* must be accompanied by the FIRST BSD license file in the root directory of...
// 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_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_ #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_TEST_PASSWORD_AUTOFILL_AGENT_H_ ...
#include "em_code.h" #include "em_private.h" /* $Id$ */ void CC_exc(arith c1, arith c2) { PS(ps_exc); CST(c1); COMMA(); CST(c2); NL(); }
// Copyright 2014 PDFium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com #ifndef _FWL_CARET_LIGHT_H #define _FWL_CARET_LIGHT_H class CFWL_Widget; class...
#include <convexHull/convexHull.h> #include <math.h> #define CONVEX_HULL_ALPHA_MASK 0xFF000000 void convexHullCrop(convexHull *convexHull, const uint8_t *source, const uint32_t width, const uint32_t height, const convexHullVector pivot) { uint32_t i; float r; float rStep = 6.283185f / convexHull->nodeCount; const...
/* +------------------------------------------------------------------------+ | Mobile Robot Programming Toolkit (MRPT) | | https://www.mrpt.org/ | | | | Cop...
// Copyright 2014 <chaishushan{AT}gmail.com>. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Auto Generated By 'go generate', DONOT EDIT!!! // +build cgo #include "./internal/libwebp/src/dsp/lossless_neon.c"
/* * leds.c -- control the led's on a Motorola mc68ec0x0 board. * * Copyright (c) 1995 Cygnus Support * * The authors hereby grant permission to use, copy, modify, distribute, * and license this software and its documentation for any purpose, provided * that existing copyright notices are retained in all copies ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_console_w32spawnl_64a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-64a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: console Read input from the con...
// 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_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #define CONTENT_BROWSER_SSL_SSL_ERROR_HANDLER_H_ #include <string> #include "base/macros.h" #includ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE191_Integer_Underflow__short_fscanf_predec_51a.c Label Definition File: CWE191_Integer_Underflow.label.xml Template File: sources-sinks-51a.tmpl.c */ /* * @description * CWE: 191 Integer Underflow * BadSource: fscanf Read data from the console using fscanf() ...
// 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 REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ #define REMOTING_PROTOCOL_CONTENT_DESCRIPTION_H_ #include <string> #include "base/memory/ref_counte...
// Copyright 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 COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_DRAW_CACHE_H_ #define COMPONENTS_VIZ_SERVICE_DISPLAY_GL_RENDERER_DRAW_CACHE_H_ #include <vector> #inc...
/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * TI bq25890/bq25892/bq25895 battery charger driver. */ #ifndef __CROS_EC_BQ2589X_H #define __CROS_EC_BQ2589X_H /* Registers */ #define BQ2589X_R...
// // BayesianKit.h // Licensed under the terms of the BSD License, as specified below. // /* Copyright (c) 2010, Samuel Mendes All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistribution...
/***************************************************************************** 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...
#ifndef TSCENEHANDLE_H #define TSCENEHANDLE_H #include <QObject> #include "tcommon.h" #undef DVAPI #undef DVVAR #ifdef TOONZLIB_EXPORTS #define DVAPI DV_EXPORT_API #define DVVAR DV_EXPORT_VAR #else #define DVAPI DV_IMPORT_API #define DVVAR DV_IMPORT_VAR #endif // forward declaration class ToonzScene; class TFileP...
/*============================================================================= # Filename: Client.h # Author: Bookug Lobert # Mail: 1181955272@qq.com # Last Modified: 2016-02-23 13:40 # Description: originally written by hanshuo, modified by zengli =====================================================================...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SKSL_SETTING #define SKSL_SETTING #include "src/sksl/SkSLContext.h" #include "src/sksl/ir/SkSLExpression.h" namespace SkSL { /** * Represents a compile-time consta...
#ifndef PRECOMPILED_CPPIMPORTLIGHT_H_ #define PRECOMPILED_CPPIMPORTLIGHT_H_ // TODO: Include here the precompiled headers of other plug-ins that this plug-in uses. Only the "public" part of // those headers will be included here #include "OOInteraction/src/precompiled.h" #include "InteractionBase/src/precompiled.h" #i...
// Version: $Id$ // // // Commentary: // // // Change Log: // // // Code: #pragma once #include <dtkTest> class dtkVectorProxyTestCasePrivate; class dtkVectorProxyTestCase : public QObject { Q_OBJECT public: dtkVectorProxyTestCase(void); ~dtkVectorProxyTestCase(void); private slots: voi...
/* * Copyright (c) 2011 - 2012, Simon Fraser 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 *...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE78_OS_Command_Injection__wchar_t_file_w32_execvp_64a.c Label Definition File: CWE78_OS_Command_Injection.strings.label.xml Template File: sources-sink-64a.tmpl.c */ /* * @description * CWE: 78 OS Command Injection * BadSource: file Read input from a file * G...
/* * Copyright (c) 2015, 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. * */ // @nolint #...
// Copyright (c) 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 TOOLS_GN_TOKENIZER_H_ #define TOOLS_GN_TOKENIZER_H_ #include <stddef.h> #include <string_view> #include <vector> #include "base/macros.h" #...
/* * Copyright (c) 2011 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 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 CC_OUTPUT_SOFTWARE_OUTPUT_DEVICE_H_ #define CC_OUTPUT_SOFTWARE_OUTPUT_DEVICE_H_ #include "base/macros.h" #include "base/memory/scoped_ptr.h" #inc...
// 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 THIRD_PARTY_BLINK_RENDERER_MODULES_SERVICE_WORKER_WAIT_UNTIL_OBSERVER_H_ #define THIRD_PARTY_BLINK_RENDERER_MODULES_SERVICE_WORKER_WAIT_UNTIL_OBSE...
/*- * Copyright (c) 2011 NetApp, 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...
/*--------------------------------------------------------------------------- (c) 2004 Scorpio Software 19 Wittama Drive Glenmore Park Sydney NSW 2745 Australia ----------------------------------------------------------------------------- $Workfile:: ...
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_NAMESPACE_RULE_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_CSS_CSS_NAMESPACE_RULE_H_ #include "third_party...
/* * File: init.c * Author: Fabien Siron <fabien.siron@epita.fr> */ #include <tinypy/tp.h> #include <tinypy/dict.h> #include <tinypy/string.h> #include <tinypy/misc.h> tp_obj mem_brk(TP); tp_obj mem_used(TP); tp_obj mem_available(TP); tp_obj mem_len(TP); static char *help = "Debug routines for dynamic memory all...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE415_Double_Free__malloc_free_wchar_t_12.c Label Definition File: CWE415_Double_Free__malloc_free.label.xml Template File: sources-sinks-12.tmpl.c */ /* * @description * CWE: 415 Double Free * BadSource: Allocate data using malloc() and Deallocate data using f...
/* * Copyright (c) 2016-2018 Positive Technologies, https://www.ptsecurity.com, * Fast Positive Hash. * * Portions Copyright (c) 2010-2018 Leonid Yuriev <leo@yuriev.ru>, * The 1Hippeus project (t1h). * * This software is provided 'as-is', without any express or implied * warranty. In no event will the aut...
/*- * Copyright (c) 2015 Ruslan Bukin <br@bsdpad.com> * 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...
/* Copyright (c) 2005-2008, Simon Howard 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 appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL ...
// // Configurations.h // Sidestep // // Created by Chetan Surpur on 11/18/10. // Copyright 2010 Chetan Surpur. All rights reserved. extern const int debuggingEnabled;
#pragma once #include <iostream> #include <Box2D\Box2D.h> #include "EntityType.cpp" #include "GameObject.h" #include "SwingSpikeBall.h" #include "Player.h" using namespace std; class CollisionListener : public b2ContactListener { public: CollisionListener(); ~CollisionListener(); /// Called when two fixtures b...
#import <SSDataSources/SSDataSources.h> @class WMFTitleInsetRespectingButton; @interface WMFArticlePlaceholderTableViewCell : SSBaseTableCell @property (strong, nonatomic) IBOutlet UIImageView* placeholderImageView; @property (strong, nonatomic) IBOutlet WMFTitleInsetRespectingButton* placeholderSaveButton; @end
// // IBInspectableTableViewController.h // BlazeExample // // Created by Roy Derks on 15/11/2016. // Copyright © 2016 GraafICT. All rights reserved. // #import "BaseTableViewController.h" @interface IBInspectableTableViewController : BaseTableViewController @end
// -*- Mode: c++; c-basic-offset: 4; tab-width: 4; -*- /****************************************************************************** * * file: ArgTraits.h * * Copyright (c) 2007, Daniel Aarno, Michael E. Smoot . * All rights reverved. * * See the file COPYING in the top directory of this distrib...
/** \file * \brief IupBackgroundBox control * * See Copyright Notice in "iup.h" */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> #include "iup.h" #include "iupcbs.h" #include "iupkey.h" #include "iup_object.h" #include "iup_register.h" #include "iup_attrib.h" #include "iup_str.h" #...
// // Created by Maxim Pervushin on 31/05/15. // Copyright (c) 2015 Maxim Pervushin. All rights reserved. // #import <UIKit/UIKit.h> typedef NSString *HTLCategoryIdentifier; @interface HTLCategory : NSObject <NSCopying> + (instancetype)categoryWithIdentifier:(HTLCategoryIdentifier)identifier title:(NSString *)tit...
/** * @file dfk/internal/http/request.h * HTTP request - private methods * * @copyright * Copyright (c) 2017 Stanislav Ivochkin * Licensed under the MIT License (see LICENSE) */ #pragma once #include <dfk/arena.h> #include <dfk/tcp_socket.h> #include <dfk/http/request.h> /** * Initialize dfk_http_request_t *...
/** * `qute.h' - qute * copyright (c) 2014 - joseph.werle@gmail.com */ #ifndef QUTE_H #define QUTE_H /** * api. */ #include "ast.h" #include "lex.h" #include "error.h" #include "parser.h" #endif
/* byteswap.h - C preprocessor macros for byte swapping. Copyright (C) 1995, 1996 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 version 2...
/* Copyright 2009, Arash Payan (http://arashpayan.com) This library is distributed under the terms of the GNU Lesser GPL. This file is part of APXML. APXML 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 Foun...
/** * \file * * \brief WDT * * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip products. * It is your responsibil...
// // PXPie.h // PXEngine // // Created by Kevin Lindsey on 9/5/12. // Copyright (c) 2012 Pixate, Inc. All rights reserved. // #import <Foundation/Foundation.h> #import <PXEngine/PXArc.h> /** * A PXArc subclass used to render pie graphs */ @interface PXPie : PXArc @end
/* For more advanced behavior you want to make the AI remember the last place where it saw the target. That way, when LOS starts failing you have a position from which the AI can start some kind of search behavior. */ /* You'll have to play with the numbers for your actual game but in practice I find that A...
/* File object interface (what's left of it -- see io.py) */ #ifndef Py_FILEOBJECT_H #define Py_FILEOBJECT_H #ifdef __cplusplus extern "C" { #endif #define PY_STDIOTEXTMODE "b" PyAPI_FUNC(PyObject *) PyFile_FromFd(int, const char *, const char *, int, const char *, const char *, ...
#import <UIKit/UIKit.h> #import "OSThumbnailWrapper.h" #import "../OSPaneModel.h" #import "../OSPane.h" #import "../explorer/CGPointExtension.h" #import "OSAddDesktopButton.h" #import "OSPaneThumbnail.h" #define thumbnailMarginSize 20 #define wrapperCenter 20 @class OSThumbnailWrapper, OSPaneThumbnail; @interface ...
#include <pebble.h> #define KEY_BUTTON_UP 0 #define KEY_BUTTON_DOWN 1 static Window *s_main_window; static TextLayer *s_output_layer; static void send(int key, int value) { DictionaryIterator *iter; app_message_outbox_begin(&iter); dict_write_int(iter, key, &value, sizeof(int), true); app_message_outbox_...
// RUN: %check %s -Weverything int main(void) // CHECK: !/warning: no previous prototype/ { }
// // ZFLoadPhotoSetPhotos.h // // DO NOT MODIFY!! Modifications will be overwritten. // Generated by: Mike Fullerton @ 6/3/13 10:43 AM with PackMule (3.0.1.100) // // Project: Zenfolio Web API // Schema: ZenfolioWebApi // // Copyright 2013 (c) GreenTongue Software LLC, Mike Fullerton // The FishLamp Framework is r...
#include <_ansi.h> #include <_syslist.h> #include <sys/reent.h> #include <sys/errno.h> #include <sys/types.h> #include <sys/lv2errno.h> #include <sys/file.h> _off_t _DEFUN(__librt_lseek_r,(r,fd,pos,dir), struct _reent *r _AND int fd _AND _off_t pos _AND int dir) { s32 ret = 0; u64 position = 0; ...
// This code contains NVIDIA Confidential Information and is disclosed to you // under a form of NVIDIA software license agreement provided separately to you. // // Notice // NVIDIA Corporation and its licensors retain all intellectual property and // proprietary rights in and to this software and related documentation...
// // VIMCredit.h // Pods // // Created by Fiel Guhit on 1/20/17. // Copyright (c) 2014-2017 Vimeo (https://vimeo.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without res...
/* Declarations for the Windows Multimedia timer functions */ enum { TIME_ONESHOT, TIME_PERIODIC }; uint32 __attribute__ ((stdcall)) timeSetEvent(uint32 delay, uint32 resolution, void *callback, uint32 dummy, uint32 type); uint32 __attribute__ ((stdcall)) timeKillEvent(uint32 id);