text
stringlengths
4
6.14k
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* 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...
/*///////////////////////////////////////////////////////////////////////// // // File: String_InternalMember.h // Description: // // Rel: 01.00 // Created: November, 2002 // // Revised: // // (C) Copyright 2009 Telefonica Investigacion y Desarrollo // S.A.Unipersonal (Telefonica I+...
/* * Copyright (C) 2019 by Sukchan Lee <acetcom@gmail.com> * * This file is part of Open5GS. * * 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 3 of the License, or ...
/* Copyright 2002-2013 CEA LIST This file is part of LIMA. LIMA 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 3 of the License, or (at your option) any later versi...
/** * @file libcomp/src/MessageTimeout.h * @ingroup libcomp * * @author COMP Omega <compomega@tutanota.com> * * @brief Indicates that a timeout has occurred. * * This file is part of the COMP_hack Library (libcomp). * * Copyright (C) 2012-2016 COMP_hack Team <compomega@tutanota.com> * * This program is free...
/* * Generated by asn1c-0.9.29 (http://lionet.info/asn1c) * From ASN.1 module "S1AP-IEs" * found in "../support/s1ap-r16.4.0/36413-g40.asn" * `asn1c -pdu=all -fcompound-names -findirect-choice -fno-include-deps -no-gen-BER -no-gen-XER -no-gen-OER -no-gen-UPER` */ #include "S1AP_BluetoothName.h" int S1AP_Blueto...
/* Copyright contributors as noted in the AUTHORS file. This file is part of PLATANOS. PLATANOS 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 3 of the ...
// // PayPalOAuthScopes.h // // Version 2.11.1 // // Copyright (c) 2014, PayPal // All rights reserved. // // Currently available scope-values to which the user can be asked to consent. // @see https://developer.paypal.com/docs/integration/direct/identity/attributes/ for more details /// Authorize charges for fut...
#ifndef JSON_WRITER_H_INCLUDED # define JSON_WRITER_H_INCLUDED # include "value.h" # include <vector> # include <string> # include <iostream> namespace Json { class Value; /** \brief Abstract class for writers. */ class JSON_API Writer { public: virtual ~Writer(); virtual std::string write( const Value...
/** ****************************************************************************** * @file DMA2D/DMA2D_MemToMemWithPFC/Inc/main.h * @author MCD Application Team * @version V1.2.5 * @date 29-January-2016 * @brief Header for main.c module ***************************************************...
/* Bacula® - The Network Backup Solution Copyright (C) 2006-2014 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. You may use this file and others of this release according to the l...
#pragma once #include "../Interface/Thread.h" #include "../Interface/Database.h" #include "../Interface/Query.h" #include "../Interface/Pipe.h" #include "../Interface/File.h" #include "../urbackupcommon/os_functions.h" #include "ChunkPatcher.h" #include "server_prepare_hash.h" #include "FileIndex.h" #includ...
/* * Copyright (C) 1998, 2000-2007, 2010, 2011, 2012, 2013 SINTEF ICT, * Applied Mathematics, Norway. * * Contact information: E-mail: tor.dokken@sintef.no * SINTEF ICT, Department of Applied Mathematics, * P.O. Box 124 Blindern, ...
/* * (c) Copyright Ascensio System SIA 2010-2019 * * This program is a free software product. You can redistribute it and/or * modify it under the terms of the GNU Affero General Public License (AGPL) * version 3 as published by the Free Software Foundation. In accordance with * Section 7(a) of the GNU AGP...
/************************************************************************** ** ** This file is part of Qt Creator ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** Commercial Usage ** ** Licensees holding valid Qt Commercial licenses may u...
/** * @file element_compare.c * @brief element.h implementation * @author Aleix Conchillo Flaque <aconchillo@gmail.com> * @date Thu Aug 27, 2009 01:38 * * @if copyright * * Copyright (C) 2009 Aleix Conchillo Flaque * * SCEW is free software; you can redistribute it and/or * modify it under the t...
/* * This file is part of ofono-qt * * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). * * Contact: Alexander Kanavin <alex.kanavin@gmail.com> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version 2.1 a...
/****************************************************************************** JUserNotification.h Interface for the JUserNotification class. Copyright © 1994-96 by John Lindal. All rights reserved. ******************************************************************************/ #ifndef _H_JUserNotification #de...
// -*- C++ -*- /* GG is a GUI for SDL and OpenGL. Copyright (C) 2003-2008 T. Zachary Laine 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 ...
/**************************************************************************** This file is part of the GLC-lib library. Copyright (C) 2005-2008 Laurent Ribon (laumaya@users.sourceforge.net) http://glc-lib.sourceforge.net GLC-lib is free software; you can redistribute it and/or modify it under the terms of the GN...
/* dlvhex -- Answer-Set Programming with external interfaces. * Copyright (C) 2005-2007 Roman Schindlauer * Copyright (C) 2006-2015 Thomas Krennwallner * Copyright (C) 2009-2016 Peter Schüller * Copyright (C) 2011-2016 Christoph Redl * Copyright (C) 2015-2016 Tobias Kaminski * Copyright (C) 2015-2016 Antonius Wei...
// The libMesh Finite Element Library. // Copyright (C) 2002-2012 Benjamin S. Kirk, John W. Peterson, Roy H. Stogner // 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 ...
#include "key2pho8.h" const static int shift[] = { 9, 7, 3, 0 }; const static int sb[] = { 31, 3, 15, 7 }; const char *ph_pho[] = { /* number of bits */ " ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙ", /* 5 */ " ㄧㄨㄩ", /* 2 */ " ㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦ", /* 4 */ " ˙ˊˇˋ" /* 3 */ }; /* Translate a single phone into a single uint...
/* * StarPU * Copyright (C) Université Bordeaux 1, CNRS 2008-2010 (see AUTHORS file) * * This program 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 * y...
/* * (C) 2001 Clemson University and The University of Chicago * * See COPYING in top-level directory. */ #ifndef __DBPF_OPEN_CACHE_H__ #define __DBPF_OPEN_CACHE_H__ #include <db.h> #include "trove.h" #include "trove-internal.h" enum open_cache_open_type { DBPF_FD_BUFFERED_READ = 1, DBPF_FD_BUFFERED_WRI...
/* * * Copyright (C) 2011 MeVis Medical Solutions AG All Rights Reserved. * * 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 op...
// Platform.h #ifndef SEVENZIPCORE_PLATFORM_H #define SEVENZIPCORE_PLATFORM_H #if defined(_WIN32) || defined(__WIN32__) #ifndef __WINDOWS__ #define __WINDOWS__ #endif #include <Windows.h> #endif #define FOLDER_SEPARATOR_WINDOWS TEXT('\\') #define FOLDER_SEPARATOR_POSIX TEXT('/') #ifdef __WINDOWS__ #define FOLDER_S...
/* Test of case-insensitive memory area comparison function. Copyright (C) 2007-2012 Free Software Foundation, Inc. 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...
/******************************************************************************\ This file is part of the C! library. A.K.A the cbang library. Copyright (c) 2003-2019, Cauldron Development LLC Copyright (c) 2003-2017, Stanford University All...
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
/* this file is part of libccc, criawips' cairo-based canvas * * AUTHORS * Sven Herzberg <herzi@gnome-de.org> * * Copyright (C) 2005 Sven Herzberg * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License as * published b...
//////////////////////////////////////////////////////////////// // // Copyright (C) 2005 Affymetrix, Inc. // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License (version 2) as // published by the Free Software Foundation. // // This program...
/****************************************************************/ /* DO NOT MODIFY THIS HEADER */ /* MOOSE - Multiphysics Object Oriented Simulation Environment */ /* */ /* (c) 2010 Battelle Energy Alliance, LLC ...
/* * Copyright (C) 2011 Apple Inc. All Rights Reserved. * Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies) * * 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 mus...
/* Copyright (C) 2009 Conrad Parker */ #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/sendfile.h> #include <fcntl.h> #include <pthread.h> #include <oggz/oggz.h> #include "http-reqline.h" #include "http-status.h" #include "params.h" #include "resource.h" #include "...
#pragma once class LoginUi { public: LoginUi(void); ~LoginUi(void); public: bool Show(); private: void DoLogin(); bool OnWindowCreated(Base::NBaseObj* source, NEventData* eventData); bool OnBtnRetry(Base::NBaseObj* source, NEventData* eventData); static unsigned int WINAPI ThreadProc(void...
/* * Created on: May 10, 2012 * Author: mdonahue * * Copyright (C) 2012-2016 VMware, Inc. All rights reserved. -- VMware Confidential */ #ifndef AMQPIMPL_H_ #define AMQPIMPL_H_ #include "amqpClient/amqpImpl/IContentHeader.h" #include "amqpClient/amqpImpl/IMethod.h" namespace Caf { namespace AmqpClient {...
/* GDK - The GIMP Drawing Kit * Copyright (C) 2013 Jan Arne Petersen * * 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 of the License, or (at your option) any lat...
/**************************************************************************** ** ** 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$ ** Commerci...
/* * cpu_s390.c: CPU driver for s390(x) CPUs * * Copyright (C) 2013 Red Hat, Inc. * Copyright IBM Corp. 2012 * * 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....
/* * PKCS #11 PAM Login Module * Copyright (C) 2003 Mario Strasser <mast@gmx.net>, * * 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 you...
/*****************************************************************************\ * ANALYSIS PERFORMANCE TOOLS * * Extrae * * Instrumentation package for parallel applications * **...
/* -*- OpenSAF -*- * * (C) Copyright 2008 The OpenSAF Foundation * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. This file and program are licensed * under the GNU Les...
/* * Copyright (C) 2012 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 conditio...
/*************************************************************************** * Copyright (C) 2013 by Jeroen Broekhuizen * * jengine.sse@live.nl * * * * This li...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
// Created file "Lib\src\Uuid\X64\guids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b...
// Created file "Lib\src\strmiids\X64\strmiids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, ...
/*+@@file@@----------------------------------------------------------------*//*! \file storprop.h \par Description Extension and update of headers for PellesC compiler suite. \par Project: PellesC Headers extension \date Created on Sat Sep 17 01:29:35 2016 \date Modified on Sat Sep 17...
// Created file "Lib\src\MMC\X64\ndmgrpriv" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4,...
// UGThemes.h: interface for the UGThemes class. // ////////////////////////////////////////////////////////////////////// /*! ************************************************************************************** \file UGThemes.h *******************************************************************...
#include <stdlib.h> #include <glib.h> #include "gegl.h" #include "opencl/gegl-cl-init.h" #define ITERATIONS 600 #define PERCENTILE 0.75 /* if we want to bias to the better results with more noise, increase this number towards 1.0, like 0.8 */ #define BAIL_THRESHOL...
#include "testutils.h" static void ref_mod (mp_limb_t *rp, const mp_limb_t *ap, const mp_limb_t *mp, mp_size_t mn) { mpz_t r, a, m; mpz_init (r); mpz_mod (r, mpz_roinit_n (a, ap, 2*mn), mpz_roinit_n (m, mp, mn)); mpz_limbs_copy (rp, r, mn); mpz_clear (r); } #define MAX_ECC_SIZE (1 + 521 / GMP_NUMB_BITS) #d...
#ifndef OBSERVER_H #define OBSERVER_H /* * Copyright (c) 2016 CERN * @author Michele Castellana <michele.castellana@cern.ch> * * This source code 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 v...
#pragma once struct IRenderMesh; struct IRenderer { virtual ~IRenderer() {} virtual void PrepareFrame() = 0; virtual void DrawOneFrame() = 0; virtual void EndOneFrame() = 0; virtual void DrawMesh(IRenderMesh *) = 0; virtual void OnResize(int width, int height) = 0; };
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
#include <stdio.h> #include <stdlib.h> #include <assert.h> extern int base64encode(const void* data_buf, size_t dataLength, char* result, size_t resultSize); extern int base64decode(char *in, size_t inLen, unsigned char *out, size_t *outLen); int main(int argc, char *argv[]) { return 0; }
/* This file is part of Poti Poti is free software: you can redistribute it and/or modify it under the terms of the GNU Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Poti is distributed in the hope that it w...
#pragma once #include <QtWidgets/QDialog> #include <QtGui/QFont> #include <QtCore/QString> #include <QtCore/QStringList> namespace Ui { class EditHeadlineDialog; } class EditHeadlineDialog : public QDialog { Q_OBJECT public: explicit EditHeadlineDialog(QWidget *parent = nullptr); ~Edi...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
// Created file "Lib\src\mfuuid\mfinternal_i" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b...
#ifndef UITEXTCURSOR_H #define UITEXTCURSOR_H #include "Bang/BangDefines.h" #include "Bang/ComponentMacros.h" #include "Bang/LineRenderer.h" #include "Bang/String.h" #include "Bang/Time.h" namespace Bang { class UITextCursor : public LineRenderer { COMPONENT(UITextCursor) public: UITextCursor(); virtual ...
/* * File: DistanceToBall2.h * Author: chung * * Created on January 14, 2016, 2:02 AM */ #ifndef DISTANCETOBALL2_H #define DISTANCETOBALL2_H #include "Function.h" #include <cmath> /** * \class DistanceToBall2 * \brief Distance from the unit ball of R^n * \version version 0.1 * \ingroup Functions * \dat...
#include <esdm-internal.h> #include "dummy/dummy.h" #ifdef ESDM_HAS_S3 # include "s3/s3.h" # pragma message("Building ESDM with support for S3 backend.") #endif #ifdef ESDM_HAS_POSIX # include "posix/posix.h" # pragma message("Building ESDM with support for generic POSIX backend.") #endif #ifdef ESDM_HAS_IME #...
/* This source file is part of KBEngine For the latest info, see http://www.kbengine.org/ Copyright (c) 2008-2016 KBEngine. KBEngine 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...
/*************************************************************************** * Copyright (C) 2006 by Dominik Seichter * * domseichter@web.de * * * * This pr...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
#pragma once #include "../data.h" #include "../type.h" #include "../value.h" #include "stacktrace.h" #include <string> #include <memory> namespace sqf { namespace runtime { struct t_stacktrace : public type::extend<t_stacktrace> { t_stacktrace() : extend() {} static const std::string name() { return "VM-STACKTRAC...
// Created file "Lib\src\Uuid\propkeys" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5...
/* -*- C -*- * mmap.c -- memory mapping for the sculld char module * * Copyright (C) 2001 Alessandro Rubini and Jonathan Corbet * Copyright (C) 2001 O'Reilly & Associates * * The source code in this file can be freely used, adapted, * and redistributed in source or binary form, so long as an * acknowledgment a...
// CSmtp.h: interface for the Smtp class. // ////////////////////////////////////////////////////////////////////// #pragma once #ifndef __CSMTP_H__ #define __CSMTP_H__ #include <vector> #include <string.h> #include <assert.h> #ifdef LINUX #include <sys/types.h> #include <sys/socket.h> #include <sys/ioctl.h> #i...
#ifndef ROPE_H #define ROPE_H #include "BangMath/AABox.h" #include "Bang/Array.h" #include "Bang/AssetHandle.h" #include "Bang/BangDefines.h" #include "Bang/ComponentMacros.h" #include "Bang/LineRenderer.h" #include "Bang/MetaNode.h" #include "Bang/Particle.h" #include "Bang/String.h" namespace Bang { class Serializa...
/* * Tulip Indicators * https://tulipindicators.org/ * Copyright (c) 2010-2020 Tulip Charts LLC * Lewis Van Winkle (LV@tulipcharts.org) * * This file is part of Tulip Indicators. * * Tulip Indicators is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public L...
int f(){ return 0; } int main(void){ f(); return 0; }
/* gdb_hooks.h - Hooks for GDB Stub library Copyright (c) 2018 Ivan Grokhotkov. All right reserved. 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...
// // This program 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 the License, or // (at your option) any later version. // // This program is distributed in the hope that it wil...
/* Copyright 2013-2021 Paul Colby This file is part of QtAws. QtAws 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 the License, or (at your option) any later v...
// Created file "Lib\src\Uuid\X64\ieguids" typedef struct _GUID { unsigned long Data1; unsigned short Data2; unsigned short Data3; unsigned char Data4[8]; } GUID; #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, ...
#include "image.h" struct Bitmap* bitmap_create(int res[]) { struct Bitmap* B = malloc(sizeof(struct Bitmap)); B->width = res[0]; B->height = res[1]; B->pixels = malloc(sizeof(struct Pixel)*res[0]*res[1]); return B; } struct Pixel* bitmap_get_pixel(struct Bitmap* bitmap, size_t x, size_t y) {...
const unsigned char imageRLE[341]={ 0x01,0x00,0x01,0x3d,0x23,0x00,0x01,0x0e,0x80,0x80,0x00,0x82,0x80,0x83,0x00,0x83, 0x00,0x82,0x00,0x82,0x80,0x00,0x82,0x80,0x00,0x01,0x0f,0x86,0x80,0x00,0x80,0x01, 0x02,0x00,0x81,0x5c,0x81,0x00,0x86,0x00,0x00,0x84,0x83,0x00,0x01,0x0f,0x85,0x00, 0x00,0x85,0x00,0x84,0x00,0x85,0x00,0x...
// Header file CandyBox.h in project Ex9_02 #pragma once #include "Box.h" class CCandyBox: public CBox { public: char* m_Contents; CCandyBox(char* str = "Candy") // Constructor { m_Contents = new char[ strlen(str) + 1 ]; strcpy_s(m_Contents, strlen(str) + 1, str); ...
// // RSAPubKey.h // // Version 1.0.0 // // Created by yangtu222 on 2016.06.30. // Copyright (C) 2016, andlisoft.com. // // Distributed under the permissive zlib License // Get the latest version from here: // // https://github.com/yangtu222/RSAPublicKey // // This software is provided 'as-is', without any expr...
#pragma once #include "maths.h" #include "utils.h" #include <map> using namespace maths; using namespace utils; struct Camera { Camera(); void update(std::map<int, Transform>& transforms); bool follow_vehicle; bool target_changed; int last_target_index; int current_target_index; float target_distance; ...
#ifndef FILERWKIT_H #define FILERWKIT_H #include <QObject> #include <QVector> #include <QFile> #include <QXmlStreamReader> #include <QXmlStreamWriter> #include <QString> #include <QStringList> #include <QDebug> #include <QDir> #include <QDateTime> #include <QtMath> class QFileIO : public QObject { Q_OBJECT publi...
#import <UIKit/UIKit.h> #import "_DDDecimalFunctions.h" #import "_DDFunctionEvaluator.h" #import "_DDFunctionExpression.h" #import "_DDFunctionTerm.h" #import "_DDGroupTerm.h" #import "_DDNumberExpression.h" #import "_DDNumberTerm.h" #import "_DDOperatorTerm.h" #import "_DDParserTerm.h" #import "_DDPrecisionFunctionEv...
/* * sprite.h * * Created on: Sep 8, 2013 * Author: drb */ #ifndef SPRITE_H_ #define SPRITE_H_ #include <vector> #include "../util/Point.h" #include "ISprite.h" class sprite : public ISprite { public: sprite(); virtual ~sprite(); virtual void render (double delta , SDL_Renderer* rednerer , SDL...
#pragma once class COrderItem { public: COrderItem(void); ~COrderItem(void); public: CString orderID; CString orderTel; CString orderStatus; CString orderType; float orderPayed; float orderDiscount; int orderBig; int orderSmall; CString orderName; int iIndex; };
// // SheetWindowController.h // b-music // // Created by Sergey P on 02.10.13. // Copyright (c) 2013 Sergey P. 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 Softwa...
// // UIImage+AKCryptography.h // AmazeKit // // Created by Jeff Kelley on 8/13/12. // Copyright (c) 2013 Detroit Labs. 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 Li...
/* * Copyright 2011-2013 Blender Foundation * * 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...
#define PI_2 (2 * M_PI_F) // buffer length defaults to the argument to the integrate kernel // but if it's known at compile time, it can be provided which allows // compiler to change i%n to i&(n-1) if n is a power of two. #ifndef NH #define NH nh #endif #ifndef WARP_SIZE #define WARP_SIZE 32 #endif #include <stdio....
/*========================================================================= * * 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 2009-2017 Brad Sokol // // 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 ...
#include <stdio.h> #include <stdlib.h> #include <stdarg.h> int __attribute__((naked)) sub(int a, int b) { __asm__("sub r0, r0, r1 \n" "bx lr \n"); } int add(int a, int b) { return a + b; } int sum(int count, ...) { int ret = 0; va_list args; va_start(args, co...
#ifdef __cplusplus extern "C" { #endif #include <inttypes.h> #include <libxml.h> #include <libxml/relaxng.h> #include <libxml/xmlerror.h> #include <stdlib.h> #include <libhfuzz/libhfuzz.h> FILE* null_file = NULL; int LLVMFuzzerInitialize(int* argc, char*** argv) { null_file = fopen("/dev/null", "w"); return...
/* * OeScript http://www.oescript.net * Copyright 2012 Ed Sweeney, all rights reserved. */ #ifdef __cplusplus extern "C" { #endif #ifndef OENETCONN_H #define OENETCONN_H /** * API for implementing reading and writing with the async OeNet * API */ #include "config.h" #include "oec_values.h" #define T OeNe...
// // YR_PersonalPageViewController.h // Artand // // Created by dllo on 16/9/9. // Copyright © 2016年 kaleidoscope. All rights reserved. // #import <UIKit/UIKit.h> @interface YR_PersonalPageViewController : UIViewController @property (nonatomic, copy) NSString *uid; @end
/* libparted - a library for manipulating disk partitions Copyright (C) 2000, 2003-2005, 2007, 2009-2011 Free Software Foundation, Inc. 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 Fou...