text
stringlengths
9
948k
#pragma once #include "stdafx.h" namespace Renderer::Sun { namespace HLSL = Math::VectorMath::HLSL; HLSL::float3 Dir(float zenith, float azimuth); HLSL::float3 Irradiance(float zenith, float cosZenith); }
//////////////////////////////////////////////////////////////////////////// // File: CEditReplaceDlg.h // Version: 1.0.0.0 // Created: 29-Dec-1998 // // Author: Stcherbatchenko Andrei // E-mail: windfall@gmx.de // // Declaration of the CEditReplaceDlg dialog, a part of Crystal Edit - // syntax coloring text editor....
// Copyright (c) 2011-2018 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 GLOBALBOOST_QT_SPLASHSCREEN_H #define GLOBALBOOST_QT_SPLASHSCREEN_H #include <functional> #include <QSplashScreen> ...
/***************************************************************************** * Copyright (c) 2013, 2014, 2017 Pieter Wuille, Andrew Poelstra, Jonas Nick * * Distributed under the MIT software license, see the accompanying * * file COPYING or http://www.opensource.org/licenses/mit-license.php. * ***...
// Copyright (c) 2020 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 ag...
/* * three_vector.h * * Created on: 29/09/2019 * Author: fernando */ #ifndef THREE_VECTOR_H_ #define THREE_VECTOR_H_ #include <vector> #include "include/device_vector.h" #include "include/cuda_utils.h" /** * ABS */ __DEVICE_HOST_INLINE__ double abs__(double a) { return fabs(a); } __DEVICE_HOST_INLINE_...
//===-- llvm/CodeGen/SDNodeDbgValue.h - SelectionDAG dbg_value --*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
#ifndef PX_OBJECT_WOOD_H #define PX_OBJECT_WOOD_H #include "PX_GameEvent.h" #include "PainterEngine_Startup.h" #define PX_OBJECT_WOOD_BASE 110 #define PX_OBJECT_WOOD_Z 8 typedef enum { PX_Object_Wood_State_Ready, PX_Object_Wood_State_Run, PX_Object_Wood_State_Stop, }PX_Object_Wood_State; typedef struct { PX_Worl...
/** * Copyright (c) 2017, Harrison Bowden, Minneapolis, MN * * Permission to use, copy, modify, and/or distribute this software for any purpose * with or without fee is hereby granted, provided that the above copyright notice * and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS"...
/******************************************************************************* * Copyright (c) 2016, ROBOTIS 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: * * * Redistributions of so...
/*******************************************************************\ Module: JBMC Command Line Option Processing Author: Daniel Kroening, kroening@kroening.com \*******************************************************************/ /// \file /// JBMC Command Line Option Processing #ifndef CPROVER_JBMC_JBMC_PARSE_OP...
typedef struct { SPFLOAT freq, amp, iphs; int32_t lphs; sp_ftbl **tbl; int inc; SPFLOAT wtpos; int nft; } sp_oscmorph; int sp_oscmorph_create(sp_oscmorph **p); int sp_oscmorph_destroy(sp_oscmorph **p); int sp_oscmorph_init(sp_data *sp, sp_oscmorph *osc, sp_ftbl **ft, int nft, SPFLOAT iphs); int...
/******************************************************************************** ** Form generated from reading UI file 'helpmessagedialog.ui' ** ** Created by: Qt User Interface Compiler version 5.7.1 ** ** WARNING! All changes made in this file will be lost when recompiling UI file! *********************************...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:08:06 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/ReplayKit.framewo...
/*========================================================================= Program: Visualization Toolkit Module: vtkUnstructuredGridGeometryFilter.h Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen All rights reserved. See Copyright.txt or http://www.kitware.com/Copyright.htm for details. ...
/***************************************************************************** Licensed to Accellera Systems Initiative Inc. (Accellera) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. Accellera licenses...
/** ****************************************************************************** * @file bl702_cam.h * @version V1.0 * @date * @brief This file is the standard driver header file ****************************************************************************** * @attention * * <h2><center>&copy; C...
/* * librdkafka - Apache Kafka C library * * Copyright (c) 2019, Magnus Edenhill * 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 abov...
#ifndef RAW_PHYSICS_EXAMPLES_CUBE_STORM_H #define RAW_PHYSICS_EXAMPLES_CUBE_STORM_H #include "../core.h" extern Example_Scene cube_storm_example_scene; #endif
// License: BSD 3 Clause // Copyright (C) 2011, Google Inc. All rights reserved. // Copyright (C) 2015+, The LabSound Authors. All rights reserved. #ifndef AudioParamTimeline_h #define AudioParamTimeline_h #include "LabSound/core/AudioContext.h" #include <mutex> #include <vector> namespace lab { class AudioParamTim...
#include "raylib.h" #include <string.h> #define RECT_WIDTH 600 #define RECT_HEIGHT 150 void draw(const char *message, int frames_counter, bool enabled); const char *messages[3] = { "Hello!", "It looks like you're lost...", "What can I do to help you?" }; int main(void) { SetTraceLogLevel(LOG_NONE);...
/* * Copyright (C) 2017 Rob Clark <robclark@freedesktop.org> * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, cop...
/* ** EPITECH PROJECT, 2021 ** keyboard ** File description: ** arrow */ #include "structure.h" #include <stdbool.h> static const int DOWN = 0; static const int UP = 1; int find_switch_on_button_pos(t_text *buttons) { sfColor mauve = sfColor_fromRGB(135, 85, 150); for (int i = 0; buttons != NULL; buttons = ...
/* * Copyright (c) 2015 The WebM project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributin...
/* * ConfigPlist.h * * Created on: Oct 9, 2020 * Author: jief */ #ifndef _CONFIGPLISTCLASS_DEVICES_H_ #define _CONFIGPLISTCLASS_DEVICES_H_ class DevicesClass : public XmlDict { using super = XmlDict; public: class XmlPropertyValue: public XmlUnion { protected: XmlString8AllowEmpty xmlStr...
// Meridian 59, Copyright 1994-2012 Andrew Kirmse and Chris Kirmse. // All rights reserved. // // This software is distributed under a license that is described in // the LICENSE file that accompanies it. // // Meridian is a registered trademark. #include "client.h" extern int gNumDPCalls; extern d3d_driver_profile gD...
// // Dog.h // FMDBModel // // Created by lindechun on 17/2/15. // Copyright © 2017年 lindechun. All rights reserved. // #import "LDModel.h" #import "LDModel+FMDB.h" @interface Dog : LDModel @property (nonatomic, copy) NSString *name; @property (nonatomic, strong) NSNumber *age; @end
/* $NetBSD: getline.c,v 1.1.1.1 2011/05/12 20:46:50 christos Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Christos Zoulas. * * Redistribution and use in source and binary forms, with or ...
// DOM-IGNORE-BEGIN /******************************************************************************* * Copyright (C) 2020 Microchip Technology Inc. and its subsidiaries. * * Subject to your compliance with these terms, you may use Microchip software * and any derivatives exclusively with Microchip products. It is your ...
#ifndef LLDPSTATSRXPORTTABLE_OVSDB_GET_H #define LLDPSTATSRXPORTTABLE_OVSDB_GET_H #include <net-snmp/net-snmp-config.h> #include <net-snmp/net-snmp-features.h> #include <net-snmp/net-snmp-includes.h> #include <net-snmp/agent/net-snmp-agent-includes.h> #include "vswitch-idl.h" #include "ovsdb-idl.h" void ovsdb_get_lldp...
// This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0. // See gfxfont.h for newer custom bitmap font info. #ifndef FONT5X7_H #define FONT5X7_H #ifdef __AVR__ #include <avr/io.h> #include <avr/pgmspace.h> #elif defined(ESP8266) #include <pgmspace.h> #else #define PROGMEM #endif // Standard A...
// SPDX-License-Identifier: GPL-2.0 /* * NHPoly1305 - ε-almost-∆-universal hash function for Adiantum * (AVX2 accelerated version) * * Copyright 2018 Google LLC */ #include <crypto/internal/hash.h> #include <crypto/internal/simd.h> #include <crypto/nhpoly1305.h> #include <linux/module.h> #include <asm/simd.h> as...
// Ejemplo de manipulacion de registros: 5 errores //------------------------------------------------ int main ( ) { struct { int a1; bool a2; int a3; } a; int b; bool c; struct { int d1; bool d2; int d1; // Nombre de campo repetido } c; // Identificador ...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> // System.Collections.ArrayList struct ArrayList_t4252133567; #include "mscorlib_System_Object2689449295.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic i...
/* * * Copyright 2016, 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 condi...
#pragma once #include "../../ADBViewer.h" class App; class guiIconTrigger : public guiBase { public: // ~guiIconTrigger(); bool init(App*, SDL_Rect&, SDL_Color*, ResManager::IndexSpriteResource, std::function<bool(SDL_Event*, SDL_Rect*)>); bool tinit(SDL_Texture**) override; bool event(SDL_Event...
/* * Verilog-A math library for Icarus Verilog * http://www.icarus.com/eda/verilog/ * * Copyright (C) 2007-2011 Cary R. (cygcary@yahoo.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 F...
// This file was generated based on C:/Users/JuanJose/AppData/Local/Fusetools/Packages/Fuse.Drawing/1.9.0/Enums.uno. // WARNING: Changes might be lost if you edit this file directly. #pragma once #include <Uno.Int.h> namespace g{ namespace Fuse{ namespace Drawing{ // public enum FillRule :18 uEnumType* FillRule_type...
// Copyright (c) 2007-2009 Google Inc. // Copyright (c) 2006-2007 Jaiku Ltd. // Copyright (c) 2002-2006 Mika Raento and Renaud Petit // // This software is licensed at your choice under either 1 or 2 below. // // 1. MIT License // // Permission is hereby granted, free of charge, to any person obtaining a copy // of thi...
#ifndef HEADER_CURL_MEMRCHR_H #define HEADER_CURL_MEMRCHR_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * |...
#pragma once #include "JsonRpc/ResultTypes/RpcResult.h" #include "Types/AuctionState.h" namespace Casper { /// Result for "state_get_auction_info" RPC response. struct GetAuctionInfoResult : public RpcResult { /// <summary> /// The auction state. /// </summary> AuctionState auction_state; GetAuctionInfoRe...
/**************************************************************************** **************************************************************************** *** *** This header was automatically generated from a Linux kernel header *** of the same name, to make information necessary for userspace to *** call i...
/* * All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or * its licensors. * * For complete copyright and license terms please see the LICENSE at the root of this * distribution (the "License"). All use of this software is governed by the License, * or, if provided, by the license below 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 you under the Apache License, Version 2.0 (the * "License"); you ...
// Auto-generated file. Do not edit! // Template: src/qs8-gemm/MRx4c2-sse.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> #if defined(__GNUC__) ...
/****************************************************************************** file: gthread author: Robbert de Groot copyright: 2009-2012, Robbert de Groot description: Threading routines. ******************************************************************************/ /***********************************...
#ifndef D3D10TEXTURE1D_H #define D3D10TEXTURE1D_H #include "main.h" #include "d3d10resource.h" class MyID3D10Texture1D : public ID3D10Texture1D { class Impl; Impl *impl; public: MyID3D10Texture1D( ID3D10Texture1D **inner, const D3D10_TEXTURE1D_DESC *pDesc, UINT64 id ); vi...
// Copyright (c) 2020 Davi Poyastro // Licensed under the MIT License. #ifndef _HSNR_H_ #define _HSNR_H_ #include <stdint.h> /** * This module convert numbers from different floating point encoding. * * The High-SNR encoding is a custom format meant to fit in 16 bits * and implements a half precision format with ...
/* Copyright 2005-2018 Intel Corporation. The source code, information and material ("Material") contained herein is owned by Intel Corporation or its suppliers or licensors, and title to such Material remains with Intel Corporation or its suppliers or licensors. The Material contains proprietary i...
/** ** @file tcCAPMission.h */ /* ** Copyright (c) 2014, GCBLUE PROJECT ** 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 copyrigh...
/* * Implementation of IShellBrowser interface * * Copyright 2011 Piotr Caban for CodeWeavers * Copyright 2012 Jacek Caban for CodeWeavers * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Fo...
// SPDX-License-Identifier: GPL-2.0+ /* * Copyright (C) 2018 Oracle. All Rights Reserved. * Author: Darrick J. Wong <darrick.wong@oracle.com> */ #include "xfs.h" #include "xfs_fs.h" #include "xfs_shared.h" #include "xfs_format.h" #include "xfs_trans_resv.h" #include "xfs_mount.h" #include "xfs_defer.h" #include "xf...
/*========================================================================= Program: Visualization Toolkit 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 distributed WITHOUT ANY WARRAN...
#pragma once #include "kernel_task.h" #include "memory_copy_staged_operation.h" #include <catboost/cuda/cuda_lib/cuda_base.h> #include <catboost/cuda/cuda_lib/mpi/mpi_manager.h> #include <catboost/cuda/cuda_lib/stream_section_tasks_launcher.h> #include <catboost/cuda/cuda_lib/single_device.h> namespace NCudaLib { ...
#include "../libs/ListStudent.h" struct LIST_STUDENT { int size; Student student; struct LIST_STUDENT *next; }; static bool isNull(ListStudent listStudent) { return listStudent == NULL; } ListStudent new_ListStudent() { ListStudent listStudent = (ListStudent) malloc(sizeof(struct LIST_STUDENT)); if(isN...
/* * * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. * * Copyright 2007-2019 Broadcom Inc. All rights reserved. * * This file contains Time Interface definitions internal to the BCM library. */ #ifndef _BCM_INT_COMMON_TIME_H...
/* -*- Mode: C++; tab-width: 8; c-basic-offset: 2; indent-tabs-mode: nil; -*- */ #ifndef RR_FLAGS_H_ #define RR_FLAGS_H_ #include <stdint.h> #include <unistd.h> #include <string> #include "Ticks.h" #include "TraceFrame.h" namespace rr { /** * Command line arguments for rr */ struct Flags { enum { CHECKSUM_NON...
// // Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> // Copyright 2018 Devolutions <info@devolutions.net> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this // file w...
//pathway15.c - Path through Lothwaite. Circe 5/10/04 #include <std.h> #include "../lothwaite.h" inherit TOWNPATH; void create(){ ::create(); set_long( ::query_long()+" The path continues here, leading "+ "southwest toward the ramparts or east over a bridge into the "+ "village. A smooth, grassy d...
/* * Copyright 2018 The Ripple 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 ag...
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <strings.h> #include "libcurl.h" Testdst_Curl * tesdst_curl_create(void) { Testdst_Curl *self = g_new0(Testdst_Curl, 1); curl_global_init(CURL_GLOBAL_DEFAULT); self->curl = curl_easy_init(); return self; } void testdst_curl_deinit(Testdst_Cur...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:26:22 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/PassKitCor...
/* * macserial.c: Serial port driver for Power Macintoshes. * * Derived from drivers/sbus/char/sunserial.c by Paul Mackerras. * * Copyright (C) 1996 Paul Mackerras (Paul.Mackerras@cs.anu.edu.au) * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * * Receive DMA code by Takashi Oe <toe@unlserve.unl.ed...
//===-- NativeRegisterContext.h ---------------------------------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===---------------------------...
#ifndef __FAN_H__ #define __FAN_H__ #include <array> #include <cstdint> #include <functional> #include <utility> #include "utils.h" #ifdef CUSTOM_TACH #include <microsDelay.h> #else #include <FreqMeasureMulti.h> #endif namespace LB { const float MAX_VOLTAGE = 12.0f; const float MAX_PWM = 100.0f; const uint8_t READ_...
//================================================================================================= /*! // \file blaze/math/functors/Or.h // \brief Header file for the Or functor // // Copyright (C) 2012-2020 Klaus Iglberger - All Rights Reserved // // This file is part of the Blaze library. You can redistribute it...
/* Interface of AES encrypt/decrypt algorithm Author: Jie Lyu Email: jiejielyu@outlook.com */ #ifndef __AES_H__ #define __AES_H__ #include <iostream> #include <vector> #include <bitset> #include "utils.h" namespace crypt_impl { class AES { #define AES_KEY_LEN 128 #define AES_WORD_BYTE_LEN 4 // 1 word con...
/* * Copyright (c) 2012, Jyri J. Virkki * All rights reserved. * * Based on the original by Jyri J. Virkki at: * https://github.com/jvirkki/libbloom/blob/03c137273f334c9bd7c85d7a72d88d3e0bcaa417/bloom.h * * This file is under the 2-clause BSD license. * See the file `LICENSE` for details. * */ #ifndef _BLOOM...
/*************************************************************************/ /* hashfuncs.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_H_ #define NET_SOCKET_STREAM_SOCKET_STREAM_H_ #pragma once #include <deque> #include <map> #include <string> ...
#include <stdio.h> int add(int, int); int main(void) { int A, x, y; void* saved = NULL; int (*fp)(int, int); fp = add; scanf("%d", &A); getchar(); saved = &A; scanf("%d %d", &x, &y); printf("%d\n", *(int*)saved); printf("%d\n", fp(x, y)); return 0; } int add(int a, int ...
// SPDX-License-Identifier: GPL-1.0+ /* r3964 linediscipline for linux * * ----------------------------------------------------------- * Copyright by * Philips Automation Projects * Kassel (Germany) * ----------------------------------------------------------- * Author: * L. Haag * * $Log: n_r3964.c,v $ * R...
c rkinfo.h c info for the 'k' constant dimension rkall(3) c make sure this dimension is the same as 'numsur' c in 'surfaced.h
/** * @file include/retdec/dwarfparser/dwarf_utils.h * @brief Declaration of utility functions and classes. * @copyright (c) 2017 Avast Software, licensed under the MIT license */ #ifndef RETDEC_DWARFPARSER_DWARF_UTILS_H #define RETDEC_DWARFPARSER_DWARF_UTILS_H #include <string> #include <libdwarf/dwarf.h> #incl...
// // TenthViewController.h // 图层旋转摆放扭曲等 // // Created by yifan on 15/9/6. // Copyright (c) 2015年 黄成都. All rights reserved. // #import <UIKit/UIKit.h> @interface TenthViewController : UIViewController @end
C $Header: /u/gcmpack/MITgcm/verification/tutorial_global_oce_biogeo/code_ad/tamc.h,v 1.1 2009/10/16 16:20:04 heimbach Exp $ C $Name: $ #include "PACKAGES_CONFIG.h" c ================================================================ c HEADER TAMC c =========================================================...
/* ///////////////////////////////////////////////////////////////////////// * File: unixstl/synch/util/features.h * * Purpose: Discrimination of synchronisation features. * * Created: 23rd October 1997 * Updated: 19th February 2017 * * Home: http://stlsoft.org/ * * Copyright (c) 199...
// Copyright (C) 2012 GlavSoft LLC. // All rights reserved. // //------------------------------------------------------------------------- // This file is part of the TightVNC software. Please visit our Web site: // // http://www.tightvnc.com/ // // This program is free software; you can redistri...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:12:19 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/PrivateFrameworks/RemoteCore...
#ifndef _ISCENEGRAPH_H #define _ISCENEGRAPH_H #include "Node.h" #include "Camera.h" class ISceneGraph { public: virtual ~ISceneGraph() {} virtual std::shared_ptr<Node> root() { return std::shared_ptr<Node>(); } virtual std::shared_ptr<const Node> root() const {...
#pragma once #include "il2cpp-config.h" #ifndef _MSC_VER # include <alloca.h> #else # include <malloc.h> #endif #include <stdint.h> #include "mscorlib_System_ValueType3507792607.h" #ifdef __clang__ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Winvalid-offsetof" #pragma clang diagnostic ign...
/******************** (C) COPYRIGHT 2017 STMicroelectronics ******************** * File Name : radio_ota.c * Author : RF Application Team * Version : V1.0.0 * Date : May-2018 * Description : OTA library for user application ******************************************...
// // Created by mwo on 5/11/15. // #ifndef LOKEG01_TOOLS_H #define LOKEG01_TOOLS_H #include "vaizon_headers.h" #include "../ext/fmt/ostream.h" #include "../ext/fmt/format.h" #include "../ext/json.hpp" #include <boost/lexical_cast.hpp> #include <boost/filesystem.hpp> #include <boost/optional.hpp> #include <boost/al...
// Copyright (c) 2008-2022 the Urho3D project // License: MIT #pragma once #ifdef URHO3D_IS_BUILDING #include "Urho3D.h" #else #include <Urho3D/Urho3D.h> #endif // Macros with identifiers of c++ version. #define URHO_CPP17_STANDARD (201703L) #define URHO_CPP20_STANDARD (202002L) // Macro that can be used to...
/* SPDX-License-Identifier: BSD-2-Clause */ /* * Copyright (c) 2019, Linaro Limited */ #ifndef FTRACE_H #define FTRACE_H #include <types_ext.h> #include <user_ta_header.h> #ifdef CFG_TA_FTRACE_SUPPORT bool ftrace_init(struct ftrace_buf **fbuf_ptr); void ftrace_copy_buf(void *pctx, void (*copy_func)(void *pctx, voi...
/****************************************************************************** This source file is part of the tomviz project. Copyright Kitware, Inc. This source code is released under the New BSD License, (the "License"). Unless required by applicable law or agreed to in writing, software distributed u...
/* # This file is part of the Astrometry.net suite. # Licensed under a 3-clause BSD style license - see LICENSE */ #ifndef MATHUTIL_H #define MATHUTIL_H #include "keywords.h" #include "bl.h" int point_in_polygon(double x, double y, const dl* polygon); /* Given a point "pt", computes two unit vectors that are tang...
/** * \file * Routines for loading assemblies. * * Author: * Miguel de Icaza (miguel@ximian.com) * * Copyright 2001-2003 Ximian, Inc (http://www.ximian.com) * Copyright 2004-2009 Novell, Inc (http://www.novell.com) * Copyright 2011 Xamarin, Inc (http://www.xamarin.com) * Licensed under the MIT license. See...
#include <stdio.h> double factorial(double x){ double fact=1,i,sum=0; for(i=1; i<=x; i++){ fact*=i; sum+=(i/fact);} return sum; } int main(){ double n; printf("Please an integer to calculate:\n"); scanf("%lf",&n); printf("%f is result",factorial(n)); return 0; }
/* * Copyright 2009-2017 Alibaba Cloud 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...
// // PDFReaderConstants.h // // Copyright (C) 2011-2013 Julius Oklamcak. All rights reserved. // Portions (C) 2014 Mark Eissler. 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 // ...
/* * Copyright (C) 2015-2017 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 conditi...
/* * File...........: linux/drivers/s390/block/dasd_ioctl.c * Author(s)......: Holger Smolinski <Holger.Smolinski@de.ibm.com> * Horst Hummel <Horst.Hummel@de.ibm.com> * Carsten Otte <Cotte@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Bugreports.to..: <Linux390@de.ibm.com> * (C) IBM ...
/* Generated by RuntimeBrowser Image: /System/Library/PrivateFrameworks/NewsUI.framework/NewsUI */ @interface NUBundledArticleFactory : NSObject <NUArticleFactory> { FCArticleController * _articleController; } @property (nonatomic, readonly) FCArticleController *articleController; @property (readonly, copy) N...
/* * Copyright 2012 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrGLProgramDataManager_DEFINED #define GrGLProgramDataManager_DEFINED #include "GrAllocator.h" #include "GrShaderVar.h" #include "gl/GrGLTypes.h" #include "glsl/GrGLS...
/* Copyright 2017 Vector Creations 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 law or agreed to in writing...
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // clang-format off /*****************************************************************************/ #ifndef GTNODE #error Define GTNODE before including this file. #endif /*********...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #pragma mark - // // File: /Applications/Xcode-7GM.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/PrivateFrameworks/Emb...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:22:41 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/UIKitCore...
#pragma once #include <string> #include <memory> #include <glm/vec2.hpp> #include "Transform.h" #include "imgui.h" namespace dss { /** * Provides very simple text rendering capability, using ImGUI to render the text * This class requires that ImGUI is setup correctly for the windowing-system and * graphics A...