text
stringlengths
9
948k
/* * RadianceSensor.h */ #ifndef __RADIANCESENSOR_H #define __RADIANCESENSOR_H #include "Utils/globals.h" #include "LinearAlgebra/Vector2.h" #include "LinearAlgebra/Vector3.h" #include "Camera/Camera.h" #include "RayTracing/Ray.h" #include "Geometry/Object.h" /** This class represents an axis aligned radiance se...
/*! \file systick.h \brief the header file of systick \version 2016-01-15, V1.0.0, demo for GD32F1x0 \version 2016-05-13, V2.0.0, demo for GD32F1x0 \version 2019-11-20, V3.0.0, demo for GD32F1x0 */ /* Copyright (c) 2019, GigaDevice Semiconductor Inc. Redistribution and use in source and ...
// SPDX-License-Identifier: Apache-2.0 // Copyright Network Geographics 2014 /** @file Stacking error message handling. The problem addressed by this library is the ability to pass back detailed error messages from failures. It is hard to get good diagnostics because the specific failures and general conte...
// The MIT License (MIT) // Copyright (c) 2013 lailongwei<lailongwei@126.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 r...
// // PPCircleDeviceCamera.h // Peoplepower // // Created by Destry Teeter on 8/30/18. // Copyright © 2020 People Power Company. All rights reserved. // #import "PPCircleDevice.h" @interface PPCircleDeviceCamera : PPCircleDevice // Camera @property (nonatomic) PPDeviceParametersSelectedCamera selectedCamera; //...
/* * CPiA video decoder. * Copyright (c) 2010 Hans de Goede <hdegoede@redhat.com> * * This decoder is based on the LGPL code available at * https://v4l4j.googlecode.com/svn/v4l4j/trunk/libvideo/libv4lconvert/cpia1.c * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or *...
#include <stdlib.h> #include <string.h> #include <stdio.h> #include <math.h> #include <stdbool.h> #include "common/wave.h" #include "common/debug.h" #include "ft8/pack.h" #include "ft8/encode.h" #include "ft8/constants.h" #define LOG_LEVEL LOG_INFO void gfsk_pulse(int n_spsym, float b, float *pulse) { const floa...
#include <foundation.h> #include <kernel/init.h> #define NR_VECTOR 8 static void __init mem_init() { unsigned int i; /* copy interrupt vector table to 0x0 */ for (i = 0; i < NR_VECTOR * WORD_SIZE * 2; i += WORD_SIZE) *(unsigned int *)(0 + i) = *(unsigned int *)(0x8000 + i); /* clear .bss section */ extern ch...
/* Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ...
/* * Copyright (c) 2010-2020 OTClient <https://github.com/edubart/otclient> * * 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...
/* See LICENSE file for copyright and license details. */ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ static const unsigned int gappx = 6; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const unsigned int ...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <getopt.h> #include <sys/time.h> #include <inttypes.h> #include <unistd.h> #include "pdc.h" #include "pdc_client_connect.h" int main(void) { pdc_metadata_t *x_meta, *y_meta, *energy_meta; pdcid_t pdc, x_id, y_id, energy_id; pdc_qu...
// Copyright 2012 the V8 project authors. 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 ...
/* * FreeRTOS V202107.00 * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. 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 Software without restriction, including ...
// Copyright 2018 Google LLC // Copyright 2018-present Open Networking Foundation // Copyright(c) 2021 Intel Corporation. // SPDX-License-Identifier: Apache-2.0 #ifndef STRATUM_HAL_LIB_COMMON_YANG_PARSE_TREE_PATHS_H_ #define STRATUM_HAL_LIB_COMMON_YANG_PARSE_TREE_PATHS_H_ #include <string> #include "stratum/hal/lib/...
// // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // /*============================================================================ ** ** Source: test1.c ** ** Purpose: Tests that wcscmp correctly compares two str...
//===--- Type.h - Swift Language Type ASTs ----------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
/* * Host Resources MIB - storage group implementation - hr_storage.c * */ #include <net-snmp/net-snmp-config.h> #if defined(freebsd5) /* undefine these in order to use getfsstat */ #undef HAVE_STATVFS #undef STRUCT_STATVFS_HAS_F_FRSIZE #endif #include <sys/types.h> #include <sys/param.h> #if HAVE_UNISTD_H #incl...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE762_Mismatched_Memory_Management_Routines__new_array_delete_int64_t_82.h Label Definition File: CWE762_Mismatched_Memory_Management_Routines__new_array_delete.label.xml Template File: sources-sinks-82.tmpl.h */ /* * @description * CWE: 762 Mismatched Memory Management ...
/* JSON core and helpers */ #include "json.h" #include "json_escaped.h" #include <assert.h> #include <ccan/build_assert/build_assert.h> #include <ccan/str/hex/hex.h> #include <ccan/tal/str/str.h> #include <errno.h> #include <inttypes.h> #include <stdarg.h> #include <stdio.h> #include <string.h> struct json_result { /...
/* * Software License Agreement (BSD License) * * Point Cloud Library (PCL) - www.pointclouds.org * Copyright (c) 2010, Willow Garage, Inc. * Copyright (c) 2012-, Open Perception, Inc. * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are per...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/elasticmapreduce/EMR_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/elasticmapreduce/model/AuthMode.h> #include <aws/core/utils/memory/stl/AWSVect...
/* * Copyright 2014-2020 Real Logic Limited. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or ...
#ifndef DFACES_H #define DFACES_H #include "dface.h" using namespace std; /// This class defines a linked list to store all the faces. class dfaces { public: dfaces(); ~dfaces(); /// head of the face list dface* head; /// tail of he face list dface* tail; /** * Add a set of faces to the list. * @param ...
/* * 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...
/* mlparse_1.c tests for a specific bug in the parser, report by John * Yiannis * * written nml 2004-08-19 * */ #include <assert.h> #include <stdio.h> #include <stdlib.h> #include "str.h" #include "mlparse.h" int test_file(FILE *fp, int argc, char **argv) { /* this data (in two chunks) comes from the TREC G...
// Copyright 2010-2018 Google 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 law or agreed to in...
#pragma once #include <array> // VCDU: Virtual Channel Data Unit. // This is the data packet AFTER applying Reed Solomon decode. class VCDU { using raw = std::array<uint8_t, 892>; public: // Allow implicit construction VCDU(raw data) : data_(data) { }; int getVersion() const { return (data_[0] & 0...
/** TMR2 Generated Driver File @Company Microchip Technology Inc. @File Name tmr2.c @Summary This is the generated driver implementation file for the TMR2 driver using PIC10 / PIC12 / PIC16 / PIC18 MCUs @Description This source file provides APIs for TMR2. Generation Information : ...
/* * 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...
/** \file * \brief Dialog Public and Private Declarations * * See Copyright Notice in "iup.h" */ #ifndef __IUP_DIALOG_H #define __IUP_DIALOG_H #ifdef __cplusplus extern "C" { #endif /* PUBLIC */ /* Shows the dialog in the given position and disable interaction with other dialogs. * The element must be alrea...
/* * morse.c * * Created on: 09.06.2019 * Author: sercezar */ #include "main.h" #include "morse.h" #include <stdbool.h> #include <string.h> #include <stdio.h> uint8_t DataToSend[99]; uint8_t MessageLength = 0; char CharArray[90]=""; const char *a="._"; const char *b="_..."; const char *c="_._."; const cha...
/********************************************************************** insnhelper.h - helper macros to implement each instructions $Author: akr $ created at: 04/01/01 15:50:34 JST Copyright (C) 2004-2007 Koichi Sasada **********************************************************************/ #ifndef RUBY_INS...
/*- * Copyright (c) 2005 Michael Bushkov <bushman@rsu.ru> * 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,...
/* _dissolving_touch.c Dissolving Touch from PF SRD. Does acid damage with touch attack. -- Tlaloc -- */ #include <spell.h> #include <magic.h> #include <rooms.h> #include <daemons.h> inherit SPELL; void create() { ::create(); set_author("tlaloc"); set_spell_name("dissolving touch"); set_spe...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:23:17 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/Frameworks/NetworkExtension....
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 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_WALLET_WALLET_H #define BITCOIN_WALLET_WALLET_H #include "amount...
/* * File: i8042/mouse.c * * env: * Ring 0. Kernel base persistent code. * * History: * 2017 - Created by Fred Nora. */ #include <kernel.h> /* ******************************************** * mouse_handler: * Mouse handler do driver de mouse. * #importante: Essa rotina vai ficar no driver d...
/* * Copyright (c) 2018 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <timeout_q.h> #include <drivers/system_timer.h> #include <sys_clock.h> #include <spinlock.h> #include <ksched.h> #include <syscall_handler.h> #define LOCKED(lck) for (k_spinlock_key_t __i = {}, \ __key = k_spin_l...
#ifndef RTDB_TYPES_H #define RTDB_TYPES_H // This header expresses the data types exchanged between robot via RtDB. // This header shall *NOT* contain any robotsports specific includes, to allow // 3rd-party applications to monitor the data. #include "RtDB2.h" #include <stdint.h> #define KEY_METADATA "METADATA" #defi...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Ruxcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef RUXCOIN_NET_H #define RUXCOIN_NET_H #include "amount.h" #include "bloom....
/* * High level TFT functions * Author: LoBo 04/2017, https://github/loboris * */ #ifndef _TFT_H_ #define _TFT_H_ #include <stdlib.h> #ifdef __cplusplus extern "C" { #endif #include "tftspi.h" typedef struct { uint16_t x1; uint16_t y1; uint16_t x2; uint16_t y2; } dispWin_t; t...
/* * 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...
#pragma once #include <Foundation/Communication/Event.h> #include <Foundation/Configuration/Plugin.h> #include <Foundation/Strings/String.h> #include <Foundation/Types/Bitflags.h> #include <Foundation/Utilities/EnumerableClass.h> class ezCVar; /// \brief Describes of which type a CVar is. Use that info to cast an ez...
/* The Toker converts an inout stream into tokens for use by the parser. */ #ifndef TOKER_H #define TOKER_H enum{ DIM=0x8000,GOTO,GOSUB,EXIT,RETURN, IF,THEN,ELSE,ENDIF,ELSEIF, WHILE,WEND, FOR,TO,STEP,NEXT, FUNCTION,ENDFUNCTION, TYPE,ENDTYPE,EACH, GLOBAL,LOCAL,FIELD,BBCONST, SELECT,CASE,DEFAULT,ENDSELECT...
/** * @file SerialNumberSignatureOfKnowledge.h * * @brief SerialNumberSignatureOfKnowledge class for the Zerocoin library. * * @author Ian Miers, Christina Garman and Matthew Green * @date June 2013 * * @copyright Copyright 2013 Ian Miers, Christina Garman and Matthew Green * @license This proj...
/* 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 not...
/* Copyright (c) 2018-2019 Evan Nemerson <evan@nemerson.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 use, copy...
#ifndef _SENTENCEPIECE4C_H_ #define _SENTENCEPIECE4C_H_ #if defined _WIN32 || defined __CYGWIN__ #if defined sentencepiece4c_EXPORTS #if defined __GNUC__ #define SP4C_API __attribute__((dllexport)) #else #define SP4C_API __declspec(dllexport) #endif #else #if defined __GNUC__ #define SP4C_API __attribute__((dllimport...
#ifndef BITCOIN_CHAINPARAMSSEEDS_H #define BITCOIN_CHAINPARAMSSEEDS_H /** * List of fixed seed nodes for the fortcoin network * AUTOGENERATED by share/seeds/generate-seeds.py * * Each line contains a 16-byte IPv6 address and a port. * IPv4 as well as onion addresses are wrapped inside a IPv6 address accordingly. ...
#if !defined(__CRC_H__) #define __CRC_H__ #include "Common.h" #if defined(__cplusplus) extern "C" { #endif #define UPDC32(octet, crc)\ (__dword)((crc_32_tab[(((__dword)(crc)) ^ ((__byte)(octet))) & 0xff] ^ (((__dword)(crc)) >> 8))) __dword __API__ crc32(__memory data, __integer length); __dword __API__ crc32int(_...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, October 27, 2021 at 3:17:20 PM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/Proacti...
/* OpenGL loader generated by glad 0.1.28 on Sun Dec 2 14:50:43 2018. Language/Generator: C/C++ Specification: gl APIs: gl=4.5 Profile: core Extensions: Loader: True Local files: False Omit khrplatform: False Reproducible: False Commandline: --profile="co...
/* Test file for mpfr_dim. Copyright 2004-2016 Free Software Foundation, Inc. Contributed by the AriC and Caramba projects, INRIA. This file is part of the GNU MPFR Library. The GNU MPFR Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as pub...
/* * This header is generated by classdump-dyld 1.0 * on Wednesday, March 22, 2017 at 9:02:44 AM Mountain Standard Time * Operating System: Version 10.1 (Build 14U593) * Image Source: /System/Library/Frameworks/UIKit.framework/UIKit * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias Limneos. */ #...
#ifndef PARAMS_H #define PARAMS_H #include <string> #include <fstream> class DCExpParams { public: std::string param_str; uint32_t initial_cwnd; uint32_t max_cwnd; double retx_timeout_value; uint32_t mss; uint32_t hdr_size; uint32_t queue_size; uint...
/* Copyright (C) 2010-2019, The Regents of The University of Michigan. All rights reserved. This software was developed as part of the The Vulcan project in the Intelligent Robotics Lab under the direction of Benjamin Kuipers, kuipers@umich.edu. Use of this code is governed by an MIT-style License that can be foun...
/* * Copyright 2018 Advanced Micro Devices, Inc. * * 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, m...
#pragma once #include <carl/util/SFINAE.h> #include <carl/core/polynomialfunctions/Substitution.h> #include <carl/core/Relation.h> namespace carl { template<typename T> struct is_ran : std::false_type {}; /* operators */ template<typename RAN, typename = std::enable_if_t<is_ran<RAN>::value>> inline bool isZero(co...
/* * Copyright (c) 2017-2019 ARM Limited. * * SPDX-License-Identifier: MIT * * 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 * ri...
/* $NetBSD: hesiod.h,v 1.3 1999/01/24 23:53:18 lukem Exp $ */ /* $FreeBSD: releng/11.1/include/hesiod.h 203963 2010-02-16 19:28:10Z imp $ */ /*- * Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modificatio...
// Copyright 2012 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_SNAPSHOT_SERIALIZE_H_ #define V8_SNAPSHOT_SERIALIZE_H_ #include "src/address-map.h" #include "src/heap/heap.h" #include "src/objects.h" #inc...
/* * 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) 2012, Peter Haag * * 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 fo...
/* * Copyright (c) 2019-2020 Nuvoton Technology Corporation * 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 with the License. * You may obtain a copy of the License at * * http://www.apache.org/licens...
/* * Copyright (C) 2017 XRADIO TECHNOLOGY CO., LTD. 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,...
#define FORCE_INLINE inline __attribute__((__always_inline__)) /* from linux/socket.h */ #define AF_INET 2 /* Internet IP Protocol */ #define AF_INET6 10 /* IP version 6 */ /***********************/ /* from linux/filter.h */ #define BPF_NET_OFF (-0x100000) #define BPF_LL_OFF (-0x200000) /***********************/...
/*! \file */ #ifndef _ARDUINOUNIVERSALINPUTS_IVALUETRANSFORM_H #define _ARDUINOUNIVERSALINPUTS_IVALUETRANSFORM_H #include "UniversalInputTypes.h" /*! * \class IValueTransform * \brief Interface for a value transformation. */ class IValueTransform { public: /*! * \brief Create a new value transformation. *...
// Copyright (C) 2003 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. #ifndef DLIB_SOCKETs_ #define DLIB_SOCKETs_ #include "platform.h" #ifdef WIN32 #include "sockets/windows.h" #endif #ifndef WIN32 #include "sockets/posix.h" #endif #include "sockets/soc...
/****************************************************************************** * Copyright 2017 - 2018, Opulinks Technology Ltd. * --------------------------------------------------------------------------- * Statement: * ---------- * This software is protected by Copyright and the information contained * herein...
// // AMapSearchAPI.h // AMapSearchKit // // Created by xiaoming han on 15/7/22. // Copyright (c) 2015年 Amap. All rights reserved. // #import <Foundation/Foundation.h> #import "AMapSearchObj.h" #import "AMapCommonObj.h" @protocol AMapSearchDelegate; ///搜索结果语言 #define AMapSearchLanguageZhCN @"zh" ///< 中文 #define ...
#ifndef __MATERIAL_H_ #define __MATERIAL_H_ #pragma once /*---------------------------------------------------------------------------*/ class Material : public gc_cleanup { public: enum Properties { NONE = 0, AMBIENT = 0x0001, DIFFUSE = 0x0002, SPECULAR = 0x0004, EMISSION = 0x0008, REFLECTIVE = 0x001...
/** * \file * * \brief Instance description for ICM * * 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 with th...
/* * Copyright (c) 2016,2017,2018 Apple Inc. All rights reserved. * * corecrypto Internal Use License Agreement * * IMPORTANT: This Apple corecrypto software is supplied to you by Apple Inc. ("Apple") * in consideration of your agreement to the following terms, and your download or use * of this Apple software ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 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_AMOUNT_H #define BITCOIN_AMOUNT_H #include "serialize.h" #inclu...
/* * (C) Copyright 2013 * Heiko Schocher, DENX Software Engineering, hs@denx.de. * * Based on: * Copyright (c) 2011 IDS GmbH, Germany * ids8313.c - ids8313 board support. * * Sergej Stepanov <ste@ids.de> * Based on board/freescale/mpc8313erdb/mpc8313erdb.c * * SPDX-License-Identifier: GPL-2.0+ */ #include ...
#pragma once class QVBoxLayout; namespace Ui { class TextBrowserEx; class LineEditEx; class DialogButton; namespace TextRendering { class TextUnit; } class EditNameWidget: public QWidget { Q_OBJECT public: struct FormData { QString fir...
/* * Copyright 2010-2014 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 "lice...
/* * Copyright (C) 2010 - present by OpenGamma Inc. and the OpenGamma group of companies * * Please see distribution for license. */ #ifndef __inc_og_language_util_bufferedinput_h #define __inc_og_language_util_bufferedinput_h #include "TimeoutIO.h" /// Reads from a CTimeoutIO data source, making sure that at le...
/**************************************************************************** * * Copyright (c) 2015-2020 Estimation and Control Library (ECL). All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
/* * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 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. Redist...
// // ADCDN_InterstitialAdManager.h // ADCDN // // Created by 彭双塔 on 2019/10/15. // Copyright © 2019 pst. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @class ADCDN_InterstitialAdManager; /** * 代理协议方法 */ @protocol ADCDN_InterstitialAdManagerDelegate ...
/* $OpenBSD: usbfvar.h,v 1.7 2009/11/04 19:14:10 kettenis Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice...
#ifndef WORLDENGINE_RENDERCOMPONENT_H #define WORLDENGINE_RENDERCOMPONENT_H #include "core/core.h" #include "core/util/EntityChangeTracker.h" class Material; class Mesh; class RenderComponent { public: enum UpdateType { // The entity is never changed. Doing so incurs a significant performance penalty. ...
/* TecnoFreak Animation System http://sourceforge.net/projects/tecnofreakanima/ Copyright (c) 2008 Pau Novau Lebrato This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to ...
#pragma once #include "../ShaderProgGLSL.h" namespace ose::shader { class Default2DShaderProgGLSL final : public ShaderProgGLSL { public: Default2DShaderProgGLSL(); virtual ~Default2DShaderProgGLSL(); // Build an OpenGL shader object from a shader graph void CreateShaderProg() override; // Destroy the O...
/* sbuffer.c - jonclegg@yahoo.com * general use circular buffer lib * * 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 versi...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:12:36 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/ShazamKitU...
/** * Copyright (c) 2015 - 2018, Nordic Semiconductor ASA * * 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,...
/*- * Copyright (c) 1988, 1989, 1990, 1993 * The Regents of the University of California. All rights reserved. * Copyright (c) 1988, 1989 by Adam de Boor * Copyright (c) 1989 by Berkeley Softworks * All rights reserved. * * This code is derived from software contributed to Berkeley by * Adam de Boor. * * Red...
#pragma once #include "CoreMinimal.h" #include "ELineCutterUpgradeType.generated.h" UENUM(BlueprintType) enum class ELineCutterUpgradeType : uint8 { ReverseDirection, ExplodeLastProjectile, };
#ifndef GROUPITEM_H #define GROUPITEM_H #include <QWidget> namespace Ui { class groupitem; } class groupitem : public QWidget { Q_OBJECT public: explicit groupitem(QWidget* parent = nullptr); void setName(QString name); ~groupitem(); private: Ui::groupitem* ui; }; #endif // GROUPITEM_H
// Copyright (c) 2009-2015 The FargoCoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_NETBASE_H #define BITCOIN_NETBASE_H #if defined(HAVE_CONFIG_H) #include "config/bitcoin-config.h" #endif ...
/* Blackfin Trace (TBUF) model. Copyright (C) 2010-2020 Free Software Foundation, Inc. Contributed by Analog Devices, Inc. This file is part of simulators. 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 F...
/* * io.c * * Created on: Jul 26, 2011 * Author: brent */ #include "board.h" #include "io.h" #define TRGEN (0x0) // Software triggering #define TRGSEL (0x0) // Without effect in Software triggering #define LOWRES (0x0) // 10-bit result output format #define SLEEP (0x0) // Norma...
// Copyright (c) 2016-2020 The ZCash developers // Copyright (c) 2020 The PIVX developers // Copyright (c) 2020 The Lightcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef UINT252_H #define UINT252_H #inclu...
void CVE_2012_3964_PATCHED_nsTextFrame::ClearTextRun(nsTextFrame* aStartContinuation, TextRunType aWhichTextRun) { gfxTextRun* textRun = GetTextRun(aWhichTextRun); if (!textRun) { return; } DebugOnly<bool> checkmTextrun = textRun == mTextRun; UnhookTextRunFromFrames(textRun, aSt...
#ifndef XG_GRAPHICS_SHAPE_RECT_H #define XG_GRAPHICS_SHAPE_RECT_H #include "graphics/shape/Shape.h" #include "graphics/util/BBox.h" namespace xg { namespace shape { class Rect : public Shape { public: Rect(const util::Point &point, const util::Size &size, const string &fillColor) : Shape(), point_(point), size...
// Copyright (c) 2011-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_QT_CLIENTMODEL_H...
/** * @file * DNS - host name to IP address resolver. * * @defgroup dns DNS * @ingroup callbackstyle_api * * Implements a DNS host name to IP address resolver. * * The lwIP DNS resolver functions are used to lookup a host name and * map it to a numerical IP address. It maintains a list of resolved * hostname...