text
stringlengths
4
6.14k
#include <assert.h> int unknown1(); int unknown2(); int unknown3(); int unknown4(); void main(int n) { int x=0; int y=0; int i=0; int m=10; while(i<n) { i++; x++; if(i%2 == 0) y++; } if(i==m) static_assert(x==2*y); }
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef mozilla_Module_h #define m...
/** * @file output.h * @brief Output routines. * @author Hanno Rein <hanno@hanno-rein.de> * @details If MPI is enabled, most functions output one file per * node. They automatically add a subscript _0, _1, .. to each file. * The user has to join them together manually. One exception is * output_append_veloci...
/***************************************************************************** * Copyright (C) 2004-2018 The pykep development team, * * Advanced Concepts Team (ACT), European Space Agency (ESA) * * * * ...
/* * @OPENGROUP_COPYRIGHT@ * COPYRIGHT NOTICE * Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 1999, 2000 The Open Group * ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for * the full copyright text. * * This software is subject ...
// Copyright (c) Hercules Dev Team, licensed under GNU GPL. // See the LICENSE file // Portions Copyright (c) Athena Dev Teams #ifndef MAP_PATH_H #define MAP_PATH_H #include "map.h" // enum cell_chk #include "../common/cbasetypes.h" #define MOVE_COST 10 #define MOVE_DIAGONAL_COST 14 #define MAX_WALKPATH 32 struct ...
#pragma once #include "ofMain.h" class testApp : 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, int y, int button); void...
#include <stdio.h> unsigned long entryPoint ( unsigned long n, void *x, size_t elem_size ) { unsigned long i;
/** * This file is part of meta. * * Author(s): Jens Finkhaeuser <jens@finkhaeuser.de> * * Copyright (c) 2015 Jens Finkhaeuser. * * This software is licensed under the terms of the GNU GPLv3 for personal, * educational and non-profit use. For all other uses, alternative license * options are available. Please ...
/// @todo move everything here Carta::Lib namespace #pragma once #include "CartaLib/Hooks/HookIDs.h" #include "IImage.h" #include <QImage> #include <QObject> #include <QDebug> #include <QJsonObject> #include <cstdint> /// Every hook as a unique ID and we are using 64bit integers for hook IDs /// The IDs will allow u...
/***************************************************************************** * * PROJECT: Multi Theft Auto v1.0 * LICENSE: See LICENSE in the top level directory * FILE: mods/deathmatch/logic/CBlipManager.h * PURPOSE: Blip entity manager class * * Multi Theft Auto is available fr...
//# BlobException.h: Blob Exception class. //# //# Copyright (C) 2004 //# ASTRON (Netherlands Institute for Radio Astronomy) //# P.O.Box 2, 7990 AA Dwingeloo, The Netherlands //# //# This file is part of the LOFAR software suite. //# The LOFAR software suite is free software: you can redistribute it and/or //# modify i...
/****************************************************************************** * Qwt Widget Library * Copyright (C) 1997 Josef Wilgen * Copyright (C) 2002 Uwe Rathmann * * This library is free software; you can redistribute it and/or * modify it under the terms of the Qwt License, Version 1.0 *******...
/* * include/asm-ppc/namei.h * Adapted from include/asm-alpha/namei.h * * Included from fs/namei.c */
/* * Copyright (C) 2007-2013 Dyson Technology Ltd, all rights reserved. * * This program is free 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 version 3 of the License, or * (at your option) any later v...
// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/> // Copyright (C) 2010 Winch Gate Property Limited // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version ...
#ifndef __SamplePlugin_CTimeSignalGenerator_H__ #define __SamplePlugin_CTimeSignalGenerator_H__ #include "../ovp_defines.h" #include <toolkit/ovtk_all.h> #include <ebml/TWriterCallbackProxy.h> namespace OpenViBEPlugins { namespace Samples { class CTimeSignalGenerator : public OpenViBEToolkit::TBoxAlgorithm<Open...
#ifndef PETCLEARPATROLPOINTSCOMMAND_H_ #define PETCLEARPATROLPOINTSCOMMAND_H_ #include "server/zone/objects/creature/commands/QueueCommand.h" #include "server/zone/objects/creature/AiAgent.h" #include "server/zone/objects/creature/DroidObject.h" #include "server/zone/managers/creature/PetManager.h" class PetClearPat...
/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding the use of...
/* Copyright (C) 2009 William Hart Copyright (C) 2010 Sebastian Pancratz This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1...
/*************************************************************************** begin : Fri Apr 18 2014 copyright : (C) 2014 by Martin Preuss email : martin@libchipcard.de *************************************************************************** * ...
#ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QtCore/QMap> #include <QtCore/QVariant> #include <QtGui/QCloseEvent> #include <QtGui/QClipboard> #include <QtWidgets/QMainWindow> #include <QtPrintSupport/QPrinter> #ifdef YAGY_ENABLE_INSPECTOR #include <QtWebKitWidgets/QWebInspector> #endif #include "yacasserve...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the qmake application of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the Qt Mobility Components. ** ** $QT_BEGIN_LICENSE:LGPL$ ** GNU Less...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
/*************************************************************************** ** ** Copyright (C) 2012 Jolla Ltd. ** Contact: Robin Burchell <robin.burchell@jollamobile.com> ** ** This file is part of lipstick. ** ** This library is free software; you can redistribute it and/or ** modify it under the terms of the GNU Le...
/* Copyright (C) 2010 Fredrik Johansson This file is part of FLINT. FLINT is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (LGPL) as published by the Free Software Foundation; either version 2.1 of the License, or (at your opti...
/* * Copyright (C) 2011 Igalia S.L. * * Contact: Iago Toral Quiroga <itoral@igalia.com> * * Authors: Juan A. Suarez Romero <jasuarez@igalia.com> * * This library 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 Soft...
/*************************************************************************** ** ** Copyright (C) 2010, 2011 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (directui@nokia.com) ** ** This file is part of libmeegotouch. ** ** If you have questions regarding the use of...
/* BEGIN_COMMON_COPYRIGHT_HEADER * (c)LGPL2+ * * LXDE-Qt - a lightweight, Qt based, desktop toolset * http://razor-qt.org * * Copyright: 2012 Razor team * Authors: * Petr Vanek <petr@scribus.info> * * This program or library is free software; you can redistribute it * and/or modify it under the terms of th...
/**************************************************************************** ** ** Copyright (C) 2013 Jolla Ltd. ** Contact: lorn.potter@jollamobile.com ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as publi...
/* * This file is part of the DOM implementation for KDE. * * Copyright (C) 2007 Rob Buis <buis@kde.org> * (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as publi...
/**************************************************************************** ** ** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtGui module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
/**************************************************************************** ** ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of the QtCore module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ **...
//* This file is part of the MOOSE framework //* https://www.mooseframework.org //* //* All rights reserved, see COPYRIGHT for full restrictions //* https://github.com/idaholab/moose/blob/master/COPYRIGHT //* //* Licensed under LGPL 2.1, please see LICENSE for details //* https://www.gnu.org/licenses/lgpl-2.1.html #pr...
//===-- R600ISelLowering.h - R600 DAG Lowering Interface -*- C++ -*--------===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/**************************************************************************** ** ** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). ** Contact: http://www.qt-project.org/legal ** ** This file is part of the QtSql module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees ...
/* * Copyright 2001 Rafael Steil <rafael@insanecorp.com> * * SPDX-License-Identifier: LGPL-2.1+ * License-Filename: LICENSES/LGPL-2.1.txt */ #ifndef _ERROR_H #define _ERROR_H 1 #ifdef __cplusplus extern "C" { #endif #define E_WARNING 0 #define E_FATAL 1 #define E_CAUTION 2 #define E_INFORMATION 3 #define E_...
/* * @BEGIN LICENSE * * Psi4: an open-source quantum chemistry software package * * Copyright (c) 2007-2021 The Psi4 Developers. * * The copyrights for code used from other parties are included in * the corresponding files. * * This file is part of Psi4. * * Psi4 is free software; you can redistribute it an...
#include "qep.h" /* QEP/C public interface */ #include "qbomb.h" /* QBomb derived from QFsm */ static QBomb l_qbomb; /* an instance of QBomb FSM */ int main() { QBomb_ctor(&l_bomb); /* QBomb "constructor" invokes QFsm_ctor() */ QMSM_INIT(&l_qbomb.super, (QEvt *)0); /* trigger initial transition ...
/***************************************************************************** * Product: BSP for State-Local Storage Example, 80x86, Vanilla, Open Watcom * Last Updated for Version: 4.1.01 * Date of the Last Update: Nov 04, 2009 * * Q u a n t u m L e a P s * -----------------...
#ifndef __GRAPH_GTK_TYPES_H__ #define __GRAPH_GTK_TYPES_H__ typedef struct _GraphGtkPad GraphGtkPad; typedef struct _GraphGtkPadClass GraphGtkPadClass; typedef struct _GraphGtkView GraphGtkView; typedef struct _GraphGtkViewClass GraphGtkViewClass; typedef struct _GraphGtkConnectio...
/******************************************************************************** * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH * * * * This software is distributed under the terms of the ...
// // MNSWorklog.h // // Copyright 2014 MediaNet Software // This file is part of MNSJiraRESTClient. // // MNSJiraRESTClient 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 3 of t...
// Copyright (c) 2012-2015, The CryptoNote developers, The Bytecoin developers // // This file is part of Bytecoin. // // Bytecoin 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 3 of t...
// agents.h #ifndef AGENTS_H #define AGENTS_H #include <iostream> #include <string> #include <map> #include <set> #include "map.h" class Agent { protected: Agent(); Agent(std::string); std::string name; std::set<std::string> items; public: virtual bool act(std::string, std::stri...
/*- * Copyright (c) 2014 Michael Roe * All rights reserved. * * This software was developed by SRI International and the University of * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 * ("CTSRD"), as part of the DARPA CRASH research programme. * * Redistribution and use in source and b...
/* Q Light Controller enttecdmxusbconfig.h Copyright (C) Heikki Junnila 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.txt Unless r...
/* Copyright (c) 2007 Cyrus Daboo. 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 re...
/* Copyright (c) 2016 PaddlePaddle 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...
/* * Copyright 2016 Davide Pianca * * 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 ag...
/* * This file is part of the Soletta™ Project * * Copyright (C) 2015 Intel Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apach...
/** * @file libsbml-config-common.h * @brief Configuration variables * @author Ben Bornstein * * $Id$ * $HeadURL$ * *<!--------------------------------------------------------------------------- * This file is part of libSBML. Please visit http://sbml.org for more * information about SBML, and the late...
#ifndef LWIP_HDR_LWIP_CHECK_H #define LWIP_HDR_LWIP_CHECK_H /* Common header file for lwIP unit tests using the check framework */ #include <config.h> #include <check.h> #include <stdlib.h> #define FAIL_RET() do { fail(); return; } while(0) #define EXPECT(x) fail_unless(x) #define EXPECT_RET(x) do { fail_...
/*========================================================================= * * 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...
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* Fluent Bit * ========== * Copyright (C) 2015-2022 The Fluent Bit 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...
#pragma once #include "../../include/nn/SpatialMaxPooling.h" namespace cpptorch { namespace serializer { template<typename T, GPUFlag F> class SpatialMaxPooling : public nn::SpatialMaxPooling<T, F> { public: void unserialize(const object_torch *obj, object_reader<T,...
// // YBNavScanCodeController.h // test // // Created by MAC on 15/11/29. // Copyright © 2015年 MAC. All rights reserved. // #import <UIKit/UIKit.h> @interface YBNavScanCodeController : UINavigationController @end
/* * Copyright 2017 MongoDB, 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 to ...
/* * Definitions for debugging * * Copyright 1998, 2002 Juergen Schmied * * This library 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 License, or (at your option) ...
// // CoreAudioUtil.h // 5-19Recorder // // Created by wyman on 2017/5/24. // Copyright © 2017年 wyman. All rights reserved. // #ifndef CoreAudioUtil_h #define CoreAudioUtil_h #include <stdio.h> #include <AudioToolbox/AudioToolbox.h> #define LOG_ASDB // 是否开启打印ASDB /** * 校验SSStatus错误 */ extern void CheckError(...
/** ******************************************************************************* * @file OpenPDMFilter.h * @author CL * @version V1.0.0 * @date 9-September-2015 * @brief Header file for Open PDM audio software decoding Library. * This Library is used to decode and reconstruct the 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...
/*====================================================================* - Copyright (C) 2001 Leptonica. 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...
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef nsINameSpaceManager_h___ #...
/* $NetBSD: eisavar.h,v 1.24 2008/04/28 20:23:48 martin Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Jason R. Thorpe. * * Redistribution and use in source and binary forms, with or without *...
#ifndef __INET_BREAKPOINTPATHLOSS_H #define __INET_BREAKPOINTPATHLOSS_H #include "inet/physicallayer/base/packetlevel/PathLossBase.h" namespace inet { namespace physicallayer { /** * Implementation of a breakpoint path loss model. */ class INET_API BreakpointPathLoss : public PathLossBase { protected: /** @...
/*- * Copyright (c) 2003, 2004, 2005, 2007 Lev Walkin <vlm@lionet.info>. * All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ /* * Declarations internally useful for the ASN.1 support code. */ #ifndef ASN_INTERNAL_H #define ASN_INTERNAL_H #include "asn_application.h"...
/* * Copyright 2010-2011 Research In Motion Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
/* * ============================================================================ * Name : btengdomaincrkeys.h * Part of : Bluetooth Engine / Bluetooth Engine * Description : Bluetooth Engine domain central repository key definitions. * Version : %version: 1.1.3 % * * Copyright © 2006 Nokia....
#pragma once // Hiding until enemy get out from its sight template<typename _Object> class CStateControlHideLite : public CState<_Object> { typedef CState<_Object> inherited; typedef CState<_Object>* state_ptr; struct { Fvector position; u32 node; } target; u32 m_time_finished; public: CStateCon...
/* * Copyright (c) 2009-2012 by Farsight Security, 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 appli...
// // ReadMe.h // MiniCom // // Created by wlp on 14-8-14. // Copyright (c) 2014年 wanglipeng. All rights reserved. // #ifndef MiniCom_ReadMe_h #define MiniCom_ReadMe_h /* 组织目录说明 1、LIb(第三方类库) GTMBase64 封装了关于base64的方法 slib及rsa 封装了rsa解密的方法 tcp 长连接 SDWebImage 图片缓存封装 ASI http封装 FMDB 数据库封装 HU...
/* ----------------------------------------------------------------------------------------------- Copyright (C) 2013 Henry van Merode. All rights reserved. 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 ...
/* * libjingle * Copyright 2004--2005, Google Inc. * * 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 conditions and...
/* * Copyright 1993-2014 NVIDIA Corporation. All rights reserved. * * NOTICE TO LICENSEE: * * This source code and/or documentation ("Licensed Deliverables") are * subject to NVIDIA intellectual property rights under U.S. and * international Copyright laws. * * These Licensed Deliverables contained herein is ...
/* * This file is part of the Soletta Project * * Copyright (C) 2016 Intel Corporation. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache...
/*========================================================================= * * Copyright Marius Staring, Stefan Klein, David Doria. 2011. * * 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 * * ...
/* * Copyright (C) 2014 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 conditions a...
#ifndef _HO_GETOPT_LONG_H #define _HO_GETOPT_LONG_H #include <netinet/in.h> #include <arpa/inet.h> #ifdef __cplusplus extern "C" { #endif struct ho_option { void (*get_val)(const struct ho_option *opt, const char *in_val); char *name; int has_arg; void *flag; int val; }; static inline void ho_opt...
/*- * Copyright (c) 2012 The FreeBSD Foundation * All rights reserved. * * This software was developed by Semihalf under sponsorship * from the FreeBSD Foundation. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
// Copyright ©2005, 2006 Freescale Semiconductor, Inc. // Please see the License for the specific language governing rights and // limitations under the License. // =========================================================================== // StDMTransactionHider.h © 1996-97 Metrowerks Inc. All rights reserved. // ==...
/* Copyright (c) by Emil Valkov, All rights reserved. License: http://www.opensource.org/licenses/bsd-license.php */ #include <cv.h> #include <highgui.h> #include <stdio.h> #include <unistd.h> #include "RaspiCamCV.h" int main(int argc, char *argv[ ]){ RASPIVID_CONFIG * config = (RASPIVID_CONFIG*)malloc(sizeof...
/** * PurgeEvasionParallel.c * Parallel encryption/decryption for * purgeEvasion using RThreadPool. * Author Kucheruavyu Ilya (kojiba@ro.ru) * 12/8/15 Ukraine Kharkiv * _ _ _ _ * | | (_|_) | * | | _____ _ _| |__ __ _ * | |/ / _ \| | | '_ \ / _` | * | < (_) | | | |_) | (_| | * |_|\_\___/| ...
/*- * Copyright (c) 2009 Sam Leffler, Errno Consulting * 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, th...
#ifndef _IVW_MODULE_PVM_DEFINE_H_ #define _IVW_MODULE_PVM_DEFINE_H_ #ifdef INVIWO_ALL_DYN_LINK //DYNAMIC // If we are building DLL files we must declare dllexport/dllimport #ifdef IVW_MODULE_PVM_EXPORTS #ifdef _WIN32 #define IVW_MODULE_PVM_API __declspec(dllexport) #else //UNIX (GCC) #define IVW_MODULE_PVM_API __attri...
// // NSRegularExpression+BlockReplace.h // // Created by Ben Syverson on 2013/7/30. // /* License: ======== © Copyright 2013 Ben Syverson <http://bensyverson.com> Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met...
/* * Copyright (c) 1983, 1993 * The Regents of the University of California. All rights reserved. * * Copyright (c) 1995 John Hay. 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. R...
// Copyright ©2005, 2006 Freescale Semiconductor, Inc. // Please see the License for the specific language governing rights and // limitations under the License. // =========================================================================== // VPLToggleButton.h © 1996-97 Metrowerks Inc. All rights reserved. // ======...
/*- * Copyright (c) 2011, 2012 LSI 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: * 1. Redistributions of source code must retain the above copyright * notice, this list of con...
/* dovend.h */ /* $FreeBSD: soc2013/dpl/head/libexec/bootpd/dovend.h 97459 2002-05-28 18:31:41Z alfred $ */ extern int dovend_rfc1497(struct host *hp, u_char *buf, int len); extern int insert_ip(int, struct in_addr_list *, u_char **, int *); extern void insert_u_long(u_int32, u_char **);
/*- * Copyright (c) 1990, 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 met: * 1. Redistributions of source code must retain the above copy...
//%LICENSE//////////////////////////////////////////////////////////////// // // Licensed to The Open Group (TOG) under one or more contributor license // agreements. Refer to the OpenPegasusNOTICE.txt file distributed with // this work for additional information regarding copyright ownership. // Each contributor lice...
/* * THE UNICODE TEST SUITE FOR CINDER: https://github.com/arielm/Unicode * COPYRIGHT (C) 2013, ARIEL MALKA ALL RIGHTS RESERVED. * * THE FOLLOWING SOURCE-CODE IS DISTRIBUTED UNDER THE MODIFIED BSD LICENSE: * https://github.com/arielm/Unicode/blob/master/LICENSE.md */ #pragma once #include "TextLayout.h" #includ...
/*- * Copyright (c) 2005 Scott Long * 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 conditio...
#include <stdint.h> #include "platform.h" #include "primitives.h" #include "internals.h" struct exp16_sig32 softfloat_normSubnormalF32Sig( uint_fast32_t sig ) { int shiftCount; struct exp16_sig32 z; shiftCount = softfloat_countLeadingZeros32( sig ) - 8; z.exp = 1 - shiftCount; z.sig ...
#ifndef LUA_FONTSTYLE_H_ #define LUA_FONTSTYLE_H_ #include "Font.h" namespace gameplay { // Lua bindings for enum conversion functions for Font::Style. Font::Style lua_enumFromString_FontStyle(const char* s); const char* lua_stringFromEnum_FontStyle(Font::Style e); } #endif
// Copyright (c) 2014-2018 Bauhaus-Universitaet Weimar // This Software is distributed under the Modified BSD License, see license.txt. // // Virtual Reality and Visualization Research Group // Faculty of Media, Bauhaus-Universitaet Weimar // http://www.uni-weimar.de/medien/vr #ifndef TILE_PROVIDER_DELTAECALCULATOR_H ...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE122_Heap_Based_Buffer_Overflow__c_CWE805_int_memmove_64b.c Label Definition File: CWE122_Heap_Based_Buffer_Overflow__c_CWE805.label.xml Template File: sources-sink-64b.tmpl.c */ /* * @description * CWE: 122 Heap Based Buffer Overflow * BadSource: Allocate usi...
/*----------------------------------------------------------------------------*/ /* Copyright (c) FIRST 2008-2017. 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...