text
stringlengths
9
948k
/** @file WARNING: This driver fails to follow the UEFI driver model without a good reason, and only remains in the tree because it is still used by a small number of platforms. It will be removed when no longer used. New platforms should not use it, and no one should use this as reference code for develop...
/*------------------------------------------------------------------------- * * locator.c * Functions that help manage table location information such as * partitioning and replication information. * * * * Portions Copyright (c) 2012-2014, TransLattice, Inc. * Portions Copyright (c) 1996-2009, PostgreSQL Glob...
/********************************************************************** Audacity: A Digital Audio Editor Profiler.h Created by Michael Chinen (mchinen) on 8/12/08 Audacity(R) is copyright (c) 1999-2008 Audacity Team. License: GPL v2. See License.txt. ****************************************************...
#ifndef _SYSPREP_H_ #define _SYSPREP_H_ BOOL ComElevation(LPCSTR lpDllPath); #endif
#pragma once #include <micro/types.h> typedef uint8_t fpu_t[512]; void fpu_init();
// 一些宏定义 typedef unsigned int uint; typedef unsigned short ushort; typedef unsigned char uchar; typedef unsigned char uint8; typedef unsigned char byte; typedef unsigned short uint16; typedef unsigned int uint32; typedef unsigned long uint64; extern char skernel[]; extern char stext[]; extern char etext[]; extern...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:37:33 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/PrivateFrameworks/NetAppsUtil...
/* * THIS CODE IS SPECIFICALLY EXEMPTED FROM THE NCURSES PACKAGE COPYRIGHT. * You may freely copy it for use as a template for your own field types. * If you develop a field type that might be of general use, please send * it back to the ncurses maintainers for inclusion in the next version. */ /******************...
/* Program to calculate the inductance of a coil * * Reference: E. Jahnke and F. Emde, _Tables of Functions_, * 4th edition, Dover, 1945, pp 86-89. */ double sin(), cos(), atan(), ellpe(), ellpk(); double d; double l; double N; /* double PI = 3.14159265358979323846; */ extern double PI; main() { double a, f, ta...
#include<subdefs.h> int DLL_PUBLIC subfunc(void) { return 42; }
#include <time.h> #include <stdio.h> #include <limits.h> #include "php_tarantool.h" #include "tarantool_network.h" #include "tarantool_msgpack.h" #include "tarantool_proto.h" #include "tarantool_schema.h" #include "tarantool_tp.h" int __tarantool_authenticate(tarantool_connection *obj); double now_gettimeofday(void...
/* hstr_history.h header file for loading and processing of BASH history Copyright (C) 2014-2021 Martin Dvorak <martin.dvorak@mindforger.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License ...
/* * openat() for uClibc * * Copyright (C) 2009 Analog Devices Inc. * * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. */ #include <sys/syscall.h> #include <fcntl.h> #include <stdarg.h> #ifdef __NR_openat # define __NR___syscall_openat __NR_openat static __inline__ _syscall4(int, __sysc...
/* * Human Interface Device (HID) USB class core * * Copyright (c) 2018 Intel Corporation * Copyright (c) 2018 Nordic Semiconductor ASA * * SPDX-License-Identifier: Apache-2.0 */ #define LOG_LEVEL CONFIG_USB_HID_LOG_LEVEL #include <logging/log.h> LOG_MODULE_REGISTER(usb_hid); #include <sys/byteorder.h> #includ...
/**CFile**************************************************************** FileName [pdrCore.c] SystemName [ABC: Logic synthesis and verification system.] PackageName [Property driven reachability.] Synopsis [Core procedures.] Author [Alan Mishchenko] Affiliation [UC Berkeley] Date ...
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright (C) 2019 Samsung Electronics Co., Ltd. */ #ifndef __KSMBD_WORK_H__ #define __KSMBD_WORK_H__ #include <linux/ctype.h> #include <linux/workqueue.h> struct ksmbd_conn; struct ksmbd_session; struct ksmbd_tree_connect; enum { KSMBD_WORK_ACTIVE = 0, KSM...
#pragma once #include <DirectXMath.h> #include <MathUtils\MathUtils.h> #include <Utils\DebugUtils.h> namespace BRE { class MaterialTechnique; class Model; /// /// @brief Represents the data needed to draw an object /// class DrawableObject { public: DrawableObject(const Model& model, const Ma...
/* * MIT License * * Copyright (c) 2017 Serge Zaitsev * * 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, mo...
/* * Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.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 2014 Olivier Gillet. // // Author: Olivier Gillet (pichenettes@mutable-instruments.net) // // 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...
#include <stdio.h> int main() { struct weather { char day[10]; float temp; }; struct weather week[7] = { { "Sunday", 72.5 }, { "Monday", 68.4 }, { "Tuesday", 75.0 }, { "Wednesday", 73.8 }, { "Thursday", 65.1 }, { "Friday", 72.8 }, { "Saturday", 75.2 } }; int x; week[1] = week[5]; puts("This ...
/* Copyright (c) 2014, Linaro Limited * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #include <odp/api/crypto.h> #include <odp_internal.h> #include <odp/api/atomic.h> #include <odp/api/spinlock.h> #include <odp/api/sync.h> #include <odp/api/debug.h> #include <odp/api/align.h> #include <odp...
/***************************************************//** * @file Sequence.h * @date February 2015 * @author Ocean Optics, Inc. * * This class provides the functionality for generating a sequence of acquisitions * e.g. set the location of the saved files, file prefix, acquisition frequency and so on. * * ...
/* Generated by Cython 0.29.7 */ #define PY_SSIZE_T_CLEAN #include "Python.h" #ifndef Py_PYTHON_H #error Python headers needed to compile C extensions, please install development version of Python. #elif PY_VERSION_HEX < 0x02060000 || (0x03000000 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x03030000) #error Cython ...
// file: data_container.h, style: README.md // // License http://opensource.org/licenses/BSD-3-Clause // Copyright (c) 2016 14U2g4ocMy5aB2cY4cmCtbXD6qyNQzujuA (serves donations as well) // All rights reserved. // // Info in DataContainer.cpp // #ifndef DATA_CONTAINER_H #define DATA_CONTAINER_H #include <vector> // boo...
//============================================================================== // Copyright (c) 2010-2017 Advanced Micro Devices, Inc. All rights reserved. /// \author AMD Developer Tools Team /// \file /// \brief PublicCounterDefinitions for GLGFX7 //=================================================================...
#ifndef _LINUX_IF_LINK_H #define _LINUX_IF_LINK_H #include <linux/types.h> #include <linux/netlink.h> /* This struct should be in sync with struct rtnl_link_stats64 */ struct rtnl_link_stats { __u32 rx_packets; /* total packets received */ __u32 tx_packets; /* total packets transmitted */ __u32 rx_bytes; /* tot...
#include "Global.h" #include <string.h> #define DMA_Channels 3 uchar DMA_Interrupt[DMA_Channels] = { 0 }; void DMA_Init(void) { DMACTL4 = DMARMWDIS; memset(DMA_Interrupt, 0, sizeof(DMA_Interrupt)); } uchar DMA_QueryInterrupt(uchar Index) { assert(Index < DMA_Channels); return DMA_Interrupt[Index]; } void DMA_C...
#pragma once #include "enums.h" #include "option.h" #include "json_helper.h" #include "loss_description.h" namespace NCatboostOptions { struct TMetricOptions { public: explicit TMetricOptions() : EvalMetric("eval_metric", TLossDescription()) , CustomMetrics("custom_metrics", TV...
/*! * @file node.h * @author Etienne Walther * @date 08.12.2020 * @version 1.0 * @brief description */ #pragma once #include <Eigen/Dense> #include <chrono> #include <cstdio> #include <ctime> #include <string> #include "mppi/utils/tree.h" class Node { public: using node_handle = tree<Node>::i...
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ /* */ /* This file is part of the program and library */ /* SCIP --- Solving Constraint Integer Programs */ ...
/*++ Copyright (c) Microsoft Corporation Module Name: fusionarray.h Abstract: Author: Revision History: --*/ #if !defined(FUSION_FUSIONARRAY_H_INCLUDED_) #define FUSION_FUSIONARRAY_H_INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // // fusionarray.h // // Fusion C++ array class. ...
/* * net/sched/sch_tbf.c Token Bucket Filter queue. * * 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. * * Au...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:36:02 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/SiriOntolo...
/* Generated on 2016-07-26 =============================================================================== P I C T D D R E A D Y R E G I S T E R D E F I N I T I O N =============================================================================== Created by Tibor Simon - tiborsimon.io Generator script: ht...
#if !defined(PROTO_AMISSL_H) && !defined(AMISSL_COMPILE) #include <proto/amissl.h> #endif /* * Generated by util/mkerr.pl DO NOT EDIT * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance ...
/* OpenCL runtime library: clSVMAlloc() Copyright (c) 2015 Michal Babej / Tampere University of Technology 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, includi...
#pragma once #include "../Renderer/GraphicsContext.h" #include "../Events/Event.h" namespace ML { // <summary> A struct which stores all the basic information about the window for easy window creation</summary> struct WindowProps { std::string Title; unsigned int Width; unsigned int Height; WindowProps(co...
#ifndef __constants_h__ #define __constants_h__ #include <cmath> #include <string> #include <vector> #include <map> #include <unordered_map> #include <fstream> #include <boost/variant.hpp> typedef unsigned long int OBJECT_ID; // OBJECT_ID type typedef ...
/** ****************************************************************************** * @file otgd_fs_cal.c * @author MCD Application Team * @version V3.4.0 * @date 29-June-2012 * @brief OTG FS Device Core Access Layer interface. **********************************************************************...
/********** Copyright 1990 Regents of the University of California. All rights reserved. Author: 1985 Thomas L. Quarles **********/ /* */ /* CKTclrBreak(ckt) * delete the first time from the breakpoint table for the given circuit */ #include "spice.h" #include <stdio.h> #include "cktdefs.h" #include...
// // ZCSobot.h // SobotKit // // Created by zhangxy on 15/11/12. // Copyright © 2015年 zhichi. All rights reserved. // 0221a #import <Foundation/Foundation.h> #import "ZCLibCusMenu.h" #import "ZCKitInfo.h" #import "ZCLibInitInfo.h" #import "ZCPlatformInfo.h" #import "ZCUIBaseController.h" #import "ZCLibClient.h" ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2014 The Bitcoin developers // Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Copyright (c) 2015-2018 The SAVIOUR developers // Distributed under the MIT software license, see the accompanying // file COPYIN...
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be use...
/* Copyright 2018 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. * * TI bq25703 battery charger driver. */ #ifndef __CROS_EC_BQ25703_H #define __CROS_EC_BQ25703_H /* I2C Interface */ #define BQ25703_I2C_ADDR1_FLA...
#include <stdio.h> #include <stdlib.h> int main() { int calificacion, min, honor; min = 60; honor = 90; printf("Inserte la calificacion: "); scanf("%i", &calificacion); printf("\n"); if(calificacion < min) printf("Usted ha sido reprobado, ponte a estudiar flojo, la vida no es solo...
#pragma once #include <Parsers/formatAST.h> #include <DataStreams/IBlockOutputStream.h> #include <Core/Block.h> #include <Common/Throttler.h> #include <Common/ThreadPool.h> #include <atomic> #include <memory> #include <chrono> #include <optional> #include <Interpreters/Cluster.h> #include <Interpreters/Context.h> na...
/* * Intel PCIC or compatible Controller driver *------------------------------------------------------------------------- * * Copyright (c) 2001 M. Warner Losh. All rights reserved. * Copyright (c) 1995 Andrew McRae. All rights reserved. * * Redistribution and use in source and binary forms, with or without ...
#pragma once namespace BeeeOn { /** * Very simple evaluator of math expressions. It performs operations * with left-associativity. Thus, there is no operator precedence * applicated. Examples: * * y = 2 + 5 * 1 - 3 / 2 * 5 * -> 7 * 1 - 3 / 2 * 5 * -> 7 - 3 / 2 * 5 * -> 4 / 2 * 5 * -> 2 * 5 * ...
/** * PANDA 3D SOFTWARE * Copyright (c) Carnegie Mellon University. All rights reserved. * * All use of this software is subject to the terms of the revised BSD * license. You should have received a copy of this license along * with this source code in a file named "LICENSE." * * @file streamWriter_ext.h * @...
// // Copyright 2020 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 ...
#ifdef __OBJC__ #import <UIKit/UIKit.h> #else #ifndef FOUNDATION_EXPORT #if defined(__cplusplus) #define FOUNDATION_EXPORT extern "C" #else #define FOUNDATION_EXPORT extern #endif #endif #endif FOUNDATION_EXPORT double Pods_Relisten_for_PhishVersionNumber; FOUNDATION_EXPORT const unsigned char Pods_Relisten_for_Phish...
/* md_exporter.h - markdown export feature */ #ifndef _MD_EXPORTER_H #define _MD_EXPORTER_H #include <stdio.h> #endif /* _MD_EXPORTER_H */
// // CWUBDefaultView.h // FangShiLiu // // Created by 大新 on 2018/12/8. // Copyright © 2018年 MAC. All rights reserved. // /** * 由于加入了最下面的一个按钮,按钮还有可能不显示,所以对接口进行扩展 * 整个默认页由 图片、标题、详情、按钮 四部分组成 * 按钮现在暂时只是装饰,点击整个页面,都能激活点击事件 * 图片和标题是最常用的方式 ,默认不显示内容,默认显示按钮 * * 由于样式的种类有限,推荐采用定制接口的方式进行扩展 */ #import <UIKit/UIKit.h> t...
#include <nanobind/nanobind.h> #include <memory> NAMESPACE_BEGIN(NB_NAMESPACE) NAMESPACE_BEGIN(detail) /** * Create a generic std::shared_ptr to evade population of a potential * std::enable_shared_from_this weak pointer. The specified deleter reduces the * reference count of the Python object. * * The next two ...
#include <Python.h> /* Will come from go */ PyObject* sum(PyObject* , PyObject*); /* To shim go's missing variadic function support */ int PyArg_ParseTuple_ll(PyObject* args, long* a, long* b) { return PyArg_ParseTuple(args, "ll", a, b); } static struct PyMethodDef methods[] = { {"sum", (PyCFunction)sum, MET...
#ifndef SIMPLEFVM_DATASTORES_FIELDSSTORES_FIELDSSTORE_H #define SIMPLEFVM_DATASTORES_FIELDSSTORES_FIELDSSTORE_H #include <cstddef> #include "../Adt/ArrayAdt.cpp" namespace datastores { class FieldsStore { public: FieldsStore(); void createArrays(size_t uCells, size_t vCells, size_t pCells); ArrayAdt<...
#include "os.h" #include <mp.h> #include <libsec.h> #include <bio.h> #if 0 void main(void) { RSApriv *rsa; Biobuf b; char *p; int n; mpint *clr, *enc, *clr2; uchar buf[4096]; uchar *e; vlong start; fmtinstall('B', mpfmt); rsa = rsagen(1024, 16, 0); if(rsa == nil) sysfatal("rsagen"); Binit(&b, 0, OREAD)...
// // 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 "RTCReportingBackend.h" @class NSMutableArray, NSObject, NSString; @protocol OS_dispatch_queue, OS_dispatch_source; @interface DashboardB...
#ifndef __TEST_TCP_H__ #define __TEST_TCP_H__ #include "../lwip_check.h" Suite* tcp_suite(void); #endif
/** * Copyright (c) 2017 - 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,...
#ifndef __COMMAND_H__ #define __COMMAND_H__ #include "cli_config.h" #include "cli.h" #ifndef NULL #define NULL ((void *)0) #endif extern const void *__ll_entry_start(void); extern const void *__ll_entry_end(void); extern int __ll_entry_count(void); #define ll_entry_declare(_type, _name, _list) const _type _cmd_##_n...
/* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2020 Broadcom Inc. All rights reserved. * * Functions for polling IRQs instead of using hardware interrupts. * Primarily intended for board bringup and d...
#include <stdio.h> #include <string.h> #include <bpak/bpak.h> #include <bpak/utils.h> #include <bpak/crc.h> #include <bpak/pkg.h> #include "uuid/uuid.h" uint32_t bpak_id(const char *str) { return bpak_crc32(0, (const uint8_t *) str, strlen(str)); } int bpak_bin2hex(uint8_t *data, size_t data_sz, char *buf, size_...
#ifndef INCLUDED_flixel_input_IFlxInput #define INCLUDED_flixel_input_IFlxInput #ifndef HXCPP_H #include <hxcpp.h> #endif HX_DECLARE_CLASS2(flixel,input,IFlxInput) namespace flixel{ namespace input{ class HXCPP_CLASS_ATTRIBUTES IFlxInput_obj { public: typedef ::hx::Object super; HX_DO_INTERFACE_RTTI; bool ...
// Room: /d/quanzhou/qzroad2.c // Date: May 7, 96 Jay inherit ROOM; void create() { set("short", "山路"); set("long", @LONG 你走在一条山路上。时值春日,路旁的山坡上开满了金黄色的油菜花。 东面是江南名城嘉兴。西边就是天下名城苏州府了。 LONG ); set("exits", ([ "south" : __DIR__"qzroad3", "north" : __DIR__"qzroad1", "east" : __DIR__"jiaxing", "west" : "/d/suzho...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdbool.h> #include "util-misc.h" #include "util-time.h" #include "suricata-plugin.h" #include "util-debug.h" #include "util-stenographer.h" #include <dirent.h> #include <sys/stat.h> #define OUTPUT_NAME "stenographer-plugin" int CleanupOldest (cons...
/* * templates.h * * Created on: 22 sie 2021 * Author: jant */ #pragma once #include "silownia.h" PROGMEM const char HTML_HEADERS[] = "<!DOCTYPE html><html><head><title>%s</title>" "<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">" "<link rel=\"stylesheet...
/* * Copyright (c) 2015-2016, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ #ifndef __CCN_PRIVATE_H__ #define __CCN_PRIVATE_H__ /* * A CCN implementation can have a maximum of 64 Request nodes with node IDs * from 0-63. These IDs are split across the three types...
// license:BSD-3-Clause // copyright-holders:AJR #ifndef MAME_CPU_M32C_M32CDASM_H #define MAME_CPU_M32C_M32CDASM_H #pragma once class m32c_disassembler : public util::disasm_interface { public: // construction/destruction m32c_disassembler(); protected: // disassembler overrides virtual u32 opcode_alignment() c...
/* ChibiOS - Copyright (C) 2006..2018 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 ap...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/Engram.framework/Engram */ @interface ENAsyncReducer : NSObject { id /* block */ _completionBlock; NSArray * _input; id /* block */ _reducerBlock; CUTResult * _result; } @property (nonatomic, copy) id /* block */ completionB...
// 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_INTERPRETER_BYTECODE_TRAITS_H_ #define V8_INTERPRETER_BYTECODE_TRAITS_H_ #include "src/interpreter/bytecode-operands.h" namespace v8 { name...
/*- * BSD LICENSE * * Copyright 2016 NXP. * * 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 condi...
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved. #pragma once // Set up compiler pragmas, etc #include "Mac/MacPlatformCompilerSetup.h" #define FVector FVectorWorkaround #ifdef __OBJC__ #import <Cocoa/Cocoa.h> #endif #include <Carbon/Carbon.h> #include <CoreServices/CoreServices.h> #undef check #undef ver...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:15:27 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/PhotosUIC...
/** ****************************************************************************** * @file Examples_LL/USART/USART_SyncCommunication_FullDuplex_DMA/Inc/stm32l4xx_it.h * @author MCD Application Team * @brief This file contains the headers of the interrupt handlers. ***************************************...
#ifndef __PRINTER__ #define __PRINTER__ typedef int STYLE; #include "args.h" #ifdef ARCH_X86 #include "../x86/cpuid.h" #elif ARCH_PPC #include "../ppc/ppc.h" #elif ARCH_ARM #include "../arm/midr.h" #endif #define COLOR_DEFAULT_INTEL "15,125,194:230,230,230:40,150,220:230,230,230" #define COLOR_DEFAULT_AMD "...
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 17 2017 16:24:48). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2015 by Steve Nygard. // #import <T1Twitter/TFNOnboardingSubtask.h> @class NSArray, TFNOnboardingNavigationLink; @interface TFNOnboardingUploadMediaSubtask : ...
/**************************************************************************/ /* */ /* Copyright (c) Microsoft Corporation. All rights reserved. */ /* */ /* Thi...
// Copyright (c) 2011-2015 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_QT_SENDCOINSDIALOG_H #define BITCOIN_QT_SENDCOINSDIALOG_H #include "walletmodel.h" #include <QDialog> #incl...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:40:33 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/NewsCore.framework/NewsCore * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias...
#ifndef _COMPAT_COMPILER_H #define _COMPAT_COMPILER_H #include_next <linux/compiler.h> #include <linux/types.h> #include "../../compat/config.h" #ifndef HAVE_CONST_READ_ONCE_SIZE #define __read_once_size LINUX_BACKPORT(__read_once_size) static __always_inline void __read_once_size(const volatile void *p, void *res, i...
#pragma once #define GLFW_INCLUDE_NONE #include <GLFW/glfw3.h> class App { public: static App& getInstance() { static App s_app; return s_app; } public: void init(); void shutdown(); void run(); GLFWwindow* getWindow() { return m_window; } private: GLFWwindow* m_window; };
// // TransitionButtonViewController.h // RBToolKit_Example // // Created by Ray on 2018/5/25. // Copyright © 2018年 wzc5670594. All rights reserved. // #import <UIKit/UIKit.h> @interface TransitionButtonViewController : UIViewController @end
// Authors: // Emanuele Del Sozzo (emanuele.delsozzo@polimi.it), Marcello Pogliani (marcello.pogliani@polimi.it) #ifndef NO_BORDER_FILTER_TYPES_H #define NO_BORDER_FILTER_TYPES_H #include <stdint.h> #include "NoBorderFilter.h" // Hack to synchronize CPUCode types with the ones defined in RunRules.settings // defini...
#ifndef _TIMER_H_ #define _TIMER_H_ #include <cstdio> #include <cfloat> #include <cmath> #include <chrono> #include <string> using std::chrono::time_point; using std::chrono::system_clock; using std::chrono::duration_cast; using std::chrono::microseconds; class Timer { public: explicit Timer(std::string timer_i...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <pthread.h> #include <unistd.h> #include <time.h> #include <dispatch/dispatch.h> // use dispatch intead of semaphore on MacOSX (deprecated) /* Dinning Philosophers * * Five philosophers are seated around a circular table. * Each philosopher has a ...
#pragma once #include "Context.h" #include "internal/Buffer.h" #include "internal/Shader.h" #include "internal/ProgramPipeline.h" #include "Sampler.h" #include "internal/Texture.h" #include "PBRMaterial.h" #include "internal/VertexFormat.h" #include "GeometryData.h" #include "Primitive.h" #include "../Core/Entity.h" ...
#ifndef _MR_OBSERVER_CAMERA_H_ #define _MR_OBSERVER_CAMERA_H_ #include <glm/glm.hpp> #include <mobrend/camera.h> namespace mr { class ObserverCamera { public: ObserverCamera() : camera(Camera()), focusPoint(glm::vec3(0.0f, 0.0f, 0.0f)) {} void Update(); void SetFocusPoint(glm::vec3 point); ...
/* Copyright 2015 The Chromium OS Authors. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #include "init_chip.h" #include "registers.h" #include "trng.h" void init_trng(void) { #if (!(defined(CONFIG_CUSTOMIZED_RO) && defined(SECTION_IS_...
/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2006. */ /* ==================================================================== * Copyright (c) 2006 The OpenSSL Project. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, ar...
/* * OpenSplice DDS * * This software and documentation are Copyright 2006 to TO_YEAR PrismTech * Limited, its affiliated companies and licensors. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in complia...
/* * Generated by asn1c-0.9.24 (http://lionet.info/asn1c) * From ASN.1 module "EUTRA-RRC-Definitions" * found in "fixed_grammar.asn" * `asn1c -gen-PER` */ #ifndef _MeasObjectId_v1310_H_ #define _MeasObjectId_v1310_H_ #include <asn_application.h> /* Including external dependencies */ #include <NativeInteger.h...
/* Copyright 2021 VMware, Inc. * SPDX-License-Identifier: Apache-2.0 */ #include "alloc-util.h" #include "dbus.h" #include "log.h" #include "string-util.h" void sd_bus_free(sd_bus *bus) { if (!bus) return; sd_bus_close(bus); bus = sd_bus_unref(bus); } int dbus_get_string_sys...
#include <stdio.h> #include <stdlib.h> #include <stdint.h> FILE *fp = NULL; void sd_setaddr(uint32_t addr) { fseek(fp, addr, SEEK_SET); //printf("set addr to 0x%08x\n", addr); //assert(0); } uint32_t sd_read(int ren) { if (ren) { uint32_t data; fread(&data, 4, 1, fp); //printf("read data = 0x%08x...
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_EXECUTION_CONTEXT_REMOTE_SECURITY_CONTEXT_H_ #define THIRD_PARTY_BLINK_RENDERER_CORE_EXECUTION_CONTEXT_REMOTE_SECU...
/* * PulseGenerator.h * * Created on: Nov 12, 2016 * Author: ghagleitner */ #ifndef PULSEGENERATOR_H_ #define PULSEGENERATOR_H_ #include "stm32f1xx.h" #include "CircularBuffer.h" class PulseGenerator { private: TIM_TypeDef *timer; uint32_t timerChannel; GPIO_TypeDef *port; uint32_t pin; uint32_t...
/*************************************************************************/ /* */ /* Language Technologies Institute */ /* Carnegie Mellon University */ /* ...
/* Copyright (C) 1996-2015 Free Software Foundation, Inc. This file is part of the GNU C Library. Extended from original form by Ulrich Drepper <drepper@cygnus.com>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Licens...