text
stringlengths
9
948k
// // VEStation.h // aBike—Lyon // // Created by Clément Padovani on 7/16/16. // Copyright © 2016 Clement Padovani. All rights reserved. // #import "VEBaseModel.h" NS_ASSUME_NONNULL_BEGIN static NSString * const kVEStationUpdateErrorNotification = @"kVEStationUpdateErrorNotification"; @interface VEStation : VEB...
/* * Copyright (C) 2011, British Broadcasting Corporation * All Rights Reserved. * * Author: Philip de Nier * * 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 t...
/***************************************************************************** Copyright (c) 2011, Intel Corp. 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 cod...
#pragma once #include <CoreMinimal.h> #include <UObject/ObjectMacros.h> #include <UObject/Object.h> #include "Conversion/Messages/BaseMessageConverter.h" #include "geometry_msgs/PoseStamped.h" #include "Conversion/Messages/std_msgs/StdMsgsHeaderConverter.h" #include "Conversion/Messages/geometry_msgs/GeometryMsgsPoseC...
/*- * Copyright (c) 2005-2019 Michael Scholz <mi-scholz@users.sourceforge.net> * 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 co...
/** * Copyright (c) 2014 - 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,...
/*************************************************************************/ /* globals.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220110.5 #pragma once #ifndef WINRT_Windows_UI_Notifications_0_H #define WINRT_Windows_UI_Notifications_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel { struct AppInfo; } WINRT_EXPORT namespace winrt::Windows::Data::Xml::Dom {...
/* * Copyright 2016 CodiLime * * 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 writ...
/* * 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...
/* * 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 ...
// // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved // LICENSE: Atomic Game Engine Editor and Tools EULA // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for // license information: https://github.com/AtomicGameEngine/AtomicGameEngine // #pragma once #include <Atomic/Container...
#undef CONFIG_ROOT_NFS
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #pragma once #include "AppKeyBindings.g.h" #include "..\inc\cppwinrt_utils.h" namespace winrt::TerminalApp::implementation { struct KeyChordHash { std::size_t operator()(const winrt::Microsoft::Terminal::Settings::KeyChord& k...
// // THelper.h // TUIKit // // Created by kennethmiao on 2018/11/1. // Copyright © 2018年 Tencent. All rights reserved. // #import <Foundation/Foundation.h> #import <UIKit/UIKit.h> typedef void (^TAsyncImageComplete)(NSString *path, UIImage *image); @interface THelper : NSObject + (NSString *)genImageName:(NSStr...
/** @file enet.h @brief ENet public header file */ #ifndef __ENET_ENET_H__ #define __ENET_ENET_H__ #ifdef __cplusplus extern "C" { #endif #include <stdlib.h> #ifdef _WIN32 #include "enet/win32.h" #else #include "enet/unix.h" #endif #include "enet/types.h" #include "enet/protocol.h" #include "enet/list.h" #inclu...
// // OfflineManager.h // inSPorte // // Created by Fabio Dela Antonio on 3/25/14. // Copyright (c) 2014 Bad Request. All rights reserved. // #import <Foundation/Foundation.h> @interface OfflineManager : NSObject + (NSString *)pathToFileInDocuments:(NSString *)file; @end
/* Copyright (c) 2000-2004 Nick Ing-Simmons. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. */ #define PERL_NO_GET_CONTEXT #include <EXTERN.h> #include <perl.h> #include <XSUB.h> #ifdef HAS_NL_LANGINFO #include <langinfo.h> #endi...
#ifndef GLFACTEFFECT_H_ #define GLFACTEFFECT_H_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "./GLCharData.h" #include "./GLCharDefine.h" #include "../[Lib]__Engine/Sources/G-Logic/GLDefine.h" #include "../[Lib]__Engine/Sources/DxMeshs/DxSkinChar.h" namespace FACTEFF { void NewBlowEffect( c...
#ifndef __MACHINE_UART_H__ #define __MACHINE_UART_H__ #include "mpconfigboard.h" #include "stdint.h" #include "py/obj.h" #include "uart.h" typedef struct _machine_uart_obj_t { mp_obj_base_t base; uint8_t uart_num; uint32_t baudrate; uint8_t bitwidth; uart_parity_t parity; uart_stopbit_t stop; boo...
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * SGI IP27 specific setup. * * Copyright (C) 1999, 2000 Ralf Baechle (ralf@gnu.org) * Copyright (C) 1999, 2000 Silcon Graphics, Inc. */ ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:23:34 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/SAObjects....
/************************************************************************* > File Name: turtle.h > Author: zhuziqiang > Mail: ziqiang_free@163.com > Created Time: 2018年11月25日 星期日 23时04分16秒 ************************************************************************/ #pragma once using namespace std; cla...
#include<stdio.h> #include<stdlib.h> #include<math.h> #include<string.h> int main() { float a, b, c, x; scanf("%f %f %f", &a, &b, &c); if (a < b){ x = a; a = b; b = x; } if (b < c){ x = b; b = c; c = x; } if (a < b){ x = a; a = b; b = x; } if (a >= b + c) printf("NAO FORMA TRIANGULO\n"); ...
// 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) 2007, 2008, 2009 Apple Inc. All rights reserved. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any lat...
#include "/d/dagger/aketon/short.h" #include <move.h> #define ITEM_SAVE "/d/save/aketon/1three1a" inherit ROOM; string trident_owner; void create() { ::create(); trident_owner = ""; restore_me(ITEM_SAVE); if(!trident_owner) trident_owner = ""; save_me(ITEM_SAVE); if(query_light()) re...
/**************************************************************************** * arch/arm/src/lpc17xx/lpc17_allocateheap.c * * Copyright (C) 2010-2011, 2013, 2015 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without ...
/* ** ClanLib SDK ** Copyright (c) 1997-2020 The ClanLib Team ** ** This software is provided 'as-is', without any express or implied ** warranty. In no event will the authors be held liable for any damages ** arising from the use of this software. ** ** Permission is granted to anyone to use this software for a...
#ifndef _REG_COMMON_EM_ET_H_ #define _REG_COMMON_EM_ET_H_ #include <stdint.h> #include "_reg_common_em_et.h" #include "ble_compiler.h" #include "architect.h" #include "em_map.h" #include "ble_reg_access.h" #define REG_COMMON_EM_ET_COUNT 2 #define REG_COMMON_EM_ET_DECODING_MASK 0x00000003 #define REG_COMMON_EM_ET_AD...
/* TEMPLATE GENERATED TESTCASE FILE Filename: CWE197_Numeric_Truncation_Error__short_fgets_67a.c Label Definition File: CWE197_Numeric_Truncation_Error__short.label.xml Template File: sources-sink-67a.tmpl.c */ /* * @description * CWE: 197 Numeric Truncation Error * BadSource: fgets Read data from the console using ...
/**************************************************************************** * * Copyright (c) 2012-2017 PX4 Development Team. 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. Red...
// Copyright (c) 2009 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. //{{NO_DEPENDENCIES}} // Microsoft Visual C++ generated include file. // Used by mini_installer.rc // #define IDI_MINI_INSTALLER 107 #def...
// ContextMenuFlags.h #ifndef __CONTEXT_MENU_FLAGS_H #define __CONTEXT_MENU_FLAGS_H namespace NContextMenuFlags { const UInt32 kExtract = 1 << 0; const UInt32 kExtractHere = 1 << 1; const UInt32 kExtractTo = 1 << 2; const UInt32 kTest = 1 << 4; const UInt32 kOpen = 1 << 5; const UInt32 kOpenAs = 1 << 6; ...
//////////////////////////////////////////////////////////////////////////////// // Initial I/O values //////////////////////////////////////////////////////////////////////////////// // // // // // // ////////////////////////////////////////////////////////////////////////////// uint8 initialIoValue[256]= { 0x00,//0...
/** * \file * \author Karsten Rink * \date 2016-02-21 * * \copyright * Copyright (c) 2012-2022, OpenGeoSys Community (http://www.opengeosys.org) * Distributed under a Modified BSD License. * See accompanying file LICENSE.txt or * http://www.opengeosys.org/project/license ...
// **************************************************************************** // // MixerXface.H // // Include file for mixer interfacing with the EchoGals-derived classes. // // Set editor tabs to 3 for your viewing pleasure. // // ---------------------------------------------------------------------------- // //...
#ifndef FRAME_H #define FRAME_H #include <QObject> #include <QQuickPaintedItem> #include <QImage> #include <QPainter> #include <opencv2/core.hpp> #include <opencv2/core/utility.hpp> #include <opencv2/imgproc.hpp> #include <opencv2/highgui.hpp> using namespace cv; #include <vector> using namespace std; class Frame...
//===--- MemoryBuffer.h - Memory Buffer Interface ---------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===-------------------------------------------------------...
/* * Copyright (c) 2000 William C. Fenner. * All rights reserved. * * Kevin Steves <ks@hp.se> July 2000 * Modified to: * - print version, type string and packet length * - print IP address count if > 1 (-v) * - verify checksum (-v) * - print authentication string (-v) * * Redistribution and us...
/*! \ingroup PkgArrangementOnSurface2ConceptsDCEL \cgalConcept A hole record in a \dcel data structure, which stores the face that contains the hole in its interior, along with an iterator for the hole in the holes' container of this face. \sa `ArrangementDcel` \sa `ArrangementDcelFace` */ class ArrangementDcelHole...
#ifndef __j1CutsceneCharacters_H__ #define __j1CutsceneCharacters_H__ #include "j1Module.h" #include "p2Point.h" #include "j1CutsceneManager.h" #include <list> using namespace std; using namespace std; struct CutsceneObject; class j1CutsceneCharacters :public j1Module { public: j1CutsceneCharacters(); ~j1Cutscen...
// 1116. Print Zero Even Odd // https://leetcode.com/problems/print-zero-even-odd/ // Runtime: 16 ms, faster than 92.27% of C++ online submissions for Print Zero Even Odd. // Memory Usage: 6.9 MB, less than 77.95% of C++ online submissions for Print Zero Even Odd. class ZeroEvenOdd { private: int n; atomi...
/* * Copyright 2007 Dave Airlied * All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, m...
/* * This header is generated by classdump-dyld 1.0 * on Saturday, June 1, 2019 at 6:51:12 PM Mountain Standard Time * Operating System: Version 12.1.1 (Build 16C5050a) * Image Source: /System/Library/PrivateFrameworks/IOAccessoryManager.framework/IOAccessoryManager * classdump-dyld is licensed under GPLv3, Copyright ©...
/* R E G I O N _ E N D _ M C . C * BRL-CAD * * Copyright (c) 2008-2021 United States Government as represented by * the U.S. Army Research Laboratory. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public License * version ...
/* * Copyright (c), NXP Semiconductors Bangalore / India * * (C)NXP Semiconductors * All rights are reserved. Reproduction in whole or in part is * prohibited without the written consent of the copyright owner. * NXP reserves the right to make changes without notice at any time. ...
#ifndef __STDC_HEADERS_H #define __STDC_HEADERS_H /*************************************************************************** * _ _ ____ _ * Project ___| | | | _ \| | * / __| | | | |_) | | * ...
/* ** Function handling (prototypes, functions and upvalues). ** Copyright (C) 2005-2020 Mike Pall. See Copyright Notice in luajit.h ** ** Upvalue handling rewrite and closure lifting. ** Copyright (C) 2014 Karel Tuma. See Copyright Notice in luajit.h ** ** Portions taken verbatim or adapted from the Lua interpreter. *...
//===--- Internal.h - -------------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#include "synapse.h" #include "nodetypes.h" #ifndef _TREE_H_ #define _TREE_H_ typedef struct treenode { struct treenode *next; struct treenode *prev; struct treenode *child; struct treenode *parent; struct treenode *activenode; GLfloat color[4]; point dimentions; point rotation; point origi...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, June 7, 2020 at 11:16:42 AM Mountain Standard Time * Operating System: Version 13.4.5 (Build 17L562) * Image Source: /System/Library/PrivateFrameworks/SAObjects.framework/SAObjects * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by Elias L...
/* Copyright (c) 2010-2011 Xiph.Org Foundation, Skype Limited Written by Jean-Marc Valin and Koen Vos */ /* 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 abov...
#ifndef __CLUSTER_H #define __CLUSTER_H /*----------------------------------------------------------------------------- * Redis cluster data structures, defines, exported API. *----------------------------------------------------------------------------*/ #define CLUSTER_SLOTS 16384 #define CLUSTER_OK 0 /*...
/* * 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 ...
#import <Foundation/Foundation.h> #import "KWMock.h" #import "KWMessageSpying.h" @interface KWCaptureSpy : NSObject<KWMessageSpying> - (id)initWithArgumentIndex:(NSUInteger)index; @property(nonatomic, readonly, retain) id argument; @end
#ifndef MAPBUILDER_H_ #define MAPBUILDER_H_ #include <QtGui/QVBoxLayout> #include <QtCore/QMetaType> #include "rtabmap/gui/CloudViewer.h" #include "rtabmap/utilite/UStl.h" #include "rtabmap/utilite/UConversion.h" #include "rtabmap/utilite/UEventsHandler.h" #include "rtabmap/utilite/ULogger.h" #include "rtabmap/core/ut...
/****************************************************************************** * The MIT License (MIT) * * Copyright (c) 2019-2020 Baldur Karlsson * * 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...
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #import <Foundation/Foundation.h> #import <FBControlCore/FBiOSTargetFuture.h> #import <FBControlCore/FBCrashLogInfo.h> #import <F...
/*========================================================================= * * Copyright Insight Software Consortium * * 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 * * h...
/* A font vlw file can be converted to a byte array using: https://tomeko.net/online_tools/file_to_hex.php?lang=en Paste the byte array into a sketch tab and add two lines at the start with a unique font name and }; at the end: #include <pgmspace.h> const uint8_t fontName[] PROGMEM = { ...
/** * A Key-Value Pair object * Contains the object's key, value, and * a pointer to the next object in the bucket. * */ #include<iostream> using namespace std; class KVP { private: int key; //The KVP's key string value; //The KVP's value KVP *next; ...
#ifndef HUAWEICLOUD_SDK_SIS_V1_MODEL_CollectTranscriberJobResponse_H_ #define HUAWEICLOUD_SDK_SIS_V1_MODEL_CollectTranscriberJobResponse_H_ #include <huaweicloud/sis/v1/SisExport.h> #include <huaweicloud/core/utils/ModelBase.h> #include <huaweicloud/core/http/HttpResponse.h> #include <huaweicloud/sis/v1/model/Segmen...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2019 The C1pzo Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef C1PZO_WALLET_ISMINE_H #define C1PZO_WALLET_ISMINE_H #include <script/stand...
// // NTESInfoManager.h // NIMDragonClaw // // Created by chris on 2017/11/20. // Copyright © 2017年 Netease. All rights reserved. // #import <Foundation/Foundation.h> @protocol NTESInfoManagerDelegate<NSObject> @optional @end @interface NTESInfoManager : NSObject + (instancetype)sharedManager; @property (non...
/* * Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com * * This software is provided 'as-is', without any express or implied * warranty. In no event will the authors be held liable for any damages * arising from the use of this software. * Permission is granted to anyone to use this software for any purpose, ...
// // MorePicCollectionViewCell.h // BXlive // // Created by mac on 2020/7/8. // Copyright © 2020 cat. All rights reserved. // #import <UIKit/UIKit.h> #import "BXDynamicModel.h" #import "FLAnimatedImage.h" NS_ASSUME_NONNULL_BEGIN @interface MorePicCollectionViewCell : UICollectionViewCell @property(nonatomic, str...
test { typedef int T1; typedef int T2; T1 v1 = true; T2 v2 = v1; T1 k = 1; int l = k; int i = - 1; const int j = 2; struct T { int n; int m; } s = { 4, 5}; i = s.n; i = i + j * 3 + s.n * s.m ; // i = (s).m; ne peut pas marcher car Facteur -> identificateur ... avec identificateur match ...
//-------------------------------------------------------------- // 1bit-Mode : // // PC8 -> SDIO_D0 = SD-Karte DAT0 // PC12 -> SDIO_CK = SD-Karte Clock // PD2 -> SDIO_CMD = SD-Karte CMD // // 4bit-Mode : // // PC8 -> SDIO_D0 = SD-Karte DAT0 // PC9 -> SDIO_D1 = SD-Karte DAT1 // PC10 -> SDIO_D2 = SD...
#pragma once #include <map> #include <Vorb/types.h> #include <Vorb/VorbPreDecl.inl> DECL_VG(class GLProgram); class ChunkGrid; class PhysicsEngine; struct ItemStack; class EditorNode { // i32v3 position; }; enum class EDITOR_TOOLS { AABOX, LINE }; class VoxelEditor { public: void editVoxels(ChunkGrid& ...
#ifndef __STGARG__ #define __STDARG__ typedef __builtin_va_list va_list; #define va_start(va, last) __builtin_va_start(va, last) #define va_arg(va, type) __builtin_va_arg(va, type) #define va_end(va) __builtin_va_end(va) #endif
#ifndef SAJSON_WRAPPER_H #define SAJSON_WRAPPER_H #include <stddef.h> #include <stdint.h> struct sajson_document; #ifdef __cplusplus extern "C" { #endif size_t sajson_document_sizeof(void); struct sajson_document *sajson_parse_single_allocation(char *str, size_t length, size_t *buffer, char *rv); void sajson_free_d...
// Copyright (c) 2014-2018, The Monero 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 copyright notice, this list o...
/* Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not...
/*============================================================================== Program: 3D Slicer Copyright (c) Laboratory for Percutaneous Surgery (PerkLab) Queen's University, Kingston, ON, Canada. All Rights Reserved. See COPYRIGHT.txt or http://www.slicer.org/copyright/copyright.txt for details. U...
/* Copyright 2021 creatorlxd 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 distrib...
/**************************************************************************/ /* */ /* This file is part of Frama-C. */ /* */ /* Copyrigh...
// // SteamControllerManager.h // SteamController // // Created by Jesús A. Álvarez on 16/12/2018. // Copyright © 2018 namedfork. All rights reserved. // #import <Foundation/Foundation.h> @class SteamController; NS_ASSUME_NONNULL_BEGIN /** `SteamControllerManager` handles the connection and disconnection of St...
/* * Copyright (C) 2010 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: * * 1. Redistributions of source code must retain the above copyright * notice, this list of condit...
/* * Copyright (c) 2012 The WebRTC 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 contribut...
#pragma once #include "mvItemRegistry.h" namespace Marvel { class mvFontRegistry : public mvAppItem { public: explicit mvFontRegistry(mvUUID uuid); void draw(ImDrawList* drawlist, float x, float y) override; void customAction(void* data = nullptr) override; void onChild...
/* * Copyright (c) 2020, Andreas Kling <kling@serenityos.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, t...
// // ViewController.h // SFComponentDemo // // Created by XJY on 2019/2/24. // Copyright © 2019 com.sf.ios. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
#ifndef MATRIX_H_ #define MATRIX_H_ #include "Vector4.h" #include "Vector3.h" #include "Vector2.h" #include "Quaternion.h" #include "FileIO.h" #define MATRIX4F_SIZE (sizeof(float) * 16) #define PI 3.14159265f #define TORADIANS(degrees) (degrees * (PI / 180.0f)) #define TODEGREES(radians) (radians * (180.0f / PI)) ...
/** * Copyright (c) 2021 Darius Rückert * Licensed under the MIT License. * See LICENSE file for more information. */ #pragma once #include "saiga/core/geometry/triangle_mesh.h" #include "saiga/core/util/color.h" #include "saiga/core/util/tostring.h" #include <fstream> #include <iostream> #include <vector> names...
/* * Copyright (c) 2004-2008, 2010 Genome Research Ltd. * Author(s): James Bonfield * * 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 noti...
// https://github.com/CedricGuillemet/ImGuizmo // v 1.61 WIP // // The MIT License(MIT) // // Copyright(c) 2016 Cedric Guillemet // // 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 r...
/* Copyright 2019 Ethan Durrant (emdarcher) 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...
// Copyright (c) Darrell Wright // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) // // Official repository: https://github.com/beached/function_stream // #pragma once #include "daw_atomic_wait.h" #include <daw/cpp_17.h...
#pragma once #include <kazen/vector.h> NAMESPACE_BEGIN(kazen) /** * \brief Stores a three-dimensional orthonormal coordinate frame * * This class is mostly used to quickly convert between different * cartesian coordinate systems and to efficiently compute certain * quantities (e.g. \ref cosTheta(), \ref tanThet...
// Copyright (c) Lawrence Livermore National Security, LLC and other VisIt // Project developers. See the top-level LICENSE file for dates and other // details. No copyright assignment is required to contribute to VisIt. // **************************************************************************** // ...
/*************************************************************************/ /* gd_mono_wasm_m2n.h */ /*************************************************************************/ /* This file is part of: */ /* ...
// Copyright (c) 2015 Marshall A. Greenblatt. 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 ...
/* * Diagnostic_Bluetooth.h * Diagnostic Plugin - Bluetooth Module * * Copyright (c) 2018 Working Edge Ltd. * Copyright (c) 2012 AVANTIC ESTUDIO DE INGENIEROS */ #import <Cordova/CDV.h> #import <Cordova/CDVPlugin.h> #import "Diagnostic.h" #import <CoreBluetooth/CoreBluetooth.h> @interface Diagnostic_Blueto...
/* sbni.h: definitions for a Granch SBNI12 driver, version 5.0.0 * Written 2001 Denis I.Timofeev (timofeev@granch.ru) * This file is distributed under the GNU GPL */ #ifndef SBNI_H #define SBNI_H #ifdef SBNI_DEBUG #define DP( A ) A #else #define DP( A ) #endif /* We don't have official vendor id yet... */ #defi...
/** * Header file for fft_utils.c * Used only for octave debugging. */ #include <stddef.h> #include <math.h> #ifdef __cplusplus extern "C" { #endif int func_fft_getCmplxMagArg(double *mag, size_t szMag, double *arg, size_t szArg, int N, double *fftRe, double *fftIm); int func_fft_getCmplxMagArg_OddHrms(double *ma...
/* * max6650.c - Part of lm_sensors, Linux kernel modules for hardware * monitoring. * * (C) 2007 by Hans J. Koch <hjk@hansjkoch.de> * * based on code written by John Morris <john.morris@spirentcom.com> * Copyright (c) 2003 Spirent Communications * and Claus Gindhart <claus.gindhart@kontron.com> * ...
//===--- FrontendInputs.h ---------------------------------------*- C++ -*-===// // // This source file is part of the Swift.org open source project // // Copyright (c) 2014 - 2018 Apple Inc. and the Swift project authors // Licensed under Apache License v2.0 with Runtime Library Exception // // See https://swift.org/L...
#pragma once #include <string> #include "utils/restclient.h" #include "utils/strfmt.h" class SpanshRoute { private: RestClient::parameters p; public: SpanshRoute(uint32_t eff, float range, const std::string& from, const std::string& to) { p["efficiency"] = stringfmt("%u", eff); p["range"] =...
/* Copyright (c) 2008, 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...