text
stringlengths
9
948k
// Copyright (c) 2019 The PIVX developers // Copyright (c) 2020 The ucacoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef REQUESTDIALOG_H #define REQUESTDIALOG_H #include "qt/ucacoin/focuseddialog.h" #inclu...
/* Copyright (c) 2018, NLnet Labs. All rights reserved. * * This software is open source. * * 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 n...
// Copyright (c) 2015 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_CHROMEOS_POLICY_STATUS_UPLOADER_H_ #define CHROME_BROWSER_CHROMEOS_POLICY_STATUS_UPLOADER_H_ #include <memory> #include "base...
/** EUSART Generated Driver API Header File @Company Microchip Technology Inc. @File Name eusart.h @Summary This is the generated header file for the EUSART driver using LIN Library @Description This header file provides APIs for driver for EUSART. Generation Information : Prod...
#pragma once #include "MnaBlock.h" #include "SignalBlock.h" namespace ELCT350 { namespace Hybrid { namespace Blocks { class VelocitySensor : public Signal::SignalBlock, public Mna::MnaBlock { public: enum MnaPorts : size_t { S }; enum OutputSigna...
/****************************************************************************** * Copyright 2021 NVIDIA Corporation. All rights reserved. *****************************************************************************/ /// \file /// \brief Results exposed by the NVIDIA IndeX library when querying a scene's contents. #...
/* Copyright (c) 2015 Nordic Semiconductor. All Rights Reserved. * * The information contained herein is property of Nordic Semiconductor ASA. * Terms and conditions of usage are described in detail in NORDIC * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. * * Licensees are granted free, non-transferable use...
#pragma once #include <Core/Block.h> #include <Storages/IStorage_fwd.h> namespace DB { class QueryPlan; class Set; using SetPtr = std::shared_ptr<Set>; /// Information on what to do when executing a subquery in the [GLOBAL] IN/JOIN section. struct SubqueryForSet { SubqueryForSet(); ~SubqueryForSet(); ...
//===--- AnalysisWrapperPass.h - Analysis Results Wrapper -------*- C++ -*-===// // // Traits Static Analyzer (SAPFOR) // // Copyright 2018 DVM System Group // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // ...
/* * Copyright 2016, Data61 * Commonwealth Scientific and Industrial Research Organisation (CSIRO) * ABN 41 687 119 230. * * This software may be distributed and modified according to the terms of * the BSD 2-Clause license. Note that NO WARRANTY is provided. * See "LICENSE_BSD2.txt" for details. * * @TAG(D61_...
struct file { enum { FD_NONE, FD_PIPE, FD_INODE, FD_DEVICE } type; int ref; // reference count char readable; char writable; struct pipe *pipe; // FD_PIPE struct inode *ip; // FD_INODE and FD_DEVICE uint off; // FD_INODE short major; // FD_DEVICE }; #define major(dev) ((dev) >> 16 & 0x...
/*- * Copyright (c) 2000-2001 Boris Popov * 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 co...
/* * Copyright (c) 2011 by Hewlett-Packard Company. All rights reserved. * * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. * * Permission is hereby granted to use or copy this program * for any purpose, provided the above notices are retained...
/* BLIS An object-based framework for developing high-performance BLAS-like libraries. Copyright (C) 2014, The University of Texas at Austin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - Re...
/** * Copyright (c) 2012 - 2017, 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,...
// // EZAudioPlot.h // EZAudio // // Created by Syed Haris Ali on 9/2/13. // Copyright (c) 2015 Syed Haris Ali. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Softwa...
#include <stdio.h> #include <string.h> #include <errno.h> #include <libsmbclient.h> #define MAX_BUFF_SIZE 255 char g_workgroup[MAX_BUFF_SIZE]; char g_username[MAX_BUFF_SIZE]; char g_password[MAX_BUFF_SIZE]; char g_server[MAX_BUFF_SIZE]; char g_share[MAX_BUFF_SIZE]; void auth_fn(const char *server, const char *share,...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:44:51 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/HealthProfile.framework/HealthProfile * classdump-dyld is licensed under GPLv3, Copyright © 2013-201...
/* LIBRERÍAS */ #include <stdio.h> #include <stdlib.h> /* CONSTANTES */ const int N = 6; const int DIAS_MES[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31}; /* DECLARACIÓN FUNCIONES */ int continuar(int* valores); void imprimeVector(int* numeros); /* PROGRAMA */ int main(int argc, char** argv) { int i, n...
// This file is part of Eigen, a lightweight C++ template library // for linear algebra. // // Copyright (C) 2010 Gael Guennebaud <gael.guennebaud@inria.fr> /* NOTE: this routine has been adapted from the CSparse library: Copyright (c) 2006, Timothy A. Davis. http://www.suitesparse.com CSparse is free software; you...
#ifndef __WAG_H__ #define __WAG_H__ #include <linux/wakelock.h> #include <linux/interrupt.h> #include <linux/miscdevice.h> #include <linux/platform_device.h> #include <linux/input.h> #include <linux/workqueue.h> #include <linux/slab.h> #include <linux/module.h> #include <linux/hwmsensor.h> #include <linux/earlysuspen...
// // NSString+Hash.h // iOS-Categories (https://github.com/shaojiankui/iOS-Categories) // // Created by Jakey on 14/12/15. // Copyright (c) 2014年 www.skyfox.org. All rights reserved. // #import <Foundation/Foundation.h> @interface NSString (Hash_yf) @property (readonly) NSString *md5String; @property (readonly) N...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:41:07 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PhotoLibraryServices.framework/PhotoLibraryServices * classdump-dyld is licensed under GPLv3, Copyri...
/*========================================================================= Program: Visualization Toolkit Module: vtkAppendFilter.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. This software is...
#pragma once #define BLOCK_SIZE 0x10 #define ROOT_CRYPTO_BLOB_SIZE 148 #define HEADER_SIZE 0x148 #define USR_BODY_SIZE 0x1F2C50 #define SYS_BODY_SIZE 0x2518 //#define PRESERVE_BODY_SUB_KEYS //#define DEBUG enum DECRYPTION_TYPE { HEADER, BODY }; enum FILE_TYPE { USR, SYS }; class CryptoState { public: static FILE_TY...
/* * Copyright 2015 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, p...
/* * Copyright (c) 2018 ISP RAS (http://www.ispras.ru) * Ivannikov Institute for System Programming of the Russian Academy of Sciences * * 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 *...
/**************************************************************************//** * @file main.c * @version V1.10 * $Revision: 10 $ * $Date: 15/11/19 10:11a $ * @brief Show how to encrypt large data in Flash. * * @note * Copyright (C) 2020 Nuvoton Technology Corp. All rights reserved. ********************...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #pragma once #include <vector> #include "fbpcf/mpc_std_lib/util/util.h" namespace fbpcf::mpc_std_lib::oram { /** * a Differen...
#pragma once #include <ostream> #include "ast.h" namespace bpftrace { namespace ast { class Printer : public Visitor { public: explicit Printer(std::ostream &out) : out_(out) { } void visit(Integer &integer) override; void visit(PositionalParameter &param) override; void visit(String &string) override; vo...
#import <Foundation/Foundation.h> #import "PTTorrentStatus.h" @class PTSize; /** Block called when the status of the currently streamed torrent is called. @param status The buffering progress of the current piece of the torrent, overall buffering of the torrent, the current download speed, the current upload spe...
/*- * BSD LICENSE * * Copyright (c) Intel Corporation. * 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 copyri...
/* ChibiOS/RT - Copyright (C) 2006-2013 Giovanni Di Sirio 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 ...
// // AppDelegate.h // Example // // Created by sheodon on 16/5/30. // Copyright © 2016年 sheodon. All rights reserved. // #import <UIKit/UIKit.h> @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (strong, nonatomic) UIWindow *window; @end
/* _______ ____ __ ___ ___ * \ _ \ \ / \ / \ \ / / ' ' ' * | | \ \ | | || | \/ | . . * | | | | | | || ||\ /| | * | | | | | | || || \/ | | ' ' ' * | | | | |...
/* Copyright 1999, Be Incorporated. All Rights Reserved. This file may be used under the terms of the Be Sample Code License. Other authors: Mark Watson, Rudolf Cornelissen 4/2003-6/2008 */ #define MODULE_BIT 0x20000000 #include "acc_std.h" status_t SET_CURSOR_SHAPE(uint16 width, uint16 height, uint16 hot_x,...
/* * Copyright (c) 2016 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <stdbool.h> #include <zephyr.h> #include <ztest.h> #include <tc_util.h> #include <sys/util.h> #define NUM_TEST_ITEMS 6 /* Each work item takes 100ms */ #define WORK_ITEM_WAIT 100 /* In fact, each work...
#include <nm_core.h> #include <nm_form.h> #include <nm_menu.h> #include <nm_utils.h> #include <nm_string.h> #include <nm_vector.h> #include <nm_window.h> #include <nm_network.h> #include <nm_svg_map.h> #include <nm_database.h> #include <nm_cfg_file.h> #include <nm_lan_settings.h> #if defined (NM_OS_LINUX) enum { ...
//===-- MergeHandler.h --------------------------------------------*- C++ -*-===// // // The KLEE Symbolic Virtual Machine // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------...
/********************************************************************************************** * * raylib configuration flags * * This file defines all the configuration flags for the different raylib modules * * LICENSE: zlib/libpng * * Copyright (c) 2018-2021 Ahmad Fatoum & Ramon Santamaria (@raysan5) * * ...
/*====================================================================* - Copyright (C) 2001 Leptonica. All rights reserved. - This software is distributed in the hope that it will be - useful, but with NO WARRANTY OF ANY KIND. - No author or distributor accepts responsibility to anyone for the - consequence...
/***************************************************************************//** * @file * @brief CMSIS Cortex-M Peripheral Access Layer Header File * for EFR32MG13P732F512GM32 ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratori...
#ifndef Game_of_Life #define Game_of_Life #include <iostream> using namespace std; class GameOfLife { public: // constructor GameOfLife(int id, int x1, int x2, bool v_periodic, bool h_periodic); // destructor ~GameOfLife(); void printGame(bool show_buffer); void writeToFile(bool write_buffe...
#ifndef CQPropertyViewRectFType_H #define CQPropertyViewRectFType_H #include <CQPropertyViewType.h> /*! * \brief type for QRectF */ class CQPropertyViewRectFType : public CQPropertyViewType { public: CQPropertyViewRectFType(); CQPropertyViewEditorFactory *getEditor() const override; bool setEditorData(CQPr...
#include<stdio.h> unsigned long getFibonacciPosition(int pos); int main(int argc, char const *argv[]) { freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout); int p; unsigned long fibNumber; scanf("%d", &p); fibNumber = getFibonacciPosition(p); printf("%lu", fibNumber); r...
#pragma once #include "onnx/defs/schema.h" namespace ONNX_NAMESPACE { class ONNX_OPERATOR_SET_SCHEMA_CLASS_NAME( PyTorch, 1, SparseLengthsSumFused8BitRowwise); class ONNX_OPERATOR_SET_SCHEMA_CLASS_NAME(PyTorch, 1, SparseLengthsSum); class ONNX_OPERATOR_SET_SCHEMA_CLASS_NAME(PyTorch, 1, SparseLengthsWeigh...
/* mbed Microcontroller Library * Copyright (c) 2006-2013 ARM 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless re...
/***************************************************************************//** * @file app_se_manager_asymmetric_key_handling.c * @brief SE manager asymmetric key handling functions. ******************************************************************************* * # License * <b>Copyright 2020 Silicon Laboratori...
// // consts.h // VIPER_example // // Created by Timur.Shahmuratov on 12.12.2017. // Copyright © 2017 Timur.Shahmuratov. All rights reserved. // #ifndef consts_h #define consts_h #define RESPONSE_BLOCK @"response" #define STATUS_BLOCK @"status" #define ERROR_BLOCK @"error" #define ERROR_STATUS @"error" #define S...
// SPDX-License-Identifier: GPL-2.0 /* * Copyright © 2020 - 2021 Intel Corporation */ /** * DOC: MEI_PXP Client Driver * * The mei_pxp driver acts as a translation layer between PXP * protocol implementer (I915) and ME FW by translating PXP * negotiation messages to ME FW command payloads and vice versa. */ ...
/* * 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...
// -*- c++ -*- /*========================================================================= Program: Visualization Toolkit Module: vtkMathConfigure.h.in Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
#ifndef _RBTREE_H_ #define _RBTREE_H_ namespace bfzq { enum Color {RED = 0, BLACK = 1}; enum RBTYPE {LLr, LRr, RRr, RLr, LLb, LRb, RRb, RLb, Other}; template<typename E> struct rb_node_struct { E element; Color color; struct rb_node_struct<E> *left; struct rb_node_struct<E> *right; struct rb_node_struct<E> *p...
// // GCDAsyncSocket.h // // This class is in the public domain. // Originally created by Robbie Hanson in Q3 2010. // Updated and maintained by Deusty LLC and the Apple development community. // // https://github.com/robbiehanson/CocoaAsyncSocket // #import <Foundation/Foundation.h> #import <Security/Secur...
#include <avr/io.h> #include <avr/interrupt.h> #include <util/delay.h> int types = 4; int maxangle=150; int minangle = 30; //Configure PORTB 5 pin for servo motor 1 operation void servo1_pin_config (void) { DDRB = DDRB | 0x20; //making PORTB 5 pin output PORTB = PORTB | 0x20; //setting PORTB 5 pin to logic 1 } ...
/* * MTShader.h * * This file is part of the "LLGL" project (Copyright (c) 2015-2018 by Lukas Hermanns) * See "LICENSE.txt" for license information. */ #ifndef LLGL_MT_SHADER_H #define LLGL_MT_SHADER_H #import <Metal/Metal.h> #include <LLGL/Shader.h> namespace LLGL { class MTShader : public Shader { ...
/** \file * \brief Handles connection to the COIN library, by offering * helper classes. * * If you use Coin, you need to include this file. Please follow * the example of CoinOptimalCrossingMinimizer for the correct use * of the USE_COIN precompiler flag. * * \todo Currently, there is only a single implementat...
/// Main file (source) /// (c) 2017 Jani Nykänen #include "engine/app.h" #include "game/game.h" #include "engine/list.h" #include "engine/assets.h" #include "stdlib.h" /// Configuration static CONFIG c; /// Read configuration file /// < path Path /// > 0 on success, 1 on error static int read_config(const char* pa...
/*! \ingroup PkgPolynomialConcepts \cgalConcept This `AdaptableBinaryFunction` computes the <I>resultant</I> of two polynomials \f$ f\f$ and \f$ g\f$ of type `PolynomialTraits_d::Polynomial_d` with respect to a certain variable. Note that this functor operates on the polynomial in the univariate view, that is, th...
/* See LICENSE file for copyright and license details. */ #include "common.h" extern inline int libkeccak_keccaksum_fd(int, struct libkeccak_state *restrict, const struct libkeccak_spec *restrict, void *restrict);
/* * Copyright 2008-2010 NVIDIA 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...
/*** * Code from Percy "Dragontamer" Tiglao ***/ #ifndef AESDRAGONTAMER_H #define AESDRAGONTAMER_H #if defined( __AES__) && defined(__AVX__) #include <stddef.h> #include <stdint.h> #include <string.h> #include <immintrin.h> typedef struct { __m128i state; __m128i increment; } aesdragontamer_state; static inli...
#ifndef BLUE_TYPES_H #define BLUE_TYPES_H #include <stdint.h> #include "iota/bundle.h" #define TX_TYPE_TEXT_LEN 24 #define ABBRV_VAL_TEXT_LEN 11 #define FULL_VAL_TEXT_LEN 26 #define BIP_TEXT_LEN 36 // Address chunks after being broken up #define CHUNK1 0 #define CHUNK2 31 #define CHUNK3 62 #define CHUNK_CHK 84 #def...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:41:24 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/CloudDocs.framework/CloudDocs * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Eli...
// vim: tabstop=4 shiftwidth=4 noexpandtab /* ws2812 This low-level library gives you access to ws2812 LEDs and LED strips via libopencm3. Please use it like this: - connect the data pin (DIN) of the ws2812 to a GPIO of your MCU - initialize clock to a sysclock speed of 72 MHz - initialize the GPIO pin wit...
#ifndef __LICENSING_MODEL_H__ #define __LICENSING_MODEL_H__ #include <list> #include "netlicensing/constants.h" #include "netlicensing/entity.h" namespace netlicensing { class LicensingModel { private: String_t name_i; public: LicensingModel() : name_i() { } void setName(const String_t& name) { ...
#pragma once #include "Board.h" #include <vector> #include <memory> #include <glibmm-2.4/glibmm/ustring.h> class FileLoader final { static Glib::ustring m_lastError; public: FileLoader() = delete; static int load(const Glib::ustring &filename, boardList_t &boards, Glib::ustring &errorMessageOut); s...
/** * Copyright (c) 2014 - 2020, 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, th...
// 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 BASE_FILES_FILE_PROXY_H_ #define BASE_FILES_FILE_PROXY_H_ #include <stdint.h> #include "base/base_export.h" #include "base/callback_forward.h" #...
/** * UGENE - Integrated Bioinformatics Tools. * Copyright (C) 2008-2012 UniPro <ugene@unipro.ru> * http://ugene.unipro.ru * * 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...
// Copyright (c) 2015, Baidu.com, Inc. All Rights Reserved // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef TERA_MASTER_TABLET_MANAGER_H_ #define TERA_MASTER_TABLET_MANAGER_H_ #include <atomic> #include <iostream> #include <limits> #include <list> #includ...
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // ____ ___ __ _ // / __// o |,'_/ .' \ // / _/ / _,'/ /_n / o / _ __ _ ___ _ _ __ // /_/ /_/ |__,'/_n_/ / \,' /.' \ ,' _/,' \ / |/ / // / \,' // o /_\ `./ o ...
//===-- Transforms.h - Swift Transformations -------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See http://swift.org/LI...
/*- * Copyright (c) 2014 Alexander Motin <mav@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 * notice...
/* Copyright 2011 Twitter, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at: http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag...
/* * Copyright (c) 2021, Krisna Pranav * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once // includes #include <base/Types.h> #include <base/Vector.h> #include <kernel/filesystem/SysFS.h> #include <kernel/KBuffer.h> #include <kernel/memory/MappedROM.h> #include <kernel/memory/Region.h> #include <kernel/Phys...
#pragma once #include <ext/shared_ptr_helper.h> #include <Common/OptimizedRegularExpression.h> #include <Storages/IStorage.h> namespace DB { /** A table that represents the union of an arbitrary number of other tables. * All tables must have the same structure. */ class StorageMerge final : public ext::shared_...
/** * \file * * \brief Peripheral I/O description for SAMG55J19 * * Copyright (c) 2017 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc. * * \license_start * * \page License * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in comp...
/* * This file is part of wl1271 * * Copyright (C) 2009 Nokia Corporation * * Contact: Luciano Coelho <luciano.coelho@nokia.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * version 2 as published by the Free Software Foundati...
/* testavl.c - Test Tim Howes AVL code */ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software <http://www.openldap.org/>. * * Copyright 1998-2019 The OpenLDAP Foundation. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted only as auth...
/* Copyright (c) 2020 UATC, 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 writing, software d...
/* Author: Gudakov Ramil Sergeevich a.k.a. Gauss Гудаков Рамиль Сергеевич Contacts: [ramil2085@mail.ru, ramil2085@gmail.com] See for more information LICENSE.md. */ #pragma once #include "HandlerMMO.h" class THandlerMMO_Slave : public THandlerMMO { public: THandlerMMO_Slave( nsMMOEngine::TBase* pBase ); protecte...
/** * @file usart3.c * @author Matthew Philyaw (matthew.philyaw@gmail.com) * * @brief USART Driver implementation for SerialPort3 */ #include "common.h" #include "MCU/usart3.h" #include "FIFO.h" #define UART_DIV_SAMPLING16(_PCLK_, _BAUD_) (((_PCLK_)*25U)/(4U*(_BAUD_))) #define UART_DIVMANT_SAMPLING16(_...
#pragma once #ifndef ENJON_OBJECT_DEFINES_H #define ENJON_OBJECT_DEFINES_H #include "System/Config.h" enum MetaClassEnumDefines { Abstract, Construct }; enum MetaClassComponentDefines { Requires }; // Would like for these to actually be user-defined attributes, similar to what users can define in C# enum MetaPro...
/*------------------------------------------------------------------------- * * procarray.h * POSTGRES process array definitions. * * * Portions Copyright (c) 1996-2011, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/storage/procarra...
/* * tick internal variable and functions used by low/high res code */ #include <linux/hrtimer.h> #include <linux/tick.h> #include "timekeeping.h" #include "tick-sched.h" #ifdef CONFIG_GENERIC_CLOCKEVENTS # define TICK_DO_TIMER_NONE -1 # define TICK_DO_TIMER_BOOT -2 DECLARE_PER_CPU(struct tick_device, tick_cpu_de...
/* Portions copyright (c) 2006-2015 Stanford University and Simbios. * Contributors: Pande Group * * 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 * witho...
/* +----------------------------------------------------------------------+ | JONJ Version 5 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The JONJ Group | +-------...
// Copyright 2020 Espressif Systems (Shanghai) PTE 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 applic...
/* * MIT License * Copyright (c) 2019 Brian T. Park */ #ifndef ACE_TIME_BASIC_ZONE_H #define ACE_TIME_BASIC_ZONE_H #include "internal/ZoneInfo.h" #include "internal/Brokers.h" #include "common/compat.h" class __FlashStringHelper; namespace ace_time { /** * A thin wrapper around a basic::ZoneInfo data structure...
// C++/WinRT v2.0.200609.3 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #ifndef WINRT_Windows_UI_Input_H #define WINRT_Windows_UI_Input_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.200609.3"), "Mismatched C++/WinRT headers."); #...
/* * Copyright (c) 2007 The DragonFly Project. All rights reserved. * * This code is derived from software contributed to The DragonFly Project * by Matthew Dillon <dillon@backplane.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
#include <sys/cdefs.h> #include "namespace.h" #ifdef __weak_alias __weak_alias(socket, __socket30) #endif #include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdio.h> #include <unistd.h> #include <sys/socket.h> #include <sys/ioc_net.h> #include <net/hton.h> #include <net/gen/in.h> #include <net/gen/e...
/** ****************************************************************************** * @file usbd_conf_template.c * @author MCD Application Team * @brief USB Device configuration and interface file * This template should be copied to the user folder, * renamed and customized following ...
/* * Copyright (c) 2006 Oracle. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU * General Public License (GPL) Version 2, available from the file * COPYING in the main directory of this source tree, or t...
/************************************************************** * * 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 y...
/* ****************************************************************************** * @file wake_up.c * @author Sensors Software Solution Team * @brief This file show the simplest way to detect wake_up from sensor. * ****************************************************************************** * @attention ...
/* * Copyright (C) 2014 Michael Brown <mbrown@fensystems.co.uk>. * * 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....
/* // Copyright (c) 2016 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...
//****************************************************************** // // Copyright 2015 Intel Mobile Communications GmbH All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except ...