text
stringlengths
9
948k
/* * Copyright 2018 Google * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
#include <string.h> #include "sentry_alloc.h" #include "sentry_string.h" #define INITIAL_BUFFER_SIZE 128 void sentry__stringbuilder_init(sentry_stringbuilder_t *sb) { sb->buf = NULL; sb->allocated = 0; sb->len = 0; } char * sentry__stringbuilder_reserve(sentry_stringbuilder_t *sb, size_t len) { size...
/* * Copyright 2020 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ /*********************************************************************************************************************** * This file was generated by the MCUXpresso Config Tools. Any manual edits made to this file * will ...
#include <stdlib.h> extern char lex_data[] __asm__ ("_binary_lex_cfg_lexsave_start"); extern char lex_data_end[] __asm__ ("_binary_lex_cfg_lexsave_end"); extern char parser_data[] __asm__ ("_binary_parser_cfg_lrsave_start"); extern char parser_data_end[] __asm__ ("_binary_parser_cfg_lrsave_end"); extern con...
// // NLAppDelegate.h // NLAdSDK // // Created by Ke Jie on 09/15/2020. // Copyright (c) 2020 Ke Jie. All rights reserved. // @import UIKit; @interface NLAppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
#ifndef NEWMODELBUILDER_H #define NEWMODELBUILDER_H #include <QDialog> #include "dengueme.h" namespace Ui { class NewModelBuilder; } class NewModelBuilder : public QDialog { Q_OBJECT public: struct { QStringList types; QList<QStringList> names; } models; explicit NewModelBuilder(QString workspace,...
#ifndef SAMP_STRUCTURES_H #define SAMP_STRUCTURES_H #define NETCODE_CONNCOOKIELULZ 0x6969 #define NETGAME_VERSION 4057 #define REJECT_REASON_BAD_VERSION 1 #define REJECT_REASON_BAD_NICKNAME 2 #define REJECT_REASON_BAD_MOD 3 #define REJECT_REASON_BAD_PLAYERID 4 #define BP _asm int 3 #define MAX_PLAYERS 1004 #define...
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SOCKSTREAMBUF_KERNEl_1_ #define DLIB_SOCKSTREAMBUF_KERNEl_1_ #include <iosfwd> #include <streambuf> #include "../sockets.h" #include "sockstreambuf_kernel_abstract.h" namespace...
//========= Copyright Valve Corporation, All rights reserved. ============// // // Purpose: Shared Player Variables / Functions and variables that may or may not be networked // //===========================================================================================// #ifndef SDK_PLAYER_SHARED_H #define SDK_PLAYE...
#include <bitcoin/pubkey.h> #include <ccan/err/err.h> #include <ccan/fdpass/fdpass.h> #include <ccan/list/list.h> #include <ccan/tal/str/str.h> #include <common/features.h> #include <common/wireaddr.h> #include <connectd/gen_connect_wire.h> #include <errno.h> #include <hsmd/capabilities.h> #include <hsmd/gen_hsm_client...
#pragma once #include <ext/shared_ptr_helper.h> #include <Storages/System/IStorageSystemOneBlock.h> namespace DB { class Context; /** implements system table "settings", which allows to get information about the current settings. */ class StorageSystemSettings : public ext::shared_ptr_helper<StorageSystemSettin...
//===--- SymbolCollector.h ---------------------------------------*- 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 // //===---------------------------...
// AppleArchive path list #pragma once #ifndef __APPLE_ARCHIVE_H #error Include AppleArchive.h instead of this file #endif #if __has_feature(assume_nonnull) _Pragma("clang assume_nonnull begin") #endif #ifdef __cplusplus extern "C" { #endif /*! @abstract Create a new path list with validated entries from a direc...
/* This testcase is part of GDB, the GNU debugger. Copyright 2015-2019 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 License, or ...
#include <stdio.h> #include <pthread.h> #include <stdbool.h> #include <unistd.h> #include <time.h> #include <stdlib.h> #define N_STUDENTS 60 #define MAX_SEARCH_TIME 10 #define MAX_PARTY_TIME 1 #define MAX_DEAN_BREAK_TIME 10 //This struct stores the complete state at any time struct State { bool deanInTheRoom; int...
// Copyright (C) 2018-2022 Intel Corporation // SPDX-License-Identifier: Apache-2.0 // #pragma once #include <ie_common.h> #include <node.h> #include <string> #include <memory> #include <vector> namespace ov { namespace intel_cpu { namespace node { enum ReduceLayoutType { reduce_ncsp, reduce_nspc, reduc...
/* Copyright (C) 2014 Daniel Dressler and contributors * * 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 applicab...
#ifndef CASE_RENDER_IRLMODEL_H #define CASE_RENDER_IRLMODEL_H struct BoneTransformationInputData; struct KRLSFXParam; struct KRLMonoAnimationParam; struct KRLSplitAnimationParam; class IKG3DModel; class KRLSceneObject; class KRLScene; class KAnimationModel; class IRLModel { public: virtual HRESULT Reset() = 0; ...
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220110.5 #pragma once #ifndef WINRT_Windows_Media_Transcoding_H #define WINRT_Windows_Media_Transcoding_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220110.5"), "Mismatched C++/WinRT headers."); #define C...
/* This file is the part of the STM32 secure bootloader * * Ruptor's TEA or Repaired TEA * * Copyright ©2017 Dmitry Filimonchuk <dmitrystu[at]gmail[dot]com> * * 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 c...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:15:51 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/Frameworks/Contacts.framework/Contacts * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. *...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE176_Improper_Handling_of_Unicode_Encoding__w32_66a.c Label Definition File: CWE176_Improper_Handling_of_Unicode_Encoding__w32.label.xml Template File: sources-sinks-66a.tmpl.c */ /* * @description * CWE: 176 Improper Handling of Unicode Encoding * BadSource: Initiali...
/** ****************************************************************************** * @file stm32f4xx_hal_cortex.c * @author MCD Application Team * @version V1.7.1 * @date 14-April-2017 * @brief CORTEX HAL module driver. * This file provides firmware functions to manage the following *...
/******************************************************************************* The block below describes the properties of this PIP. A PIP is a short snippet of code that can be read by the Projucer and used to generate a JUCE project. BEGIN_JUCE_PIP_METADATA name: tracktion_graph_TestRunner vers...
/* Copyright 2021 r-neal-kelly */ #pragma once #include "regex/allocator_i.h" #include "regex/intrinsic.h" typedef allocator_i allocator_heap_zero_t; extern allocator_heap_zero_t ALLOCATOR_HEAP_ZERO;
/* * 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 * ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:42 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/WebKit.framework/WebKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. *...
/** * Copyright 2021 Huawei Technologies Co., Ltd * * 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...
//------------------------------------------------------------------------------ // GB_Asaxpy3B_noM: hard-coded saxpy3 method for a semiring //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. // SPDX-License-...
// SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019, Intel Corporation. */ #include <net/xdp_sock_drv.h> #include "ice_base.h" #include "ice_lib.h" #include "ice_dcb_lib.h" /** * __ice_vsi_get_qs_contig - Assign a contiguous chunk of queues to VSI * @qs_cfg: gathered variables needed for PF->VSI queues assign...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2013 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or https://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MINER_H #define BITCOIN_MINER_H #include "primitives/block.h" ...
// 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 CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ #define CHROME_BROWSER_PROFILES_PROFILE_AVATAR_ICON_UTIL_H_ #include <stddef.h> #include <st...
#include "stdio.h" #ifndef mips #include "stdlib.h" #endif #include "xlisp.h" #include "sound.h" #include "falloc.h" #include "cext.h" #include "delaycv.h" void delaycv_free(snd_susp_type a_susp); typedef struct delaycv_susp_struct { snd_susp_node susp; boolean started; long terminate_cnt; sound_typ...
/* * Copyright (c) 2006-2018, RT-Thread Development Team * * SPDX-License-Identifier: Apache-2.0 * * Change Logs: * Date Author Notes * 2018-11-15 SummerGift first version */ /* * NOTE: DO NOT include this file on the header file. */ #define DBG_ENABLE #define DBG_COLOR #ifndef LOG_TA...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include <unordered_map> #include <stack> #include <functional> #include "WumpusStructs.h" class WUMPUS_UNREAL_API WumpusAgent { public: bool FoundGold; FVector2D CurrentPosition; std::unordered_m...
/**************************************************************************** ** CUBE http://www.scalasca.org/ ** ***************************************************************************** ** Copyright (c) 1998-2016 ** ** Fors...
/* * linux/drivers/video/omap2/dss/dsi.c * * Copyright (C) 2009 Nokia Corporation * Author: Tomi Valkeinen <tomi.valkeinen@nokia.com> * * 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 Foun...
//--------------------------------------------------------------------- // // File: TCueSheetTimeView.h // // Author: Gene Z. Ragan // // Date: 02.16.98 // // Desc: // // Copyright ©1998 mediapede software // //--------------------------------------------------------------------- #ifndef __TCUESHEETTIMEVIEW_H__ #defi...
// QCRecipientDirector.h: interface for the QCRecipientDirector class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_QCRECIPIENTDIRECTOR_H__FB6756E2_B5AA_11D0_97BC_00805FD2F268__INCLUDED_) #define AFX_QCRECIPIENTDIRECTOR_H__FB6756E2_B5AA_11D0_97BC_00805FD2F268__INCLUDED_ #...
#pragma once #include "BasicTypes.h" #include "Enum.h" #include "ClassReference.h" #include "LuaRED.h" #include "RTTIHelper.h" namespace TiltedPhoques { struct Allocator; } namespace Converter { size_t Size(RED4ext::IRTTIType* apRtti); sol::object ToLua(RED4ext::CStackType& aResult, TiltedPhoques::Locked...
#ifndef DataFormats_SiStripDetId_TOBDetId_H #define DataFormats_SiStripDetId_TOBDetId_H #include <ostream> #include <vector> #include "DataFormats/SiStripDetId/interface/SiStripDetId.h" #include "DataFormats/SiStripDetId/interface/StripSubdetector.h" /** * Det identifier class for the TOB */ class TOBDetId; std:...
#include <stdbool.h> #include <errno.h> #include <string.h> #include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <hw/template_appliance.h> #include "applibs_versions.h" #include <applibs/log.h> #include <applibs/gpio.h> #include <applibs/networking.h> #include <applibs/wificonfig.h...
// Copyright 2015 Google Inc. All Rights Reserved. // // Use of this source code is governed by a BSD-style license // that can be found in the COPYING file in the root of the source // tree. An additional intellectual property rights grant can be found // in the file PATENTS. All contributing project authors may // be...
/***************************************************************** * * DO NOT EDIT THIS FILE! * This file is auto-generated by xfc_map_parser * from the NPL output file(s) header.yml * for device bcm56780_a0 and variant dna_2_4_13. * Edits to this file will be lost when it is regenerated. * * * This license i...
/* * Copyright (c) 2018, Sensirion AG * 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...
int nearly_nothing() { test_int_no1(1, 2); }
#include "dbhelpers.h" #include "includes.h" /* Erase data */ void m_burn(void *data, unsigned int len) { #if defined(HAVE_MEMSET_S) memset_s(data, len, 0x0, len); #elif defined(HAVE_EXPLICIT_BZERO) explicit_bzero(data, len); #else /* Based on the method in David Wheeler's * "Secure Programming for Linux and Unix ...
// 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 MEDIA_AUDIO_LINUX_ALSA_INPUT_H_ #define MEDIA_AUDIO_LINUX_ALSA_INPUT_H_ #include <alsa/asoundlib.h> #include <string> #include "base/compil...
#ifndef DATABASECONTROLLER_H #define DATABASECONTROLLER_H #include "libpaxchange_global.h" #include "packagedatabase.h" #include "pluginloader.h" #include "operationqueue.h" #include "changefilter.h" #include <QFile> #include <QObject> #include <QSettings> #include <QtJsonSerializer/QJsonSerializer> #include <QFileSy...
/* * Architecture specific parts of the Floppy driver * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1995 */ #ifdef __KERNEL__ #ifndef __ASM_PPC_FLOPPY_H #define __ASM_P...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE546_Suspicious_Comment__LATER_08.c Label Definition File: CWE546_Suspicious_Comment.label.xml Template File: point-flaw-08.tmpl.c */ /* * @description * CWE: 546 Suspicious Comment * Sinks: LATER * GoodSink: Comments show no indications that the code is unfinished...
#ifndef INCLUDED_config_h #define INCLUDED_config_h #include "setup.h" /* * Directory paths and filenames for UNIX systems. * IRCD_PREFIX is set using ./configure --prefix, see INSTALL. * The other defaults should be fine. * * NOTE: CHANGING THESE WILL NOT ALTER THE DIRECTORY THAT FILES WILL * BE INSTALL...
/* This file contains only Doxygen documentation. It does not actually contain any source code. */ /** \defgroup nwint Gaussian integrals \brief Notes on the Gaussian integral API The API documented here provides access to a number of Gaussian integral codes. At the moment NWChem contains 4 different integral pac...
#pragma once #include <map> #include <stack> #include <vector> #define YYLOG stdout #define YYBUFSIZE 2048 class TableParser { protected: using Symbols = int; using Rule = int; using LexicalAnalyzer = int(*)(); LexicalAnalyzer yylex; // parsing table std::map< Symbols, std::map<Symbols, Rule> > table; std...
// 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TRACKER_SET_H_ #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_BACKEND_TRACKER_SET_H_ #include <set> ...
#pragma once #include "basic_node.h" #include "utils.h" // ******************************************* // GC // ******************************************* template <class Node> struct gc { using node = typename Node::node; using alloc = typename Node::allocator; static void init() { alloc::init();} stati...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 2:48:47 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/Frameworks/Contacts.framework/Contacts * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos....
/* * RAW muxers * Copyright (C) 2007 Aurelien Jacobs <aurel@gnuage.org> * * This file is part of FFmpeg. * * FFmpeg 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 ...
// Copyright (c) Open Enclave SDK contributors. // Licensed under the MIT License. #ifndef _OE_HOST_CRYPTO_OPENSSL_RSA_H #define _OE_HOST_CRYPTO_OPENSSL_RSA_H #include <openenclave/internal/rsa.h> #include <openssl/evp.h> /* Caller is responsible for validating parameters */ void oe_rsa_public_key_init(oe_rsa_public...
int test(int EINVAL){ if ( sscanf ( input , "%u:%u %llu" , ajor , inor , ) != 3 ) return - EINVAL ; }
/****************************************************************************** * * * This file is part of the simulation tool PROPOSAL. * * * ...
/*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * | (__| |_| | _ <| |___ * \___|\...
// // NSURLRequest+YWNetParams.h // YWNetworkingExamples // // Created by Mr.Yao on 2019/9/12. // Copyright © 2019 姚威. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSURLRequest (YWNetParams) @property (nonatomic, copy) NSDictionary * _Nullable requestParams; @end ...
/* LibMemcached * Copyright (C) 2006-2009 Brian Aker * All rights reserved. * * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. * * Summary: * */ #include <getopt.h> #include <libmemcached/memcached.h> #include "libmemcached/watchpoint.h" #in...
// // HomeMusicTransition.h // music // // Created by zhongke on 2018/9/28. // Copyright © 2018年 kk. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN #pragma mark - enum typedef NS_ENUM(NSUInteger, HomeMusicTransitionType) { HomeMusicTransitionPush = 0, HomeMusicTransitio...
#pragma once #ifndef STYLEINDEXLINEEDIT_H #define STYLEINDEXLINEEDIT_H #include "tcommon.h" #include "toonzqt/lineedit.h" #undef DVAPI #undef DVVAR #ifdef TOONZQT_EXPORTS #define DVAPI DV_EXPORT_API #define DVVAR DV_EXPORT_VAR #else #define DVAPI DV_IMPORT_API #define DVVAR DV_IMPORT_VAR #endif // forward declarat...
// // MFPeripheralModel.h // iSearching // // Created by Mac on 2018/5/14. // Copyright © 2018年 MF. All rights reserved. // #import <Foundation/Foundation.h> @interface MFPeripheralModel : NSObject @property (nonatomic,strong) NSNumber *RSSI; @property (nonatomic,copy) CBPeripheral *peripheral; @property (nona...
#ifndef DETECTION_RUBY_H #define DETECTION_RUBY_H #include <QFileInfo> #include "idetection.h" class DetectionRuby : public IDetection { public: virtual void types(QStringList &list); virtual bool isType(const QFileInfo &fi, QString &type, QString &subtype); }; #endif // DETECTION_RUBY_H
/* * This file is part of the µOS++ distribution. * (https://github.com/micro-os-plus) * Copyright (c) 2015 Liviu Ionescu. * * 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 ...
#ifndef _MTLK_PATTERN_H_ #define _MTLK_PATTERN_H_ BOOL __MTLK_IFUNC mtlk_pattern_match(char *pattern, char *string); #endif
/* * Copyright 2011 The LibYuv 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 contributing p...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_GeoTrackKitExampleTestsVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_GeoTrackKitEx...
/* $NetBSD: subr_hash.c,v 1.3 2008/05/05 17:11:17 ad Exp $ */ /* * Copyright (c) 1982, 1986, 1991, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California...
/** * \file lstm.h * \brief Helper structures to build recurrent units * * \details TODO: Create documentation and explain rnns, etc... */ #ifndef DYNET_LSTM_H_ #define DYNET_LSTM_H_ #include "dynet/dynet.h" #include "dynet/rnn.h" #include "dynet/expr.h" namespace dynet { class ParameterCollection; /** * \ingr...
// // XBMacroDefinition_h // FindSecret // // Created by 9f on 2018/7/28. // Copyright © 2018年 Mac. All rights reserved. // #ifndef XBMacroDefinition_h #define XBMacroDefinition_h #define IS_IPHONEX ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(1125,2436), [[UIScree...
/*************************************************************************/ /* hashing_context.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright 2018 David Sansome // // 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 t...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ram/RAM_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonVie...
#ifndef __SimulationDataWCSPH_h__ #define __SimulationDataWCSPH_h__ #include "SPlisHSPlasH/Common.h" #include <vector> #include "SPlisHSPlasH/FluidModel.h" namespace SPH { /** \brief Simulation data which is required by the method Weakly Compressible SPH for Free Surface Flows introduced * by Becker and Teschner ...
#ifndef OBJECTQUERYMODEL_PARTITIONPOLICYFACTORY_H #define OBJECTQUERYMODEL_PARTITIONPOLICYFACTORY_H #include "PartitionPolicy.h" #include "RandomPolicy.h" #include "RoundRobinPolicy.h" namespace pdb { class PartitionPolicyFactory { public: static PartitionPolicyPtr buildPartitionPolicy(PartitionPolicy::Policy p...
/* lapack/double/dlaswp.f -- translated by f2c (version 20050501). You must link the resulting object file with libf2c: on Microsoft Windows system, link with libf2c.lib; on Linux or Unix systems, link with .../path/to/libf2c.a -lm or, if you install libf2c.a in a standard place, with -lf2c -...
/* ** Copyright 2005-2017 Solarflare Communications Inc. ** 7505 Irvine Center Drive, Irvine, CA 92618, USA ** Copyright 2002-2005 Level 5 Networks Inc. ** ** This program is free software; you can redistribute it and/or modify it ** under the terms of version 2 of the GNU General Public License ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-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_SCRIPT_SIGN_H #define BITCOIN_SCRIPT_SIGN_H #include <boost/opti...
/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file stm32f4xx_it.c * @brief Interrupt Service Routines. ****************************************************************************** * @attention * * <h2><center>&copy; Copyright (c) ...
/*===---- avx512dqintrin.h - AVX512DQ intrinsics ---------------------------=== * * 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 rig...
/* * 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) 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_EXTENSION_INSTALL_PROMPT_H_ #define CHROME_BROWSER_EXTENSIONS_EXTENSION_INSTALL_PROMPT_H_ #include <string> #includ...
/* * Copyright (C) the libgit2 contributors. All rights reserved. * * This file is part of libgit2, distributed under the GNU GPL v2 with * a Linking Exception. For full terms see the included COPYING file. */ #ifndef INCLUDE_sys_git_index_h__ #define INCLUDE_sys_git_index_h__ /** * @file git2/sys/index.h * @br...
#ifndef __PART_H_ #define __PART_H_ #include "Global.h" class Geometry; typedef System::SmartPtr < Geometry > GeometryPtr; class Part { public: Part(); ~Part(){} void setGeometry(const GeometryPtr& geometry); Geometry& getGeometry(); void setPosition(const FVector3& position); FVector3 getPosition(); vo...
#pragma once #include <ATen/cudnn/cudnn-wrapper.h> #include <ATen/cuda/ATenCUDAGeneral.h> namespace at { namespace native { TORCH_CUDA_CPP_API cudnnHandle_t getCudnnHandle(); }} // namespace at::native
#include "../private_api.h" #include <ctype.h> /* Utilities for C++ API */ #ifdef FLECS_CPP /* Convert compiler-specific typenames extracted from __PRETTY_FUNCTION__ to * a uniform identifier */ #define ECS_CONST_PREFIX "const " #define ECS_STRUCT_PREFIX "struct " #define ECS_CLASS_PREFIX "class " #define ECS_ENUM...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <objc/NSObject.h> @interface TBJSONModel : NSObject { _Bool _treatBoolAsStringWhenModelToJSON; } + (_Bool)strictMode; + (...
/* SPDX-License-Identifier: GPL-2.0 */ /* * S390 version * * Derived from "include/asm-i386/elf.h" */ #ifndef __ASMS390_ELF_H #define __ASMS390_ELF_H /* s390 relocations defined by the ABIs */ #define R_390_NONE 0 /* No reloc. */ #define R_390_8 1 /* Direct 8 bit. */ #define R_390_12 2 /* Direct 12 bit. ...
// // AddressEditInputTableViewCell.h // GKCommerce // // Created by 小悟空 on 14/11/7. // Copyright (c) 2014年 GKCommerce. All rights reserved. // #import <UIKit/UIKit.h> #import "GKAddressCommon.h" @interface AddressEditInputTableViewCell : UITableViewCell @property (strong, nonatomic) IBOutlet UITextField *inputT...
// File: crn_decomp.h - Fast CRN->DXTc texture transcoder header file library // Copyright (c) 2010-2012 Rich Geldreich and Tenacious Software LLC // See Copyright Notice and license at the end of this file. // // This single header file contains *all* of the code necessary to unpack .CRN files to raw DXTn bits. // It ...
/* * Copyright (c) 2010-2011 Juli Mallett. 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 cond...
/* * BSD 3-Clause License * * Full text: https://opensource.org/licenses/BSD-3-Clause * * Copyright (c) 2018, Viktor Seib * All rights reserved. * */ #ifndef ISM3D_FEATURESSHOT_H #define ISM3D_FEATURESSHOT_H #include "features.h" namespace ism3d { /** * @brief The FeaturesSHOT class * Computes ...
// -*- C++ -*- // Automatically generated from /Users/nanjiang/Documents/dev/projects/Blockchain/Trust/trust-wallet-core/src/Stellar/xdr/Stellar-types.x. // DO NOT EDIT or your changes may be overwritten #ifndef __XDR_STELLAR_TYPES_HH_INCLUDED__ #define __XDR_STELLAR_TYPES_HH_INCLUDED__ 1 #include "../xdrpp/types.h" ...
#ifndef STUDENTRECORD_H #define STUDENTRECORD_H #include <iostream> #include <string> struct StudentRecord { bool operator!=(const StudentRecord &rh) const { return score != rh.score; } int score; std::string *name; }; inline std::ostream &operator<<(std::ostream &out, const StudentRecord &...
/** * @file parallel_sort.h * @date Tue Mar 31 17:01:58 2015 * * @brief Parallel sort */ #pragma once #include "util/shared_array.h" namespace PS { namespace { /// @brief the thread function template<typename T, class Fn> void ParallelSort(T* data, size_t len, size_t grainsize, const Fn& cmp) { if (len <=...