text
stringlengths
9
948k
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220131.2 #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_1_H #define WINRT_Windows_UI_Xaml_Automation_1_H #include "winrt/impl/Windows.UI.Xaml.Automation.0.h" WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation { struct __dec...
/*========================================================================= * * 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...
//------------------------------------------------------------------------------ // GB_AxB_defs__min_max_int32: definitions for a single semiring //------------------------------------------------------------------------------ // SuiteSparse:GraphBLAS, Timothy A. Davis, (c) 2017-2021, All Rights Reserved. // SPDX-Lice...
/* gtktoggletoolbutton.c * * Copyright (C) 2002 Anders Carlsson <andersca@gnome.org> * Copyright (C) 2002 James Henstridge <james@daa.com.au> * * 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 ...
/* * Copyright (C) 2015-2017 Alibaba Group Holding Limited */ #include "k_api.h" #include "hal/soc/soc.h" #include "nrf.h" #include "nrf_soc.h" #include "nordic_common.h" #include "nrf_fstorage.h" #include "nrf_drv_clock.h" #include "nrf_fstorage_nvmc.h" #define ROUND_DOWN(a,b) (((a) / (b)) * (b)) #define FLASH_AL...
/* Copyright (c) 1996 X Consortium 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 rights to use, copy, modify, merge, publish, distribute, s...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2017-2019 The WaykiChain Developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef ENTITIES_ACCOUNT_H #define ENTITIES_ACCOUNT_H #include <functional> #...
////////////////////////////////////////////////////////////////////////// // // Copyright (c) 2011, Image Engine Design 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: // // * Re...
/* * Copyright (C) Alex Nekipelov (alex@nekipelov.net) * License: MIT */ #ifndef HSERV_HTTPSERVERIMPL_H #define HSERV_HTTPSERVERIMPL_H #include <string> #include <boost/function.hpp> #include <boost/asio/ssl/context.hpp> #include <boost/asio/ssl/stream.hpp> #include <boost/asio/io_service.hpp> #include <hserv/imp...
/************************************************************\ * Copyright 2018 Jim Garlick <garlick.jim@gmail.com> * (c.f. COPYING) * * This file is part of BREWCOP, a coffee pot monitor. * For details, see https://github.com/garlick/brewcop. * * SPDX-License-Identifier: BSD-3-Clause \**************************...
#ifndef GOAL_H #define GOAL_H #include "mgldraw.h" #include "guy.h" void PrintGoalInfo(int x,int y,byte goal); void GoalKilledSomebody(Guy *g,byte type,byte frozen); TASK(void) ShowGoalEarned(byte num); void GoalTallyPage(int score,byte perfect,byte destruct,int time); void GoalTimeDist(void); void GoalPurchase(void)...
#include "vntlib.h" KEY uint128 count = 0; EVENT EVENT_GETFINALCOUNT(uint256 count); constructor While4(){ } MUTABLE uint128 test1(uint256 res) { EVENT_GETFINALCOUNT(count); while(count < res) { count += 2; } return count } UNMUTABLE uint128 getFinalCount() { uint128 x = 1000; uin...
// // TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. // All rights reserved. See LICENSE.txt for license. // #ifndef MATERIALX_GLTEXTUREHANDLER_H #define MATERIALX_GLTEXTUREHANDLER_H /// @file /// OpenGL texture handler #include <MaterialXRender/Handlers/ImageHandler.h> namespace MaterialX {...
/* sys_sparc32.c: Conversion between 32bit and 64bit native syscalls. * * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1997, 2007 David S. Miller (davem@davemloft.net) * * These routines maintain argument size conversion between 32bit and 64bit * environment. */ #include <linux...
#ifndef C0P_PARAM_OBJECTS_SURFER__US_0O1__SURFTIMEPREFACTOR_0O25_GROUP_HOMOGENEOUS_MEMBER_AGENT_BEHAVIOUR_SENSOR_DIRECTION_ACCURATE_PARAMETERS_H #define C0P_PARAM_OBJECTS_SURFER__US_0O1__SURFTIMEPREFACTOR_0O25_GROUP_HOMOGENEOUS_MEMBER_AGENT_BEHAVIOUR_SENSOR_DIRECTION_ACCURATE_PARAMETERS_H #pragma once // app includes ...
// This file was generated by createCFunction.sci on 03-03-2017 01:17 // Computational function for X2C block Real2Int #define SCILAB_SIM_FILE /* mark this file as Scilab simulation file */ /* include Scicos / Xcos headers */ #include <scicos.h> #include <scicos_block4.h> #include <scicos_malloc.h> #include <scicos_...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE546_Suspicious_Comment__BUG_14.c Label Definition File: CWE546_Suspicious_Comment.label.xml Template File: point-flaw-14.tmpl.c */ /* * @description * CWE: 546 Suspicious Comment * Sinks: BUG * GoodSink: Comments show no indications of bugs * BadSink : Comment...
// // ResourceManager-Bridging-Header.h”.h // ResourceManager // // Created by 李智慧 on 29/03/2017. // Copyright © 2017 北京海睿兴业. All rights reserved. // #import <AMapFoundationKit/AMapFoundationKit.h> #import <AMapSearchKit/AMapSearchKit.h> #import <MAMapKit/MAMapKit.h> #import <AMapLocationKit/AMapLocationKit.h> #im...
//===--- ClangdUnit.h --------------------------------------------*- C++-*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
// Copyright (C) 2008-2011 JWmicro. 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 conditions and the...
/** * \file * * \brief Component description for OSCCTRL * * Copyright (c) 2019 Microchip Technology Inc. * * \asf_license_start * * \page License * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance wi...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2006-2008 Benoit Jacob <jacob.benoit.1@gmail.com> // Copyright (C) 2008-2010 Gael Guennebaud <gael.guennebaud@inria.fr> // // This Source Code Form is subject to the terms of the Mozilla // Public License v. 2.0...
#include <stdio.h> #include <math.h> int main() { int l, c, r1, r2; while(scanf("%d %d %d %d", &l, &c, &r1, &r2) && (l || c || r1 || r2)) r1 * 2 <= l && r1 * 2 <= c && r2 * 2 <= l && r2 * 2 <= c && sqrt(pow((r1 - (c - r2)), 2) + pow(((l - r1) - r2), 2)) >= (r1 + r2) ? printf("S\n") : printf("N\n"); ...
// Copyright (c) 2020 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 QUICHE_QUIC_CORE_TLS_CHLO_EXTRACTOR_H_ #define QUICHE_QUIC_CORE_TLS_CHLO_EXTRACTOR_H_ #include <memory> #include <string> #include <vector> #...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:36:16 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/CoreMotion.framewo...
/* * Copyright © 2017 Intel Corporation * * 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 rights to use, copy, modify, merge, pub...
/* * webutlcmd.h -- * nca-073-9 * * Copyright (c) 1996-2000 by Netcetera AG. * Copyright (c) 2001 by Apache Software Foundation. * All rights reserved. * * See the file "license.terms" for information on usage and * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. * * @(#) $Id: webutlcmd...
/* * modified for EXT2FS support in Lites 1.1 * * Aug 1995, Godmar Back (gback@cs.utah.edu) * University of Utah, Department of Computer Science */ /* * Copyright (c) 1982, 1986, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, ...
// Copyright (c) 2018 The Dash Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef DMS_EVODB_H #define DMS_EVODB_H #include "dbwrapper.h" #include "sync.h" #include "uint256.h" static const std::string EVOD...
/* * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <assert.h> #include <errno.h> #include <arch_helpers.h> #include <common/debug.h> #include <common/desc_image_load.h> #include <lib/optee_utils.h> /* * load_addr_hi and load_addr_lo:...
/**************************************************************************************** Copyright (C) 2015 Autodesk, Inc. All rights reserved. Use of this software is subject to the terms of the Autodesk license agreement provided at the time of installation or download, or which otherwise accompanies...
#ifndef CGExtras_h #define CGExtras_h #include <CoreGraphics/CoreGraphics.h> CGPoint CGPointAddPoints(CGPoint point1, CGPoint point2); CGPoint CGPointSubtractPoints(CGPoint point1, CGPoint point2); CGPoint CGPointDivide(CGPoint point, CGFloat amount); CGPoint CGPointQuantize(CGPoint point); CGFloat CGFloatClamp(CGFlo...
/* * Copyright 2002-2003 Jason Edmeades * Copyright 2002-2003 Raphael Junqueira * Copyright 2005 Oliver Stieber * Copyright 2007-2008 Stefan Dösinger for CodeWeavers * Copyright 2011 Henri Verbeet for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of th...
//***************************************************************************** // // bl_config.h - The configurable parameters of the boot loader. // // Copyright (c) 2012-2017 Texas Instruments Incorporated. All rights reserved. // Software License Agreement // // Texas Instruments (TI) is supplying this software f...
// // project: ptool // filename: argumentI.h // #ifndef PTOOL_ARGUMENTI_H #define PTOOL_ARGUMENTI_H #include <memory> #include <string> #include <string_view> #include <vector> #include <variant> #include <tuple> namespace ptool::config { class ArgumentI { public: class ArgumentCharacteristics { private: ...
#pragma once #include <ATen/ATen.h> #include <torch/csrc/python_headers.h> #include <torch/csrc/utils/python_numbers.h> #include <torch/csrc/Exceptions.h> namespace torch { namespace utils { inline void store_scalar(void* data, at::ScalarType scalarType, PyObject* obj) { switch (scalarType) { case at::kByte: ...
/* InterfaceGeom.c */ /********************************************************************************************************** Copyright (c) 2002-2013 Abdul-Rahman Allouche. All rights reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation...
// -------------------------------------------------------------------------- // OpenMS -- Open-Source Mass Spectrometry // -------------------------------------------------------------------------- // Copyright The OpenMS Team -- Eberhard Karls University Tuebingen, // ETH Zurich, and Freie Universit...
#pragma once #include "stdafx.h" #include "ComHelp.h" #include "GMECOM.h" #include "UdmBase.h" #include <string> #include "GMEVersion.h" #if GME_VERSION_MAJOR >= 11 #include "Gme.h" #endif namespace GMEConsole { class Console { friend class RawComponent; #if GME_VERSION_MAJOR <= 10 && GME_VERSION_MINOR <= 2 pri...
// Lean compiler output // Module: Lean.Elab.Mixfix // Imports: Init Lean.Elab.Attributes #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG__) #pragma GCC diagnostic ignored "-...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * ...
/* * WaveLAN ISA driver * * Jean II - HPLB '96 * * Reorganisation and extension of the driver. * * This file contains all definitions and declarations necessary for the * WaveLAN ISA driver. This file is a private header, so it should * be included only in wavelan.c! */ #ifndef WAVELAN_P_H #define WAVELAN_...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE127_Buffer_Underread__wchar_t_declare_loop_67a.c Label Definition File: CWE127_Buffer_Underread.stack.label.xml Template File: sources-sink-67a.tmpl.c */ /* * @description * CWE: 127 Buffer Under-read * BadSource: Set data pointer to before the allocated memory buffe...
/* * Copyright 2004-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/** * \file * * \brief Instance description for SERCOM1 * * Copyright (c) 2018 Microchip Technology Inc. * * \asf_license_start * * \page License * * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); you may * not use this file except in compliance wit...
#ifndef _UDP_SCAN_H #define _UDP_SCAN_H #include "dhcpc.h" #include "modbus.h" void udp_scan_init(void) ; void udp_appcall(void) ; void dhcpc_configured(const struct dhcpc_state *s); #define UIP_UDP_APPCALL udp_appcall extern volatile u8 IP_Change ; void UdpData(u8 type) ; extern u8 update ; #e...
#include <stdio.h> float compute(float num_1, float num_2); int main(void) { float num_1; float num_2; printf("Enter two numbers: "); while(scanf("%f %f",&num_1,&num_2)==2) { printf("%f\n", compute(num_1, num_2)); } return 0; } float compute(float num_1, float num_2) { return (num_1-num_2)/num_...
/* * Copyright (c) 2011, National Survey and Cadastre, Denmark * (Kort- og Matrikelstyrelsen), kms@kms.dk * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in a...
#ifndef SCHEMAVALIDATIONTEST_H #define SCHEMAVALIDATIONTEST_H #include <QtTest> class SchemaValidationTest : public QObject { Q_OBJECT QStringList files; public: SchemaValidationTest(const QStringList& testDataFiles); private slots: void test_data(); void test(); }; #endif // SCHEMAVALIDATIONTEST_H
/* * Copyright (c) 2016, Yasuyuki Tanaka * Copyright (c) 2016, Centre for Development of Advanced Computing (C-DAC). * 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 ...
#ifndef ELDTARGETMANAGER_H #define ELDTARGETMANAGER_H #include "map.h" #include "hashedstring.h" class IRenderer; class IRenderTarget; class EldTargetManager { public: EldTargetManager( IRenderer* const pRenderer ); ~EldTargetManager(); void CreateTargets( const uint DisplayWidth, const uint DisplayHeight ); vo...
/* No copyright is claimed in the United States under Title 17, U.S. Code. All Other 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 Software without restriction, including without limitat...
// // 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 "DMDTaskOperation.h" @interface DMDRemoveProvisioningProfileOperation : DMDTaskOperation { } + (_Bool)validateRequest:(id)arg1 error:(id ...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE.md file in the project root for full license information. // #pragma once #include "stdafx.h" #include "CNTKLibrary.h" #include "Utils.h" #include "ReaderShim.h" #include "DataReader.h" namespace CNTK { class Compo...
// NOTE: This file was generated by the ServiceGenerator. // ---------------------------------------------------------------------------- // API: // Service Management API (servicemanagement/v1) // Description: // Google Service Management allows service producers to publish their // services on Google Cloud Pla...
#include "incs.h" #if defined(__OpenBSD__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__ANDROID__) #include <sys/socket.h> #include <netinet/in.h> #endif #include <sys/time.h> #include "km.h" #include "r.h" #include "va.h" #include "vf.h" #include "vg.h" #include "kbuild.h" #ifdef WIN32 #include "w...
/* * Copyright (c) 2016, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. */ #ifndef FATAL_...
/* * Copyright (c) 2016-2019, The University of Oxford * 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 ...
/* This file is a part of libcds - Concurrent Data Structures library (C) Copyright Maxim Khizhinsky (libcds.dev@gmail.com) 2006-2017 Source code repo: http://github.com/khizmax/libcds/ Download: http://sourceforge.net/projects/libcds/files/ Redistribution and use in source and binary forms, with...
/* Copyright (C) 1991-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C 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 ...
/******************************************************************************* * File Name: TFT_MISO.h * Version 2.10 * * Description: * This file containts Control Register function prototypes and register defines * * Note: * ******************************************************************************** * Copyr...
/* * This header is generated by classdump-dyld 1.0 * on Tuesday, November 5, 2019 at 12:49:52 PM Mountain Standard Time * Operating System: Version 13.0 (Build 17J586) * Image Source: /Applications/TVHomeSharing.app/TVHomeSharing * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #im...
/* SPDX-License-Identifier: GPL-2.0+ */ /* * WORK Microwave work_92105 board configuration file * * (C) Copyright 2014 DENX Software Engineering GmbH * Written-by: Albert ARIBAUD <albert.aribaud@3adev.fr> */ #ifndef __CONFIG_WORK_92105_H__ #define __CONFIG_WORK_92105_H__ /* SoC and board defines */ #include <li...
#include <stdio.h> #include <string.h> #include <assert.h> #include <malloc.h> #include <stdint.h> #include <ctype.h> #include "base64.h" void test1() { printf("-------------------- test1 --------------------\n"); char *str = "The problem resolver"; printf("orig=%s\n", str); char * enc = base64_encode(st...
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ /* File created by MIDL compiler version 8.01.0626 */ /* @@MIDL_FILE_HEADING( ) */ /* verify that the <rpcndr.h> version is high enough to compile this file*/ #ifndef __REQUIRED_RPCNDR_H_VERSION__ #define __REQUIRED_RPCNDR_H_VERSION__ 5...
//===-- MICmnBase.h ---------------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (C) 2009 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...
/* Copyright (C) 2005 MySQL AB Use is subject to license terms 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; version 2 of the License. This program is distributed in the hope tha...
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.3.4.5 #ifndef WINRT_Windows_Data_Text_H #define WINRT_Windows_Data_Text_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.3.4.5"), "Mismatched C++/WinRT headers."); #include "winrt/impl/Windows.Foundation.2.h" #in...
/* * Copyright (c) 2016 Thomas Pornin <pornin@bolet.org> * * 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 rights to use, copy, ...
/* * blogc: A blog compiler. * Copyright (C) 2014-2019 Rafael G. Martins <rafael@rafaelmartins.eng.br> * * This program can be distributed under the terms of the BSD License. * See the file LICENSE. */ #ifdef HAVE_CONFIG_H #include <config.h> #endif /* HAVE_CONFIG_H */ #ifdef HAVE_SYS_WAIT_H #include <sys/wait....
/*- * Copyright (c) 1992 Terrence R. Lambert. * Copyright (c) 1982, 1987, 1990 The Regents of the University of California. * Copyright (c) 1997 KATO Takenori. * Copyright (c) 2008 The DragonFly Project. * All rights reserved. * * This code is derived from software contributed to Berkeley by * William Jolitz. ...
// Copyright (c) 2013 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ #define NET_URL_REQUEST_URL_FETCHER_RESPONSE_WRITER_H_ #include <memory> #include <string> #i...
// // STPPaymentResult.h // Stripe // // Created by Jack Flintermann on 1/15/16. // Copyright © 2016 Stripe, Inc. All rights reserved. // #import <Foundation/Foundation.h> #import "STPSource.h" NS_ASSUME_NONNULL_BEGIN @class STPAddress; /** * When you're using `STPPaymentContext` to request your user's paymen...
/* * Copyright (C) 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your opt...
/* * Copyright (C) 2015 Menlo Park Innovation LLC * * This is licensed software, all rights as to the software * is reserved by Menlo Park Innovation LLC. * * A license included with the distribution provides certain limited * rights to a given distribution of the work. * * This distribution includes a copy of...
#pragma once #include "NvInferPlugin.h" #include <string> #include <vector> #include <cublas_v2.h> #include <memory> namespace amirstan { namespace plugin { class RepeatDimsPluginDynamic : public nvinfer1::IPluginV2DynamicExt { public: RepeatDimsPluginDynamic( const std::string &name, const nvinfer1::Di...
/* * SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ #include "esp_route_table.h" #include <string.h> #include "esp_err.h" #include "esp_log.h" #include "lwip/ip6_addr.h" #include "lwip/netif.h" #include "lwip/timeouts.h" #define MAX_RIO_ROUTE 20 ...
// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. The ASF licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may...
#pragma once #include <Windows.h> #include <tchar.h> namespace FileExists { bool file_exists(TCHAR* file_path) { const DWORD result = ::GetFileAttributes(file_path); return result != INVALID_FILE_ATTRIBUTES; } int main() { TCHAR file_path[] = TEXT("C:\\Windows\\System32\\calc.exe"); bool exists = file_ex...
// Copyright 2020 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_UI_ASH_AMBIENT_AMBIENT_CLIENT_IMPL_H_ #define CHROME_BROWSER_UI_ASH_AMBIENT_AMBIENT_CLIENT_IMPL_H_ #include <memory> #include <str...
// HTTPMessage.h // Declares the cHTTPMessage class representing the common ancestor for HTTP request and response classes #pragma once class cHTTPMessage { public: enum eStatus { HTTP_OK = 200, HTTP_BAD_REQUEST = 400, } ; enum eKind { mkRequest, mkResponse, } ; cHTTPMessage(eKind a_Kind); ...
#ifndef XTC_OMP_H_ #define XTC_OMP_H_ #include <omp.h> #endif // XTC_OMP_H
/****************************************************************************** * Copyright (c) 2018 - 2021 Xilinx, Inc. All rights reserved. * SPDX-License-Identifier: MIT ******************************************************************************/ #include "xplmi.h" #include "xplmi_util.h" #include "xpm_requirem...
// file : Protocol.h // author : Boris Kolpackov <boris@kolpackov.net> #ifndef PROTOCOL_H #define PROTOCOL_H unsigned short const payload_size = 200; unsigned long const message_count = 100; struct Message { unsigned long sn; unsigned short payload[payload_size]; }; #endif // PROTOCOL_H
#pragma once #include "detail/defines.h" #include "vec.h" namespace oak { struct Mat2; struct Mat3; struct Mat4; struct _reflect(oak::catagory::math) OAK_MATH_API Mat2 { typedef Vec2 column_type; Mat2() = default; Mat2(float v); Mat2( const column_type& a, const column_type& b ); Mat2(const M...
//===------------------------- ItaniumDemangle.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 // //===---------------------------...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:09 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/ChatKit.framework/ChatKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
/* Copyright (c) 2013 Michael P. Thompson <mpthompson@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to...
/* * uvc_queue.c -- USB Video Class driver - Buffers management * * Copyright (C) 2005-2010 * Laurent Pinchart (laurent.pinchart@ideasonboard.com) * * 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 Soft...
// Copyright (c) 2017 Ronald Bondy // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef FORTUNA_LINUX_INTEGERSOURCE_H #define FORTUNA_LINUX_INTEGERSOURCE_H #include "Source.h" //class SourceManager; //class IntegerSource ...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:53:50 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/AppConduit.framework/AppConduit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by E...
// Copyright 2015 the V8 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. #ifndef V8_INCLUDE_VERSION_H_ // V8_VERSION_H_ conflicts with src/version.h #define V8_INCLUDE_VERSION_H_ // These macros define the version number fo...
#define SIMDE_TEST_X86_AVX512_INSN round #include <test/x86/avx512/test-avx512.h> #include <simde/x86/avx512/round.h> static int test_simde_x_mm512_round_ps (SIMDE_MUNIT_TEST_ARGS) { #if 1 static const struct { const simde_float32 a[16]; const simde_float32 nearest[16]; const simde_float32 neginf[16]; ...
/* * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contribut...
/* * Copyright (c) 2017-2018, SyLabs, Inc. All rights reserved. * Copyright (c) 2017, SingularityWare, LLC. All rights reserved. * * Copyright (c) 2015-2017, Gregory M. Kurtzer. All rights reserved. * * Copyright (c) 2016-2017, The Regents of the University of California, * through Lawrence Berkeley National L...
// 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 V8ReadableByteStreamReader_h #define V8ReadableByteStreamReader_h #...
// XTPRibbonBackstageView.h: interface for the CXTPRibbonBackstageView class. // // This file is a part of the XTREME RIBBON MFC class library. // (c)1998-2011 Codejock Software, All Rights Reserved. // // THIS SOURCE FILE IS THE PROPERTY OF CODEJOCK SOFTWARE AND IS NOT TO BE // RE-DISTRIBUTED BY ANY MEANS WHATSOEVER W...
// // CETCWKWebController.h // CETCPartyBuilding // // Created by gao on 17/3/28. // Copyright © 2017年 Aaron Yu. All rights reserved. // #import "JHBaseViewController.h" @interface CETCWKWebController : JHBaseViewController @property(nonatomic, strong)NSString *url; @property(nonatomic, strong)NSString *strTitle...
#include <linux/types.h> #include <linux/errno.h> #include <linux/uaccess.h> #include <asm/sfp-machine.h> #include <math-emu/soft-fp.h> #include <math-emu/double.h> #include <math-emu/single.h> int fmsubs(void *frD, void *frA, void *frB, void *frC) { FP_DECL_D(R); FP_DECL_D(A); FP_DECL_D(B); FP_DECL_D(C); FP_DEC...