text
stringlengths
9
948k
// Copyright 2017 The Ray Authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
/********************************************************* * Copyright (C) 1998 VMware, Inc. All rights reserved. * * This program 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 version 2.1 and no ...
/* ProntoHex by Simon Peter */ #ifndef ProntoHex_h #define ProntoHex_h #include "Arduino.h" class ProntoHex { public: void convert(String hexcode); int frequency; int length; unsigned int hexToInt(const char *hex); String join(unsigned int strs[], int len); unsigned int convertedRaw[256];...
/* Copyright (C) 1991-2016 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 ...
#ifndef _OPERATORS_H_ #define _OPERATORS_H_ class Operators { public: int value; Operators() { } Operators(int value) { this->value = value; } virtual ~Operators() { } Operators operator+(Operators f) { return Operators(this->value + f.value); } Operators operator-(Operators f) { return Operato...
// Auto-generated file. Do not edit! // Template: src/qs8-gemm/neon-mull-addw-dup.c.in // Generator: tools/xngen // // Copyright 2020 Google LLC // // This source code is licensed under the BSD-style license found in the // LICENSE file in the root directory of this source tree. #include <assert.h> #include <arm_...
/** * If not stated otherwise in this file or this component's LICENSE * file the following copyright and licenses apply: * * Copyright 2019 RDK Management * * 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 th...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/sagemaker/SageMaker_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { template<typename RESULT_TYPE> class AmazonWebServiceResu...
/* * Copyright (c) 2013, Thingsquare, http://www.thingsquare.com/. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * ...
#pragma once #include <ATen/DimVector.h> #include <c10/core/TensorOptions.h> #include <ATen/core/Dimname.h> namespace at { class Tensor; namespace impl { // Use this to define the prototype for a meta function. There are two // versions; one that takes one argument (just the operator name), or FUNC2 // variant th...
//HEADER_GOES_HERE #ifndef __GMENU_H__ #define __GMENU_H__ extern void *optbar_cel; extern BOOLEAN byte_634464; // weak extern void *PentSpin_cel; extern void *BigTGold_cel; extern int dword_634474; // weak extern char byte_634478; // weak extern void(__cdecl *dword_63447C)(); extern TMenuItem *dword_634480; // idb ex...
/* * Copyright 2015 Rockchip Electronics Co. LTD * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
#pragma once #include "TestCase.h" #include <playfab/PFGlobal.h> #include <playfab/PFEntity.h> #include <playfab/cpp/PFPlayStreamDataModelWrappers.h> #include "AutoGenPlayStreamResultHolders.h" namespace PlayFabUnit { class AutoGenPlayStreamTests : public PlayFabApiTestCase { private: static void Log(std::strin...
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * Definitions for the Interfaces handler. * * Version: @(#)dev.h 1.0.10 08/12/93 * * Authors: Ross Biro, <bi...
/** * Copyright (c) 2013-2014 Tomas Dzetkulic * Copyright (c) 2013-2014 Pavol Rusnak * * 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 ...
#define _GNU_SOURCE /* asprintf() */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include "discord.h" #include "discord-internal.h" #include "cee-utils.h" struct msg { u64_snowflake_t id; bool matched; }; ORCAcode discord_delete_messages_by_author_id( struct discord *client, u64_snowflake_t c...
// Copyright 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 BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ #define BASE_MEMORY_SHARED_MEMORY_HANDLE_H_ #include <stddef.h> #include "base/unguessable_token.h" #include...
/* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * 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, ...
#pragma GCC system_header #pragma GCC visibility push(default) #include_next <freetype/ftbitmap.h> #pragma GCC visibility pop
// SPDX-License-Identifier: GPL-2.0-only /* * linux/mm/oom_kill.c * * Copyright (C) 1998,2000 Rik van Riel * Thanks go out to Claus Fischer for some serious inspiration and * for goading me into coding this file... * Copyright (C) 2010 Google, Inc. * Rewritten by David Rientjes * * The routines in thi...
// based on https://github.com/nem0/LumixEngine/blob/master/external/imgui/imgui_dock.h // modified from https://bitbucket.org/duangle/liminal/src/tip/src/liminal/imgui_dock.h #pragma once // Forward declarations typedef int ImGuiWindowFlags; typedef enum ImGuiDockSlot { ImGuiDockSlot_Left, ImGuiDockSlot...
//===----------------------------------------------------------------------===// // // Peloton // // tuple.h // // Identification: src/backend/storage/tuple.h // // Copyright (c) 2015-16, Carnegie Mellon University Database Group // //===----------------------------------------------------------...
/* * Copyright (c) 2018, United States government as represented by the * administrator of the National Aeronautics Space Administration. * All rights reserved. This software was created at NASA Glenn * Research Center pursuant to government contracts. * * This is governed by the NASA Op...
// --------------------------------------------------------------------- // // Copyright (c) 2011 - 2019 by the IBAMR developers // All rights reserved. // // This file is part of IBAMR. // // IBAMR is free software and is distributed under the 3-clause BSD // license. The full text of the license can be found in the f...
/* ----------------------------------------------------------------------------- This source file is part of OGRE-Next (Object-oriented Graphics Rendering Engine) For the latest info, see http://www.ogre3d.org/ Copyright (c) 2000-2014 Torus Knot Software Ltd Permission is hereby granted, free of charge, to any pe...
/******************************************************************************* * Copyright (C) 2009-2011 FuseSource Corp. * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is ava...
/* * Copyright 2018 Google * * 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 w...
// // JiveContentRequestOptions.h // jive-ios-sdk // // Created by Orson Bushnell on 12/3/12. // // Copyright 2013 Jive Software Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the Lice...
// ------------------------------------------------- // BlinKit - BlinKit Library // ------------------------------------------------- // File Name: HTMLProgressElement.h // Description: HTMLProgressElement Class // Author: Ziming Li // Created: 2021-11-11 // -------------------------------------------------...
#ifndef WEATHERDATA_H #define WEATHERDATA_H #include <application.h> // setup class to hold weather data and functions to get data // load information by calling weatherData() and passing variables // get data by calling vaious functions to return data values // no need to initialize object in main portion of program ...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) | | Copyrigh...
/* Copyright (c) 2017, United States Government, as represented by the * Administrator of the National Aeronautics and Space Administration. * * All rights reserved. * * The Astrobee platform is licensed under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with t...
#pragma once #include "text_dataset.h" #include <library/containers/dense_hash/dense_hash.h> #include <library/threading/local_executor/local_executor.h> #include <util/system/types.h> #include <util/generic/ptr.h> namespace NCB { class IEmbedding : public TThrRefBase { public: virtual ui64 Dim(...
/* * 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 ...
/**************************************************************************** * config/sama5d4-ek/src/sam_hsmci.c * * Copyright (C) 2014 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permi...
#include "kinchl.h" #include <kinc/audio1/audio.h> #include <kinc/log.h> // AUDIO 1 // DEFINE_OBJ_EX(a1_channel,kinc_a1_channel_t) // ALLOC_OBJ_EX(a1_channel,kinc_a1_channel_t,kinc_a1_channel) // MAKE_GET(kinc_a1_channel_t, a1_channel, sound, kinc_a1_sound_t *, _ABSTRACT(kinc_a1_channel_t), _ABSTRACT(kinc_a1_sound_t)) ...
// MIT License // Copyright (c) 2017 Vadim Grigoruk @nesbox // grigoruk@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 ri...
/* * Copyright(c) 2015 Intel Corporation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. * * This program is distributed in the hope that it will be u...
// Implement Binary Search Tree Write a Function To Insert a node // To traverse the tree using all the methods i.e., inorder, preorder and postorder. // Given a non-empty binary search tree (an ordered binary tree), return the // minimum data value found in that tree. // Given a non-empty bina...
/** * This version is stamped on May 10, 2016 * * Contact: * Louis-Noel Pouchet <pouchet.ohio-state.edu> * Tomofumi Yuki <tomofumi.yuki.fr> * * Web address: http://polybench.sourceforge.net */ /* * polybench.h: this file is part of PolyBench/C * * Polybench header for instrumentation. * * Programs must...
#ifndef XLISTWIDGETVT_H #define XLISTWIDGETVT_H /** * 视频终端面板控件 作者:feiyangqingyun(QQ:517216493) 2019-03-31 * 1. 可设置视频终端个数。 * 2. 可设置文字颜色、背景颜色。 * 3. 可设置鼠标选中文字颜色、鼠标选中背景颜色。 * 4. 可设置鼠标悬停文字颜色、鼠标悬停背景颜色。 * 5. 可设置标题、标题颜色。 * 6. 可设置节点的最小宽度高度。 * 7. 可设置节点字符串集合。 * 8. 可设置节点个数,自动生成节点。 * 9. 可设置滚动条位置左侧右侧、宽度、颜色。 */ #include ...
#ifndef FILE_PERMS_H #define FILE_PERMS_H #include <sys/types.h> #define FP_SPECIAL 1 char *filePermStr(mode_t mode, int flags); #endif
/* * This file is part of the coreboot project. * * Copyright (C) 2013 Alexandru Gagniuc <mr.nuke.me@gmail.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 Software Foundation, either version 2 of the ...
#pragma once #include <Tempest/Size> #include <cstdint> namespace Tempest { class PaintDevice; class TextureAtlas; class Painter; class Event { public: Event()=default; virtual ~Event(){} void accept(){ accepted = true; } void ignore(){ accepted = false; } bool isAccepted() const { re...
// C++/WinRT v1.0.170825.9 // Copyright (c) 2017 Microsoft Corporation. All rights reserved. #pragma once WINRT_EXPORT namespace winrt::Windows::ApplicationModel::AppService { struct AppServiceConnection; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct IMemoryBufferReference; struct Uri; } WINRT_E...
/* * Example program for the Allegro library. * * This program tests if the ALLEGRO_KEYBOARD_STATE `display' field * is set correctly to the focused display. */ #include "allegro5/allegro.h" #include "common.c" static ALLEGRO_DISPLAY *display1; static ALLEGRO_DISPLAY *display2; static void redraw(ALLE...
#ifndef RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H #define RECOMET_METPRODUCERS_HCALHALODATAPRODUCER_H /* [class]: HcalHaloDataProducer [authors]: R. Remington, The University of Florida [description]: EDProducer which runs HcalHaloAlgo and stores HcalHaloData object to the event. [date]: October 15, 2009 *...
/** * \cond LICENSE * The MIT License (MIT) * * Copyright (c) 2015 Taras Mychaskiw * * 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 limitatio...
/* * Copyright (C) 2001-2005 Greg Kroah-Hartman (greg@kroah.com) * Copyright (C) 2009 Outpost Embedded, LLC */ #include <linux/kernel.h> #include <linux/init.h> #include <linux/tty.h> #include <linux/module.h> #include <linux/usb.h> #include <linux/usb/serial.h> #define DRIVER_VERSION "v1.0" #define DRIVER_DESC "...
/* * utils.h * * Created on: Jan 15, 2020 * Author: Muchiri John */ #ifndef UTILS_H_ #define UTILS_H_ #include <stdint.h> #include <string.h> #include <stdio.h> #include <math.h> char* dateTimeFormat(char *bf_tk, uint32_t, char); uint8_t adcToPercent(uint16_t); #endif /* UTILS_H_ */
#include <dr_libs/dr_flac.h> #ifdef __linux__ #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif #ifndef _DEFAULT_SOURCE #define _DEFAULT_SOURCE #endif #ifndef __USE_BSD #define __USE_BSD #endif #include <endian.h> #endif #include <stdlib.h> #include <string.h> #ifdef _MSC_VER #define DRFLAC_INLINE __forceinline #elif d...
#pragma once //fwd namespace scenes { struct IScene; } namespace components { struct Scene { std::shared_ptr<scenes::IScene> scene; String name; Scene(const std::shared_ptr<scenes::IScene>& scene, StringView name) : scene(scene), name(name) {} }; using ActiveScene = entt::tag<"ActiveScene"_hs>; str...
// // Shape.h // Pizarro // // Created by Sveinbjorn Thordarson on 2/16/11. // Copyright 2011 Corrino Software. All rights reserved. // #import <Foundation/Foundation.h> #import "cocos2d.h" #import "Constants.h" #import "chipmunk.h" @interface Shape : CCNode <CCRGBAProtocol> { GLubyte opacity; ccColor3B color; ...
// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "KantanCategoryChart.h" #include "SKantanPieChart.h" #include "KantanPieChartStyle.h" #include "KantanPieChartBase.generated.h" UCLASS(Abstract) class KANTANCHARTSUMG_API UKantanPieChartBase : public UKantanCategory...
// Copyright eeGeo Ltd (2012-2017), All Rights Reserved #pragma once #include "iOSScreenshotService.h" #include "AutomatedScreenshotController.h" #include "CallbackCollection.h" namespace ExampleApp { namespace Automation { namespace SdkModel { class iOSAutomatedScreenshotControll...
/******************************************************************************* File Name: bootloader_nvm_interface.h Summary: NVM Interface function definitions. Description: This file contains the definitions needed for PLIB usage of the Flash Controller. ************************************...
/*----------- defined in machine/system24.c -----------*/ /* system24temp_ functions / variables are from shared rewrite files, once the rest of the rewrite is complete they can be removed, I just made a copy & renamed them for now to avoid any conflicts */ /* New Code */ extern UINT16 *system24temp_sys16_shar...
#pragma once #include <cstddef> #include <random> namespace NParams { namespace NMatrix { constexpr size_t NRows = 1e4; constexpr size_t NCols = 1e4; } namespace NRandom { constexpr unsigned Seed = 321; constexpr int Max = 1e3; constexpr int Min = -1e3; } } in...
/****************************************************************************** Copyright (c) 2018, Alexander W. Winkler. 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...
/* * Copyright 2020 The TensorFlow Runtime Authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicab...
/* +----------------------------------------------------------------------+ | HipHop for PHP | +----------------------------------------------------------------------+ | Copyright (c) 2010-present Facebook, Inc. (http://www.facebook.com) | +--------------...
// Copyright (c) 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef IPC_IPC_PERFTEST_SUPPORT_H_ #define IPC_IPC_PERFTEST_SUPPORT_H_ #include <stddef.h> #include <memory> #include <vector> #include "base/macr...
/* * CXSPARSE: a Concise Sparse Matrix package - Extended. * Copyright (c) 2006-2009, Timothy A. Davis. * http://www.cise.ufl.edu/research/sparse/CXSparse * * CXSparse 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...
/* * Copyright (C) 2012 Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and t...
/* Copyright (c) 2017 TOSHIBA Digital Solutions 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 ...
// micro-C example 0 void main(int n) { int a[10]; int dummy; int x; int y; a[6] = 7777; print a[6]; x = y + 42; print (dummy = n = 666); dummy = n + (n + (n + n)); // OK // dummy = n + (n + (n + (n + n))); // Too complex // n = n + (n + (n + (n + (n + n)))); // Too complex print n + (n + (n...
#pragma once #include<string> #include"../UtilLib/ByteBuffer.h" class CSSOReqHead { public: CSSOReqHead(void); virtual ~CSSOReqHead(void); public: void init(int,int,int,char,std::string &,std::string &,char const*,int,std::string &, std::string &,std::string &,std::string &,std::string &,int); int Length(); int ...
/* * Amazon FreeRTOS Greengrass V2.0.0 * Copyright (C) 2018 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 restricti...
/* * Copyright (C) 2013 Google 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: * * * Redistributions of source code must retain the above copyright * notice, this list of conditio...
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include <atomic> #include <vespamalloc/malloc/common.h> #include <vespamalloc/malloc/allocchunk.h> #include <vespamalloc/malloc/globalpool.h> namespace vespamalloc { template <typename...
#include <stdint.h> extern void hal_create(); extern void hal_set_led(uint8_t led_no, uint8_t state); extern uint8_t hal_is_pressed(uint8_t key_no); extern uint16_t hal_get_adc_value();
// Copyright (C) 2015 University of Oregon // You may distribute under the terms of either the GNU General Public // License or the Apache License, as specified in the LICENSE file. // For more information, see the LICENSE file. #ifndef LINT #endif /* */ /* gHMQC - Gradient Selected phase-sensitive HMQC Paramters:...
/* * %CopyrightBegin% * * Copyright Ericsson AB 2009-2020. 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 * ...
#pragma function(memset) void *memset(void *dest, int c, size_t count) { char *bytes = (char *)dest; while (count--) { *bytes++ = (char)c; } return dest; } #pragma function(memcpy) void *memcpy(void *dest, const void *src, size_t count) { char *dest8 = (char *)dest; const char *src8...
/* * Copyright (C) 2016 Texas Instruments Incorporated * * All rights reserved. Property of Texas Instruments Incorporated. * Restricted rights to use, duplicate or disclose this code are * granted through contract. * * The program may not be used without the written permission of * Texas Instrument...
#include "cmos.h" #include <core/ports.h> #include <mem.h> #include <stdbool.h> uint8_t read_register(uint8_t reg); bool update_in_progress(); bool rtc_values_are_not_equal(cmos_rtc_t c1, cmos_rtc_t c2); cmos_rtc_t cmos_read_rtc() { cmos_rtc_t rtc; cmos_rtc_t last; // This uses the "read registers until ...
#ifndef GLOBAL_H #define GLOBAL_H int set_global(const char* name, const char* value); const char* get_global(const char* name); #endif
/* * 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 ...
/* +----------------------------------------------------------------------+ | Zend Engine | +----------------------------------------------------------------------+ | Copyright (c) Zend Technologies Ltd. (http://www.zend.com) | +---------...
/* * (C) Copyright 2015-2021 Intel Corporation. * * SPDX-License-Identifier: BSD-2-Clause-Patent */ /** * \file * * ds_cont: Container Server API */ #ifndef __DAOS_SRV_CONTAINER_H__ #define __DAOS_SRV_CONTAINER_H__ #include <daos/common.h> #include <daos_types.h> #include <daos_srv/daos_engine.h> #include <da...
struct args_s { char *port; char *addr; int verify_cert; int mesure_handshake; char *file; char *ciphersuite; }; struct args_s *parse_args(int ac, char **av);
/* * mon_file.h - The VICE built-in monitor file functions. * * Written by * Andreas Boose <viceteam@t-online.de> * * This file is part of VICE, the Versatile Commodore Emulator. * See README for copyright notice. * * This program is free software; you can redistribute it and/or modify * it under the terms...
/* * ***** BEGIN GPL LICENSE BLOCK ***** * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program is d...
#pragma once #include "precomp.h" #include "behaviors/base.h" #include "props.h" struct TextComponent : BaseComponent { struct Props { PROP( std::string, content, .label("Content") .rulesGet(false) ) = ""; PROP( bool, visible, .label("Visible") ...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Copyright (c) 2017-2018 The Bitcoin developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_SCRIPT_INTERPRE...
// Copyright (c) Victor Derks. // SPDX-License-Identifier: MIT #pragma once #include <sdkddkver.h> // Defines the highest available Windows platform. #include <OleCtl.h> #include <ShlObj.h> #include <Unknwn.h> #include "wic_bitmap_source.h" #include <wincodec.h> #pragma warning(push) #pragma warning(disable : 520...
#if !defined(_i386_h_) #define _i386_h_ #include <stdint.h> #include "arch.h" /* * This is the "normal" stage 2 trampoline with a default entry pre-filled */ static struct tramp_st2_entry { unsigned char ebx_save; unsigned char mov; void *addr; unsigned char call[2]; unsigned char ebx_restore; unsigned ...
#include <fate/fate.h> #define TAG "fe_cai" #if defined(_MSC_VER) void fe_cai_penter(void *fn_vaddr) { #define PENTER_MSG "fe_cai: Entering <somefunc>.\n" /* DWORD written; WriteConsoleW(GetStdHandle(STD_OUTPUT_HANDLE), TEXT(PENTER_MSG), sizeof(PENTER_MSG), &writte...
#pragma once #include "engine/renderer/graphics_context.h" struct GLFWwindow; namespace engine { class opengl_context : public graphics_context { public: opengl_context(GLFWwindow* window_handle); void init() override; void swap_buffers() override; private: GLFWwindow* m_window_handle; }; }
// // Generated by class-dump 3.5 (64 bit) (Debug version compiled Sep 30 2020 21:18:12). // // Copyright (C) 1997-2019 Steve Nygard. // #import <swiftCore/_TtCs12_SwiftObject.h> @class MISSING_TYPE; @interface _TtC12SourceEditor33SourceEditorLineAnnotationManager : _TtCs12_SwiftObject { MISSING_TYPE *sourc...
// // Created by Roldano Cattoni on 14/09/16. // #ifndef ILM_ADAPTIVELMCACHE_H #define ILM_ADAPTIVELMCACHE_H #include <string> #include <unordered_map> #include <db/ngram_hash.h> #include "LM.h" using namespace std; namespace mmt { namespace ilm { typedef uint64_t cachekey_t; struct cachevalue...
// Commands (ID_* and IDM_*) #define HID_INDICATOR_ICON 0x10077 #define HID_INDICATOR_PROGRESS 0x10078 #define HID_VIEW_PROPERTIESWND 0x1007A #define HID_EXPAND_ALL 0x1007D #define HID_SORTPROPERTIES 0x10087 #define HI...
// Copyright 2016 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_VALUE_SERIALIZER_H_ #define V8_VALUE_SERIALIZER_H_ #include <cstdint> #include <vector> #include "include/v8.h" #include "src/base/compiler...
// // Created by karl on 30/5/2020. // #include "input-format-table.h" typedef struct { GList *table; } FileIOInputFormatTablePrivate; G_DEFINE_TYPE_WITH_PRIVATE(FileIOInputFormatTable, fileio_input_format_table, G_TYPE_OBJECT) static void fileio_input_format_table_dispose(GObject *obj) { G_OBJECT_CLASS(fil...
#ifndef messagefacility_Utilities_exception_h #define messagefacility_Utilities_exception_h #include "cetlib_except/coded_exception.h" #include <string> namespace mf { namespace errors { enum error { Configuration = 1, LogicError, OtherError }; } // error namespace detail { std::string translate(errors...
// // GKBaseAnimatedTransition.h // GKNavigationBar // // Created by gaokun on 2019/10/30. // Copyright © 2019 QuintGao. All rights reserved. // #import <UIKit/UIKit.h> NS_ASSUME_NONNULL_BEGIN @interface GKBaseAnimatedTransition : NSObject<UIViewControllerAnimatedTransitioning> @property (nonatomic, assign) BOO...
/* glpstr.h (segmented character string) */ /*---------------------------------------------------------------------- -- This code is part of GNU Linear Programming Kit (GLPK). -- -- Copyright (C) 2000, 01, 02, 03, 04, 05, 06 Andrew Makhorin, -- Department for Applied Informatics, Moscow Aviation Institute, -- Moscow, ...
/* * Copyright 2015-2019, Intel Corporation * * 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 ...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2016 The PHP Group | +--------------...
#pragma once #include "../xrEngine/IGame_Persistent.h" class CMainMenu; class CUICursor; class CParticlesObject; class CUISequencer; class ui_core; /// Extra features, that previously was in FRayBuildConfig.h. Can be enabled by console commands /// Should be here, to make this global enum OxygenExtraFeatures : size_t...