text
stringlengths
9
948k
/* * Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 ...
/* * Copyright (c) 2017 Cisco and/or its affiliates. * 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 applicabl...
/*This file is part of the FEBio Studio source code and is licensed under the MIT license listed below. See Copyright-FEBio-Studio.txt for details. Copyright (c) 2020 University of Utah, The Trustees of Columbia University in the City of New York, and others. Permission is hereby granted, free of charge, to any per...
// // CAKeyframeAnimation+AHEasing.h // // Copyright (c) 2011, Auerhaus Development, LLC // // This program is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it // and/or modify it under the terms of the Do What The Fuck You Want // To Public Licen...
/* crypto/bio/bss_sock.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * * This package is an SSL implementation written * by Eric Young (eay@cryptsoft.com). * The implementation was written so as to conform with Netscapes SSL. * * This library is free for commercial and non...
/* Copyright (c) 2011 Arduino. 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 (at your option) any later version. This ...
// ------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License (MIT). See License.txt in the repo root for license information. // ------------------------------------------------------------ #pragma once namespace Common...
/* * Copyright (c) 2005-2014 Rich Felker, et al. * Copyright (c) 2015-2016 HarveyOS et al. * * Use of this source code is governed by a MIT-style * license that can be found in the LICENSE.mit file. */ #include <locale.h> #include <stdlib.h> #include <string.h> #include "locale_impl.h" #include "libc.h" static ...
/***********************license start*************** * Copyright (c) 2003-2011 Cavium Inc. (support@cavium.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: * * * Redistributio...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:53:04 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/VoiceServices.framework/Support/libvoiced_tts.dylib * classdump-dyld is licensed under GPLv3, Copyri...
/** * $Id: memtest.c 36276 2011-04-21 15:53:30Z campbellbarton $ * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 2 * of the License,...
/**************************************************************************//** * @file efr32fg13p_acmp.h * @brief EFR32FG13P_ACMP register and bit field definitions * @version 5.2.1 ****************************************************************************** * # License * <b>Copyright 2017 Silicon Laboratories...
#ifndef ZUTIL_H_ #define ZUTIL_H_ /* zutil.h -- internal interface and configuration of the compression library * Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler * For conditions of distribution and use, see copyright notice in zlib.h */ /* WARNING: this file should *not* be used by applications. It is part...
/** * FreeRDP: A Remote Desktop Protocol Implementation * Smart Card Structure Packing * * Copyright 2014 Marc-Andre Moreau <marcandre.moreau@gmail.com> * Copyright 2015 Thincast Technologies GmbH * Copyright 2015 DI (FH) Martin Haimberger <martin.haimberger@thincast.com> * Copyright 2020 Armin Novak <armin.nova...
/* * Copyright 2015-present Facebook, 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 a...
// RUN: %clang_cc1 -fsyntax-only -verify %s // // This file contains typo correction tests which hit different code paths in C // than in C++ and may exhibit different behavior as a result. __typeof__(struct F*) var[invalid]; // expected-error-re {{use of undeclared identifier 'invalid'{{$}}}} void PR21656() { flo...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-2016 Facebook, Inc. (http://www.facebook.com) | +---------...
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ /* * Copyright (c) 2008 INRIA * * 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 is distributed...
/*- * Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * not...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1985 Thomas L. Quarles **********/ /* actually load the current inductance value into the * sparse matrix previously provided */ #include "ngspice/ngspice.h" #include "ngspice/cktdefs.h" #include "inddefs.h" #include "...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_AGENT_HOST_IMPL_H_ #include <stdint.h> #inclu...
/* * File : fal.h * This file is part of FAL (Flash Abstraction Layer) package * COPYRIGHT (C) 2006 - 2018, RT-Thread Development Team * * 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 Founda...
//========================================================================= // Copyright (c) Kitware, Inc. // All rights reserved. // See LICENSE.txt for details. // // This software is distributed WITHOUT ANY WARRANTY; without even // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR // PURPOSE...
#ifndef _LIBSNMP_H_ #define _LIBSNMP_H_ #ifdef __cplusplus extern "C" { #endif /* * Definitions for the Simple Network Management Protocol (RFC 1067). * */ /********************************************************************** * * Copyright 1998 by Carnegie Mellon University ...
#ifndef CANCONCONST_H #define CANCONCONST_H namespace CANCon { /** * @brief The status enum */ enum status { NOT_CONNECTED, /*!< device is not connected */ CONNECTED /*!< device is connected */ }; enum type { GVRET_SERIAL, KVASER, SERIA...
// // FirstView.h // KNewbieGuide // // Created by 陈世翰 on 2018/1/15. // Copyright © 2018年 Kuah. All rights reserved. // #import <UIKit/UIKit.h> #import "KNewbieGuide.h" @interface FirstView : UIView<KNewbieGuideDelegate> /** * <#decr#> */ @property (nonatomic,strong)UIButton *button; @end
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrContextFactory_DEFINED #define GrContextFactory_DEFINED #include "GrContext.h" #include "GrContextOptions.h" #include "gl/GLTestContext.h" #include "vk/VkTestConte...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:39:40 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/Frameworks/CoreLocation.framework/CoreLocation * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elia...
// This file contains definitions for the // x86 memory management unit (MMU). // Eflags register #define FL_CF 0x00000001 // Carry Flag #define FL_PF 0x00000004 // Parity Flag #define FL_AF 0x00000010 // Auxiliary carry Flag #define FL_ZF 0x00000040 // Zero ...
/* Copyright 2022 Alejandro Cosin & Gustavo Patow 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 writ...
#ifndef RECTIFICATION_H #define RECTIFICATION_H #include <opencv2/calib3d/calib3d.hpp> #include <opencv2/imgproc/imgproc.hpp> #include <opencv2/highgui/highgui.hpp> #include <string> class Rectification { public: Rectification( std::string intrinsic_filename, std::string extrinsic_filename ); bool initialize( ...
@class HEROBaseRouter,DEMONotePonso; @protocol DEMONotesRouterInput <NSObject> @end @protocol DEMONotesRouterOutput <NSObject> @end @protocol DEMONotesWorkflowInput <NSObject> @end @protocol DEMONotesUsecaseOutput <NSObject> -(void)updateWithNotes:(NSArray <DEMONotePonso*>*)notes; @end @protocol DEMONotesUsecaseIn...
// Copied from Yosemite SDK: // /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h /* File: HIToolbox/Events.h Contains: Event Manager Interfaces. Version: HIToolbox-463~1 Copyright: © 1985-2008 by Apple Computer, Inc., all rights res...
/** ****************************************************************************** * @file QSPI/QSPI_ReadWrite_DMA/Src/stm32f4xx_hal_msp.c * @author MCD Application Team * @brief HAL MSP module. ****************************************************************************** * @attention * * <h2><ce...
/* * Copyright (c) 2015 Intel Corporation * * 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 ...
// // Created by sebastiano on 15/08/16. // #ifndef ORB_SLAM2_IMAPRENDERER_H #define ORB_SLAM2_IMAPRENDERER_H #include <pangolin/pangolin.h> class IMapRenderer { virtual void GetCurrentOpenGLCameraMatrix(pangolin::OpenGlMatrix &M) = 0; }; #endif //ORB_SLAM2_IMAPRENDERER_H
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * 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 2 * of the License, or (at your option) any later version. * * This program is ...
/* * This file belongs to the Galois project, a C++ library for exploiting parallelism. * The code is being released under the terms of the 3-Clause BSD License (a * copy is located in LICENSE.txt at the top-level directory). * * Copyright (C) 2018, The University of Texas at Austin. All rights reserved. * UNIVER...
/* * Copyright 2011 The Stochastico Project * * 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...
// Copyright 2017 Google 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 in ...
#include "cerberus.h" int f (void) { int j = 1; long i; i = 0x60000000L; do { j <<= 1; i += 0x10000000L; } while (i < -0x60000000L); return j; } int main (void) { if (f () != 2) abort (); exit (0); }
/* * Copyright (c) 2011 Samsung Electronics Co., Ltd. * http://www.samsung.com * * Common Header for EXYNOS machines * * 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. */ #if...
/* * * Copyright (c) 2020 Project CHIP 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 copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless requir...
/* * Copyright (C) 2014 The Android Open Source Project * * 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 app...
/** * \file * * \brief This file contains the default exception handlers. * * Copyright (c) 2011-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 wit...
// // Copyright 2013-2014 Yummy Melon Software LLC // // 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 la...
/* * Copyright (c) 2021 Mellanox Technologies. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #include "oshmem_config.h" #include "opal/util/show_help.h" #include "opal/util/timings.h" #include "oshmem/proc/proc.h" #include "oshmem/runtime/runtime.h" #include "oshmem/mc...
#pragma once #include <platform/isound.h> #import <AVFoundation/AVFoundation.h> class ios_sound : public isound { public: ios_sound(); ~ios_sound() override; void play_music(const std::string& music) override; void stop_music() override; void play_sound(const std::string& sound) override; priva...
/* * DFS - Dynamic Frequency Selection * Copyright (c) 2002-2013, Jouni Malinen <j@w1.fi> * Copyright (c) 2013-2017, Qualcomm Atheros, Inc. * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #include "utils/includes.h" #include "utils/common.h" #include "...
// // JMAppDelegate.h // JMStatefulTableViewControllerDemo // // Created by Jake Marsh on 5/3/12. // Copyright (c) 2012 Jake Marsh. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* * Copyright (C) 2008 The Android Open Source Project * * 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 app...
// // TSTAnimator.h // TecentSportTransition // // Created by pantosoft on 2018/11/8. // Copyright © 2018年 jianghongbing. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface TSTAnimator : NSObject <UIViewControllerAnimatedTransitioning> - (instancetype)initWithDuration:(NSTimeInterv...
// // NetworkCenter.h // PigLibrary // // Created by Mahipal Raythattha on 11/13/09. // Copyright 2009. All rights reserved. // #import <Foundation/Foundation.h> #define kEnableJsonParsing 0 @protocol NetworkCenterDelegate <NSObject> @optional - (void) connectionReturnedJson: (NSDictionary *) return_dictionary...
/**************************************************************************** ** ** Copyright (C) 2014 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:LGPL21$ ** Commercial License Usage ** Licensee...
// Copyright (C) 2008 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_DRAW_IMAGe_ #define DLIB_DRAW_IMAGe_ #include "draw_abstract.h" #include "../algs.h" #include "../pixel.h" #include "../matrix.h" #include <cmath> namespace dlib { // --------...
#pragma once #include "Const.h" #include "ConstPack.h" #include "StaticErrorExpr.h" #include "same.h" #include <cstddef> // size_t namespace meta17 { /// return number of values in ConstPack template<class CP> constexpr auto const_count = META17_STATIC_ERROR_EXPR(size_t, "nothing to count"); template<auto... Vs> c...
#pragma once #include <Vector.h> class Camera { public: Camera(); Matrix4 InverseProjection() const; Matrix4 Matrix() const; void SetSize(int w, int h, float n, float f); void SetPositionOrientation(const Vector3& pos, float rotX, float rotY); void UseViewport() const; void ClipOblique(const Vector3...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, // but are changed infrequently #pragma once #define NO_XRNEW #include <afxwin.h> // MFC core and standard components #include <afxext.h> // MFC extensions #include <afxtempl.h>...
// // NSString+Language.h // QExtension // // Created by JHQ0228 on 2017/4/2. // Copyright © 2017年 QianQian-Studio. All rights reserved. // #import <Foundation/Foundation.h> NS_ASSUME_NONNULL_BEGIN @interface NSString (Language) /** * 获取本机现在用的语言 * * zh-Hans :简体中文 * zh-Hant :繁体中文 * en ...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once #include "Toolkits/AssetEditorManager.h" #include "ITranslationEditor.h" #include "CustomFontColumn.h" #include "TranslationUnit.h" #include "ILocalizationServiceProvider.h" #include "LocalizationConfigurationScript.h" class TRANSLATIONEDITOR_...
#pragma once #include "il2cpp.h" void System_Action_Detail_Ranking_RankingCachedResultInt____ctor (System_Action_Detail_Ranking_RankingCachedResultInt__o* __this, Il2CppObject* object, intptr_t method, const MethodInfo* method_info); void System_Action_Detail_Ranking_RankingCachedResultInt___Invoke (System_Action_Det...
#ifndef _STAGE_0061_H_ #define _STAGE_0061_H_ #undef XSCALE #undef YSCALE #undef XOFF #undef YOFF #define XSCALE 1.200 #define YSCALE 0.600 #define XOFF 0.000 #define YOFF -0.300 static stage_t stage_0061 __attribute__((unused)) = { .closed = 1, .num_coords = 13, .coords = { 0.0000 * XSCALE + XOFF, 0.6...
#ifndef KALUGA_H_ #define KALUGA_H_ #include <barrelfish/barrelfish.h> #include <octopus/octopus.h> #include "queue.h" #include "debug.h" #define BSP_CORE_ID 0 extern coreid_t my_core_id; extern uint32_t my_arch_id; extern struct pci_address eth0; extern char **environ; #include "boot_modules.h" #include "start_pc...
//================================================================================================= /*! // \file blaze/math/typetraits/HasClamp.h // \brief Header file for the HasClamp type trait // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You ca...
/* For copyright information, see olden_v1.0/COPYRIGHT */ /* * VECTMATH.H: include file for vector/matrix operations. * Copyright (c) 1991, Joshua E. Barnes, Honolulu, HI. * It's free because it's yours. */ #ifndef THREEDIM # ifndef TWODIM # ifndef NDIM # define THREEDIM # endif # endif #endif ...
#include <dsverifier.h> digital_system controller = { .b = { 2.72f, -4.153f, 1.896f }, .b_size = 3, .a = { 1.0f, -1.844f, 0.8496f}, .a_size = 3, .sample_time = 0.2 }; implementation impl = { .int_bits = 3, .frac_bits = 16, .max = 1.0, .min = -1.0...
/* * Copyright (C) 2015 The Android Open Source Project * * 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 app...
// 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. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #ifndef V8DataTransfer_h #define V8DataTransfer_h #include "bindings/v8/V8B...
// Copyright (c) 2014-2015 The ShadowCoin developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef SEC_MESSAGE_H #define SEC_MESSAGE_H #include <leveldb/db.h> #include <leveldb/write_batch.h> #include "net.h" #in...
#pragma once #include "Graphics/API/DescriptorSet.h" namespace Lumos { namespace Graphics { class GLDescriptorSet : public DescriptorSet { public: GLDescriptorSet(const DescriptorInfo& info); ~GLDescriptorSet() {}; void Update(std::vector<ImageInfo...
/*------------------------------------------------------------------------- * * fastpath.h * * * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/tcop/fastpath.h * *-------------------------------------...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 1:11:59 AM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 ...
@interface UADSApiRequest : NSObject + (NSArray<NSArray<NSString*>*> *)getHeadersArray:(NSDictionary<NSString*,NSString*> *)headersMap; + (NSDictionary<NSString*,NSArray*> *)getHeadersMap:(NSArray *)headers; @end
// // AppDelegate.h // KDProductTool.h // // Created by 啦啦啦 on 2017/9/10. // Copyright © 2017年 啦啦啦. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
// // Generated by classdumpios 1.0.1 (64 bit) (iOS port by DreamDevLost)(Debug version compiled Sep 26 2020 13:48:20). // // Copyright (C) 1997-2019 Steve Nygard. // #import "DownloadDataConsumer.h" @class NSArray, NSString; @interface FilesystemDownloadDataConsumer : DownloadDataConsumer { long long _byte...
// // Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2021 // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #pragma once #include "td/telegram/AccessRights.h" #include ...
#ifndef _READJOINSESSIONDTO_H_ #define _READJOINSESSIONDTO_H_ #include <string> class ReadJoinSessionDto { public: ReadJoinSessionDto() : _retStatus(999) { } ReadJoinSessionDto( int inRetStatus) : _retStatus(inRetStatus) { } ReadJoinSessionDto( int inRetStatus, std::string inSessionName) : _sess...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/wellarchitected/WellArchitected_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace Utils { namespace Json { class Js...
/*! \file gklib.c \brief Various helper routines generated using GKlib's templates \date Started 4/12/2007 \author George \author Copyright 1997-2009, Regents of the University of Minnesota \version\verbatim $Id: gklib.c 10395 2011-06-23 23:28:06Z karypis $ \endverbatim */ #include "metislib.h" /************...
// Copyright (c) 2011-2016 The Cryptonote developers // Copyright (c) 2018-2021 The Cash2 developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include "crypto/crypto-ops-data.c"
// 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 IPC_MESSAGE_FILTER_H_ #define IPC_MESSAGE_FILTER_H_ #include <stdint.h> #include <vector> #include "base/memory/ref_counted.h" #include "ipc/ip...
#pragma once namespace Dymatic { enum class ShaderDataType { None = 0, Float, Float2, Float3, Float4, Mat3, Mat4, Int, Int2, Int3, Int4, Bool }; static uint32_t ShaderDataTypeSize(ShaderDataType type) { switch (type) { case ShaderDataType::Float: return 4; case ShaderDataType::Float2: return 4 * 2;...
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "GpuEvent.h" #include "ICommandRecorder.h" #include "DmlCommandRecorder.h" namespace Dml { class CommandQueue; // Asynchronously performs GPU work, and automatically manages command list rec...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:43:49 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/Symptoms.framework/Frameworks/SymptomEvaluator.framework/SymptomEvaluator * classdump-dyld is licens...
/************************************************************************* Copyright (c) 2003-2007 Cavium Networks (support@cavium.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: * Redistrib...
#include <errno.h> #include <math.h> #include <pthread.h> #include <stdbool.h> #include <stdlib.h> #include <stdio.h> #include <string.h> #include <sys/time.h> #include <unistd.h> #include "primelib.h" #include "restart.h" #include "uici.h" #define MILLION 1000000L int adder = 0; long long increase = -1; int mutex = 1...
// SPDX-License-Identifier: GPL-2.0-only /* Copyright (c) 2017 Covalent IO, Inc. http://covalent.io */ #include <linux/bpf.h> #include <linux/if_link.h> #include <assert.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <stdbool.h> #include <string.h> #include <net/if.h> #includ...
/////////////////////////////////////////////////////////////////////////////// // Name: wx/osx/private/addremovectrl.h // Purpose: OS X specific wxAddRemoveImpl implementation // Author: Vadim Zeitlin // Created: 2015-02-05 // Copyright: (c) 2015 Vadim Zeitlin <vadim@wxwidgets.org> // Licence: ...
// SPDX-License-Identifier: GPL-2.0+ // Copyright (c) 2016-2017 Hisilicon Limited. #include <linux/etherdevice.h> #include <linux/string.h> #include <linux/phy.h> #include "hns3_enet.h" struct hns3_stats { char stats_string[ETH_GSTRING_LEN]; int stats_offset; }; /* tqp related stats */ #define HNS3_TQP_STAT(_stri...
#include <ccan/opt/opt.h> #include <lightningd/options.h> #include <lightningd/plugin_control.h> #include <lightningd/plugin_hook.h> #include <sys/stat.h> #include <sys/types.h> /* A dummy structure used to give multiple arguments to callbacks. */ struct dynamic_plugin { struct plugin *plugin; struct command *cmd; }...
inherit ROOM; void create() { set("short", "玄冥峰山脚"); set("long", @LONG 这是玄冥峰山脚,再往前走就是玄冥谷了。四周树木葱绿,绿草深 长。山鸡野兔肆意奔跑。 LONG ); set("exits", ([ "eastdown" : __DIR__"xiaolu1", "northwest" : __DIR__"shanlu1", ])); set("outdoors", "xuanming"); setup(); replace_program(ROOM); }
/** * 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...
// ============================================================== // RTL generated by Vivado(TM) HLS - High-Level Synthesis from C, C++ and SystemC // Version: 2019.1 // Copyright (C) 1986-2019 Xilinx, Inc. All Rights Reserved. // // =========================================================== #ifndef _dct_HH_ #define...
/*------------------------------------------------------------------------- * * syslogger.c * * The system logger (syslogger) appeared in Postgres 8.0. It catches all * stderr output from the postmaster, backends, and other subprocesses * by redirecting to a pipe, and writes it to a set of logfiles. * It's possi...
/*========================================================================= Program: ParaView Module: pqOrbitCreatorDialog.h Copyright (c) 2005,2006 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ...
/* This program computes the Bernoulli numbers. * See radd.c for rational arithmetic. */ typedef struct{ double n; double d; }fract; #define PD 44 fract x[PD+1] = {0.0}; fract p[PD+1] = {0.0}; #include "mconf.h" #ifdef ANSIPROT extern double fabs ( double ); extern double log10 ( double ); #else double fabs(), l...
/****************************************************************************** * Code generated with sympy 0.7.6 * * * * See http://www.sympy.org/ for more information. * ...
#include<stdio.h> int main(void){ switch(sizeof(void*)){ case 4: printf("32\n"); break; case 8: printf("64\n"); break; } }
#include "main.h" _FUNCTION_DECLARATION_BEGIN_ void work_disembl(profile_t* profile, int position) _FUNCTION_DECLARATION_END_ { char* name; float treshold; row_t row; int row_number; char aa; float probability[3]; region_t region; int region_start; int region_end; switch(position) { case 1: ...
/** * This version is stamped on May 10, 2016 * * Contact: * Louis-Noel Pouchet <pouchet.ohio-state.edu> * Tomofumi Yuki <tomofumi.yuki.fr> * * Web address: http://polybench.sourceforge.net */ /* doitgen.c: this file is part of PolyBench/C */ #include <stdio.h> #include <unistd.h> #include <string.h> #incl...