text
stringlengths
9
948k
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe // SPDX-License-Identifier: MIT #pragma once #include <Jolt/Geometry/AABox.h> #include <Jolt/Physics/Collision/CollideShape.h> #include <Jolt/Physics/Collision/Shape/Shape.h> JPH_NAMESPACE_BEGIN /// Structure that holds a single shape cast (a shape moving along a linear ...
#ifndef HeterogeneousCore_CUDAUtilities_interface_prefixScan_h #define HeterogeneousCore_CUDAUtilities_interface_prefixScan_h #include <cstdint> #include "CUDACore/cudaCompat.h" #include "CUDACore/cuda_assert.h" #ifdef __CUDA_ARCH__ template <typename T> __device__ void __forceinline__ warpPrefixScan(T const* __rest...
#pragma once #include "Area.h" namespace sim { class MetersSquared : public Area { public: MetersSquared(); MetersSquared(double meters); MetersSquared(const Area& area); MetersSquared operator+(const Area& area) const; MetersSquared operator-(const Area& area) const; MetersSquared operator*...
//this file was generated by ../../../../../../scripts/onnx_generator/OperatorTemplate.py #include "operator__ai_onnx__if__11.h" #include "tracing.h" #include "utils.h" void free_operator__ai_onnx__if__11( Onnx__NodeProto *ctx ) { TRACE_ENTRY(1); TRACE_NODE(2, true, ctx->onnx_node); /* UNCOMMENT AS N...
#ifndef DATATYPE_H #define DATATYPE_H #include <QString> // For internal use only (this file) enum DataTypeType { DTT_NONE, DTT_BOOL, DTT_INT, DTT_AFP, DTT_FLOAT }; /** * The DataType class represents the exact type of data carried by a wire. * * A wire's DataType is determined at compile-time, and includes the s...
/* * Copyright 2020-2022 Hewlett Packard Enterprise Development LP * Copyright 2004-2019 Cray Inc. * Other additional copyright holders may be indicated within. * * The entirety of this work is licensed under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance wit...
#include "headers.h" int find_url(struct mg_http_message *http_input) { if (mg_http_match_uri(http_input, "/")) return(root); else if (mg_http_match_uri(http_input, "/id") || \ mg_http_match_uri(http_input, "/favicon.ico*")) return(favicon); else if (mg_http_match_uri(http_input, "/id") || \ mg_http_match_uri...
/** * \file * * \brief Component version header file * * Copyright (c) 2017 Atmel Corporation, a wholly owned subsidiary of Microchip Technology Inc. * * \license_start * * \page License * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with...
/* * Copyright (c) 2012, Willow Garage, 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 l...
// generated from rosidl_generator_c/resource/idl__functions.c.em // with input from rcl_interfaces:msg/FloatingPointRange.idl // generated code does not contain a copyright notice #include "rcl_interfaces/msg/detail/floating_point_range__functions.h" #include <assert.h> #include <stdbool.h> #include <stdlib.h> #inclu...
// 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 REMOTING_BASE_CONSTANTS_H_ #define REMOTING_BASE_CONSTANTS_H_ namespace remoting { extern const char kChromotingBotJid[]; // Service name u...
/* sc1_uart.h - SiCortex 1 UART simulator definitions Copyright (c) 2005, SiCortex, Inc. All rights reserved. Based on SIMH; SIMH copyrights attached. Copyright (c) 2003-2005, Robert M Supnik Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated...
// UIImage+RoundedCorner.h // Created by Trevor Harmon on 9/20/09. // Free for personal or commercial use, with or without modification. // No warranty is expressed or implied. // NOTE: VandalDining modified to convert from Category to // new Class name since iPhone seems to have some issues with Categories // of bui...
/***********************************************************/ /*********************Linkedlist : FIFO*********************/ /************FIFO for Consumer and Producer ****************/ /***********************************************************/ /* A linked list for holding consumers * and producers for a specific ...
/* * Warhammer Age of Sigmar battle simulator. * * Copyright (C) 2019 by Rick Weyrauch - rpweyrauch@gmail.com * * This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT) */ #pragma once #include <skaven/Skaventide.h> #include <Weapon.h> namespace Skaven { class Doomflayer : ...
#pragma once #include <chrono> #include <string> namespace GRAPHICS { /// A timer to assist in measuring frame rate. class FrameTimer { public: // PUBLIC METHODS. void StartTimingFrame(); void EndTimingFrame(); std::string GetFrameTimingText() const; private: ...
#pragma once #include <DisplayInterface/FeatherComponent.h> #include <DisplayInterface/Components/FeatherLabel.h> #define TEXT_SLIDER_PADDING 15 #define BACKGROUND_HEIGHT 20 #define KNOB_HEIGHT 16 #define KNOB_WIDTH 16 #define HORIZONTAL_PADDING 2 #define VERTICAL_PADDING 2 class FeatherSliderKnob; class FeatherSli...
/* * ----------------------------------------------------------------- * $Revision: 1.14 $ * $Date: 2011/03/23 21:12:45 $ * ----------------------------------------------------------------- * Programmer(s): Alan C. Hindmarsh and Radu Serban @ LLNL * ---------------------------------------------------------------...
/****************************************************************************/ // nwdwapi.c // // RDPWD general header // // Copyright (C) 1997-2000 Microsoft Corporation /****************************************************************************/ #include <precomp.h> #pragma hdrstop #define pTRCWd pTSWd #define TR...
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "WXPBGeneratedMessage.h" @class BaseResponse, NSString; @interface PreparePurchaseResponse : WXPBGeneratedMessage { } @property(retain, nonatomic) NSString* ...
// // $Id: CombatStrategy.h,v 1.5 2003/09/23 01:56:35 clamatius Exp $ // Copyright (c) 2003, WhichBot 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: // // * Redistributions of...
/* * Flash Screen Video Version 2 encoder * Copyright (C) 2009 Joshua Warner * * This file is part of FFmpeg. * * FFmpeg 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 ...
/** * VampirTrace * http://www.tu-dresden.de/zih/vampirtrace * * Copyright (c) 2005-2013, ZIH, TU Dresden, Federal Republic of Germany * * Copyright (c) 1998-2005, Forschungszentrum Juelich, Juelich Supercomputing * Centre, Federal Republic of Germany * * See the file COPYING in the pa...
// Copyright 2009-2021 NTESS. Under the terms // of Contract DE-NA0003525 with NTESS, the U.S. // Government retains certain rights in this software. // // Copyright (c) 2009-2021, NTESS // All rights reserved. // // This file is part of the SST software package. For license // information, see the LICENSE file in the ...
/*C (c) 2005 bl0rg.net **/ #ifndef RTP_RB_H__ #define RTP_RB_H__ extern unsigned int rtp_rb_cnt; extern unsigned int rtp_rb_size; void rtp_rb_clear(void); void rtp_rb_destroy(void); void rtp_rb_init(unsigned int size); unsigned int rtp_rb_length(void); void rtp_rb_pop(void); void rtp_rb_print(void); int rtp_rb_ins...
/** @file GUID for MdePkg PCD Token Space Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef _MDEPKG_TOKEN_SPACE_GUID_H_ #define _MDEPKG_TOKEN_SPACE_GUID_H_ #define MDEPKG_TOKEN_SPACE_GUID \ { \ 0x914AEBE7, 0x4635, 0x459b, { 0x...
/* Copyright (c) 2006, 2017, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certai...
// Greenplum Database // Copyright (C) 2019 Pivotal Software, Inc. #ifndef GPOPT_CPhysicalFullMergeJoin_H #define GPOPT_CPhysicalFullMergeJoin_H #include "gpos/base.h" #include "gpopt/operators/CPhysicalJoin.h" namespace gpopt { class CPhysicalFullMergeJoin : public CPhysicalJoin { private: // private copy...
/*---------------------------------------------------------------- * serial.c - serial network driver for libnet *---------------------------------------------------------------- * libnet is (c) Copyright Chad Catlett and George Foot 1997-1999 * * Please look in `docs' for details, documentation and * distribu...
/* * VMware Balloon driver. * * Copyright (C) 2000-2014, VMware, Inc. All Rights Reserved. * * 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; version 2 of the License and no later version....
/*------------------------------------------------------------------------- * pgut-fe.h * * Portions Copyright (c) 2008-2011, NIPPON TELEGRAPH AND TELEPHONE CORPORATION * Portions Copyright (c) 2011, Itagaki Takahiro * Portions Copyright (c) 2012-2020, The Reorg Development Team *---------------------------------...
/********************************************************************** * LeechCraft - modular cross-platform feature rich internet client. * Copyright (C) 2006-2014 Georg Rudoy * * Boost Software License - Version 1.0 - August 17th, 2003 * * Permission is hereby granted, free of charge, to any person or organiz...
#ifndef rosic_WorkhorseOscSection_h #define rosic_WorkhorseOscSection_h //// rosic-indcludes: ////#include "../infrastructure/rosic_PresetRememberer.h" //#include "../generators/rosic_SamplePlayer.h" namespace rosic { /** This class implements the oscillator section of the Workhorse synth. Its purpose is mainly ...
// // CustomTableViewCell.h // Saudavel // // Created by Roger Luan on 11/21/15. // Copyright © 2015 Roger Oba. All rights reserved. // #import <UIKit/UIKit.h> @class TableData; @interface CustomTableViewCell : UITableViewCell - (void)configureCellWithData:(TableData *)data; @end
/****************************************************************************** This source file is part of the MoleQueue project. Copyright 2012 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 distribute...
/* Generated by RuntimeBrowser Image: /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI */ @interface ABPersonTableActionDataSource : NSObject { struct __CFDictionary { } * _actionGroupingsByProperty; struct __CFDictionary { } * _actionsByProperty; NSMutableArray * _bottomActions; st...
/*============================================================================ * Licencia: * Autor: * Fecha: *===========================================================================*/ #ifndef _FIFO_H_ #define _FIFO_H_ /*==================[inclusiones]============================================*/ /*=========...
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* vim: set ts=8 sts=4 et sw=4 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0...
/*========================================================================= Program: ParaView Module: $RCSfile$ Copyright (c) 2005-2008 Sandia Corporation, Kitware Inc. All rights reserved. ParaView is a free software; you can redistribute it and/or modify it under the terms of the ParaView lice...
////////////////////////////////////////////////////////////////////////// // // pgAdmin III - PostgreSQL Tools // // Copyright (C) 2002 - 2013, The pgAdmin Development Team // This software is released under the PostgreSQL Licence // // hdAbstractFigure.h - A StickyRectangleConnector locates connection points by chopi...
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* checker.c :+: :+: :+: ...
/*! * PlanViewMobileGridTableViewController.h * Projector * * * Created by Skylar Schipper on 12/2/14 */ #ifndef Projector_PlanViewMobileGridTableViewController_h #define Projector_PlanViewMobileGridTableViewController_h #import "PCOTableViewController.h" #import "PROContainerViewControllerEventListener.h" #imp...
/* * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/lice...
/* * tclTestObj.c -- * * This file contains C command functions for the additional Tcl commands * that are used for testing implementations of the Tcl object types. * These commands are not normally included in Tcl applications; they're * only used for testing. * * Copyright (c) 1995-1998 Sun Microsystems, Inc....
/* * Dht11.h * * Version 0.5 * * DHT11 Temperature and humidity sensor library for Arduino. * * See http://playground.arduino.cc/main/DHT11Lib * * License: GPL v3 (http://www.gnu.org/licenses/gpl.html) * Datasheet: http://www.micro4you.com/files/sensor/DHT11.pdf * * Modification History: * - George Ha...
/** ****************************************************************************** * @file Examples_MIX/SPI/SPI_FullDuplex_ComPolling/Src/stm32f1xx_it.c * @author MCD Application Team * @version V1.0.0 * @date 14-April-2017 * @brief Main Interrupt Service Routines. * This file provides t...
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * VMware vSockets Driver * * Copyright (C) 2007-2013 VMware, Inc. All rights reserved. * * 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 * Softw...
#pragma once #include "Editor/EditorModal.h" namespace Razor { class Editor; class AddShape : public EditorModal { public: enum ShapeType { CIRCLE, QUAD, PLANE, CUBE, UVSPHERE, CONE, BOUNDING, GRID, RAY }; AddShape(Editor* editor); ~AddShape(); void init() override; voi...
// // SCGMSPolygon.h // SolarCity // // Created by Denis Vashkovski on 29/04/2017. // Copyright © 2017 itibo. All rights reserved. // #import <GoogleMaps/GoogleMaps.h> #import "SCPolygon.h" @interface SCGMSPolygon : GMSPolygon + (instancetype)sc_polygon:(SCPolygon *)polygon; @property (nonatomic, strong, readon...
#pragma once //For overloading list_loop #define GET_MACRO(_1, _2, _3, _4, NAME, ...) NAME //For overloading list_cleanup #define GET_MACRO2(_1, _2, _3, NAME, ...) NAME //Linked list macros //Adds to_link directly in front of current #define link(current, to_link) ({\ if (current == NULL)\ current = to_link;\ if...
#ifndef _ROS_geometry_msgs_Point32_h #define _ROS_geometry_msgs_Point32_h #include <stdint.h> #include <string.h> #include <stdlib.h> #include "ros/msg.h" #include "ArduinoIncludes.h" namespace geometry_msgs { class Point32 : public ros::Msg { public: typedef float _x_type; _x_type x; typed...
/** \file src/xtal/xtal_map.h * \brief src/xtal/xtal_map.h */ #ifndef XTAL_MAP_H_INCLUDE_GUARD #define XTAL_MAP_H_INCLUDE_GUARD #pragma once namespace xtal{ /** * \xbind lib::builtin * \xinherit lib::builtin::Any lib::builtin::Iterable * \brief 連想配列 */ class Map : public Base{ public: /** * \xbind * \brief 空の連想...
// Project: Advanced Locomotion System V4 on C++ // Copyright: Copyright (C) 2021 Doğa Can Yanıkoğlu // License: MIT License (http://www.opensource.org/licenses/mit-license.php) // Source Code: https://github.com/dyanikoglu/ALSV4_CPP // Original Author: Doğa Can Yanıkoğlu #pragma once #incl...
///////////////////////////////////////////////////////////////////////////////// ////// ////// Interface to MA57 sparse linear solver ////// Copyright (C) 2005 Manolis Lourakis (lourakis at ics.forth.gr) ////// Institute of Computer Science, Foundation for Research & Technology - Hellas ////// Heraklion, Crete, ...
/* NetHack 3.6 nttty.c $NHDT-Date: 1524931557 2018/04/28 16:05:57 $ $NHDT-Branch: NetHack-3.6.0 $:$NHDT-Revision: 1.71 $ */ /* Copyright (c) NetHack PC Development Team 1993 */ /* NetHack may be freely redistributed. See license for details. */ /* tty.c - (Windows NT) version */ /* * Initial Creation M. All...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "CPLEngineStorageImplementation.h" @class CPLResource, NSArray, NSSet, NSString; @protocol CPLEngineOutgoingResourcesImplementation <CPLEngineStorageImplementation> @prope...
/** * This header is generated by class-dump-z 0.2a. * class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3. * * Source: (null) */ #import "UIPopoverControllerDelegate.h" #import "AVAudioPlayerDelegate.h" #import "ChineseSkillNew-Structs.h" #import "UITextViewDelegate.h" #import "myDelegate.h" #im...
// Copyright (c) 2017 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_CERT_KNOWN_ROOTS_WIN_H_ #define NET_CERT_KNOWN_ROOTS_WIN_H_ #include "base/win/wincrypt_shim.h" #include "net/base/net_export.h" namespa...
#ifndef AliForwardSettings_cxx #define AliForwardSettings_cxx /** * @file AliForwardSettings.h * @author Freja Thoresen <freja.thoresen@cern.ch> * * @brief * * @ingroup pwgcf_forward_flow */ #include "TObject.h" #include "TString.h" #include "TH3.h" #include "TH2.h" class AliForwardSettings : public TObject { ...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 14, 2021 at 2:38:56 PM Mountain Standard Time * Operating System: Version 14.4 (Build 18K802) * Image Source: /System/Library/PrivateFrameworks/WorkflowKi...
#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 MoyaProviderKitVersionNumber; FOUNDATION_EXPORT const unsigned char MoyaProviderKitVersionString[];
// // UILabel+Extra.h // LYCategory // // Created by Rick Luo on 1/22/14. // Email: indie.luo@gmail.com // // The MIT License (MIT) // // Copyright (c) 2014 骆昱(Luo Yu). All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy of // this software and associated documenta...
// This file is licensed under the Elastic License 2.0. Copyright 2021-present, StarRocks Limited. #pragma once #include <cstdint> #include "column/column.h" #include "column/fixed_length_column.h" namespace starrocks::vectorized { class ArrayColumn final : public ColumnFactory<Column, ArrayColumn> { friend cl...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2021-2022 The Bitcoin DX Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOINDX_ADDRDB_H #define BITCOINDX_ADDRDB_H #include <fs.h> #includ...
#if defined(_WIN32) #include "invoker_win32.h" #endif
#ifndef FIX50SP1_EXECUTIONACKNOWLEDGEMENT_H #define FIX50SP1_EXECUTIONACKNOWLEDGEMENT_H #include "Message.h" namespace FIX50SP1 { class ExecutionAcknowledgement : public Message { public: ExecutionAcknowledgement() : Message(MsgType()) {} ExecutionAcknowledgement(const FIX::Message& m) : Message(m) {} ...
// Copyright (c) 2013 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 ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_ #define ANDROID_WEBVIEW_BROWSER_AW_CONTENTS_CLIENT_BRIDGE_BASE_H_ #include "base/ca...
// // TJVersionAutoUpdate.h // TAIJIToolsFramework // // Created by 腾 on 16/11/13. // Copyright © 2016年 Apple. All rights reserved. // #import <Foundation/Foundation.h> typedef NS_ENUM(NSInteger,OpenStoreStyle) { OpenAppStoreOutApp, //应用外部打开苹果商店 OpenAppStoreInApp //应用内部打开苹果商店 }; @interface CTVersionA...
/* This file was generated by upbc (the upb compiler) from the input * file: * * envoy/service/discovery/v3/ads.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #include "upb/def.h" #include "envoy/service/discovery/v3/ads.upbdefs.h" extern upb_def_init envoy_servic...
/* $Id: sph_bmw.h 216 2010-06-08 09:46:57Z tp $ */ /** * BDEQ interface. BDEQ (aka "Blue Midnight Wish") is a family of * functions which differ by their output size; this implementation * defines BDEQ for output sizes 224, 256, 384 and 512 bits. * * ==========================(LICENSE BEGIN)=======================...
/************************************************************************** Copyright (c) 2013, 2014, 2015 Rockwell Collins and the University of Minnesota. Developed with the sponsorship of the Defense Advanced Research Projects Agency (DARPA). Permission is hereby granted, free of charge, to any person obtaini...
#ifndef RENDERINGPIPELLINE2D_H #define RENDERINGPIPELLINE2D_H #include "canvas2d.h" #include "color_map.h" #include "DEFAULT_PIPELINE_VALUES.h" #include "drawable_interface.h" #include "drawing_mode.h" #include "matrix_calculator_simple.h" #include "pipeline_targets.h" #include "algorithms_registry.h" #include "algori...
// stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #if !defined(AFX_STDAFX_H__73E91345_425C_497E_8E9D_44339D83723D__INCLUDED_) #define AFX_STDAFX_H__73E91345_425C_497E_8E9D_44339D83723D__INCLUDED_ #if _M...
/******************************* Copyright (c) 2016-2021 Grégoire Angerand 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...
#include <stdio.h> int main() { int num1,num2,temp; printf("Enter 2 numbers"); scanf("%d %d",&num1,&num2); while (num1%num2!=0) { temp=num2; num2=num1%num2; num1=temp; } printf("Greatest common divisor: %d \n",num2); }
// a program to find factors upto given number #include <stdio.h> int main() { int number, i; printf("Enter a positive integer: "); scanf("%d",&number); printf("Factors of %d are: ", number); for(i=1; i <= number; ++i) { if (number%i == 0) { printf("%d ",i); ...
/* * Copyright (c) 2016 Masao Uebayashi <uebayasi@tombiinc.com> * * Permission to use, copy, modify, and 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 I...
/* * This header is generated by classdump-dyld 1.0 * on Sunday, September 27, 2020 at 11:51:43 AM Mountain Standard Time * Operating System: Version 14.0 (Build 18A373) * Image Source: /System/Library/PrivateFrameworks/PhotosGraph.framework/PhotosGraph * classdump-dyld is licensed under GPLv3, Copyright © 2013-2016 by...
/* Лёгкая библиотека для работы с последовательным портом Документация: https://alexgyver.ru/gyveruart/ - Практически полный аналог Serial, но гораздо легче - Данная vвстроена в ядро GyverCore!!! v1.2 - добавлен циклический буфер v1.3 - поправлен вывод float и добавлен вывод с базисом v1.4 - либа собрана в кл...
/** * Copyright 2021 Huawei Technologies 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 law...
// Copyright 2017 Rainer Gemulla // // 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 applica...
/************************************************************************** * * Copyright 2010 VMware, Inc. 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 with...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSObject.h" #import "NSSecureCoding.h" @class NSString, NSURL, NSUUID; @interface SidecarDevice : NSObject <NSSecureCoding> { NSUUID *_identifier; NSString *_mod...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2015 The PHP Group | +---------...
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright 2011-2014 Autronica Fire and Security AS * * Author(s): * 2011-2014 Arvid Brodin, arvid.brodin@alten.se */ #ifndef __HSR_PRIVATE_H #define __HSR_PRIVATE_H #include <linux/netdevice.h> #include <linux/list.h> /* Time constants as specified in the HSR specificati...
/** * \file * * \brief USB Device Stack Core Layer Definition. * * Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries. * * \asf_license_start * * \page License * * Subject to your compliance with these terms, you may use Microchip * software and any derivatives exclusively with Microchip...
// SPDX-License-Identifier: GPL-2.0 #include <linux/ceph/ceph_debug.h> #include <linux/sort.h> #include <linux/slab.h> #include "super.h" #include "mds_client.h" #include <linux/ceph/decode.h> /* * Snapshots in ceph are driven in large part by cooperation from the * client. In contrast to local file systems or f...
// // Copyright 2010-2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"). // You may not use this file except in compliance with the License. // A copy of the License is located at // // http://aws.amazon.com/apache2.0 // // or in the "licen...
// Copyright (c) 2011 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_STRINGS_UTF_OFFSET_STRING_CONVERSIONS_H_ #define BASE_STRINGS_UTF_OFFSET_STRING_CONVERSIONS_H_ #include <stddef.h> #include <string> #i...
/******************************************************************************** * The MIT License (MIT) * * * * Copyright (C) 2016 Alex Nolasco ...
/* * Copyright (c) 2017, James Jackson and Daniel Koch, BYU MAGICC Lab * * 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 copyrigh...
dis(x1,y1,x2,y2){return(x1-x2)*(x1-x2)+(y1-y2)*(y1-y2);} main() { int x1,y1,x2,y2,x3,y3,x4,y4,a,b,c,d; scanf("%d %d %d %d %d %d %d %d",&x1,&y1,&x2,&y2,&x3,&y3,&x4,&y4); if(x1>1000 || x1<-1000 || x2>1000 || x2<-1000 || x3>1000 || x3<-1000 || x4>1000 || x4<-1000 || y1>1000 || y1<-1000 || y2>1000 || y2...
#ifndef _AOS_VIISON_BLOB_CONTOUR_H_ #define _AOS_VIISON_BLOB_CONTOUR_H_ #include "aos/vision/blob/range_image.h" #include "aos/vision/region_alloc.h" namespace aos { namespace vision { class ContourNode { public: ContourNode(int x, int y) : pt({ x, y }) { next = this; } ContourNode(int x, int y, ContourNode* ne...
/** * Author......: See docs/credits.txt * License.....: MIT */ #if defined (__APPLE__) #include <stdio.h> #endif #include "common.h" #include "types.h" #include "bitops.h" #include "memory.h" #include "convert.h" #include "logging.h" #include "inc_hash_constants.h" #include "cpu_aes.h" #include "cpu_crc32.h" #inc...
// Copyright (c) 2014-2015 The Dash developers // Copyright (c) 2015-2017 The PIVX developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef MASTERNODE_PAYMENTS_H #define MASTERNODE_PAYMENTS_H #include "key.h" #inc...
/* * Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" fil...
/** *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 n...
/* * Copyright (C) 2009 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 conditions ...
/*------------------------------------------------------------------------- * * statscmds.c * Commands for creating and altering extended statistics objects * * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * I...
#pragma once #include "../SVkAPI.h" class SVkATexture { public: SVkATexture(bool singleBuffer = true); virtual ~SVkATexture(); const VkImage& getImage(unsigned int swapImageIndex = 0) const; const VkImageView& getView(unsigned int swapImageIndex = 0) const; uint32_t getNumBuffers() const; static VkFormat Conve...