text
stringlengths
9
948k
/****************************************************************************** * Spine Runtimes Software License v2.5 * * Copyright (c) 2013-2016, Esoteric Software * All rights reserved. * * You are granted a perpetual, non-exclusive, non-sublicensable, and * non-transferable license to use, install, execute, ...
/* ---------------------------------------------------------------------------------- */ /* */ /* ANNEAL_ALG.C */ /* ...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2014 The PHP Group | +---------...
// // UIColor+Instagram.h // Instagram // // Created by Joon Hong on 10/4/16. // Copyright © 2016 JoonKiHong. All rights reserved. // #import <UIKit/UIKit.h> @interface UIColor (Instagram) + (UIColor *)instagramLoginTextFieldBGColor; + (UIColor *)instagramLoginTextFieldTextColor; @end
#pragma once #include "Parameters.h" float LaplaciannnerProduct6(const float (&p)[XDIM][YDIM][ZDIM], float (&z)[XDIM][YDIM][ZDIM]); void SaxpyMerged(float (&p)[XDIM][YDIM][ZDIM], float (&x)[XDIM][YDIM][ZDIM], const float (&z)[XDIM][YDIM][ZDIM], const float alpha, ...
/* Simple DirectMedia Layer Copyright (C) 1997-2011 Sam Lantinga <slouken@libsdl.org> 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 ...
#include "DataFormats/Common/interface/Wrapper.h" #include "DataFormats/Alignment/interface/AlignmentClusterFlag.h" #include "DataFormats/Alignment/interface/AliClusterValueMap.h" #include <vector> #include <map> #include "DataFormats/Alignment/interface/SiStripLaserRecHit2D.h" #include "DataFormats/Alignment/interface...
/******************************************************************************* FLEXCOM5 USART PLIB Company: Microchip Technology Inc. File Name: plib_flexcom5_usart.c Summary: FLEXCOM5 USART PLIB Implementation File Description This file defines the interface to the FLEXCOM5 USART periph...
/* Implementation of the algorithm for Toom-Cook 4.5-way. Contributed to the GNU project by Marco Bodrato. THE FUNCTION IN THIS FILE IS INTERNAL WITH A MUTABLE INTERFACE. IT IS ONLY SAFE TO REACH IT THROUGH DOCUMENTED INTERFACES. IN FACT, IT IS ALMOST GUARANTEED THAT IT WILL CHANGE OR DISAPPEAR IN A FUT...
/* * FreeRTOS V202012.00 * Copyright (C) 2020 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 restriction, including ...
/* * Copyright 2016 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef GrVkPipeline_DEFINED # define GrVkPipeline_DEFINED # include "include/gpu/vk/GrVkTypes.h" # include "include/private/GrTypesPriv.h" # include "src/gpu/vk/GrVkResource.h"...
#ifndef __PARSER_H #define __PARSER_H #include <stdio.h> typedef struct{ FILE* file; char** contents; int word_count; }parser; parser* init_parser(); void parse_file(const char* file_path, parser* parser); #endif
/* Copyright 2019 Stanford University, NVIDIA 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 app...
//============================================================================= // Copyright (C) 2013-2017 The pmp-library developers // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of source ...
// // Generated by class-dump 3.5 (64 bit). // // class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard. // #import "NSFormatter.h" @interface XSIPv6AddressFormatter : NSFormatter { } + (BOOL)isIPv6StringValid:(id)arg1 allowPartial:(BOOL)arg2 needsColonSuffix:(char *)arg3; + (id)formatt...
#include <stdlib.h> #include <math.h> #include <string.h> #include <stddef.h> #include "../matutls/matutl.h" #include "utools.h" #include "lapwrap.h" #include "Ftools.h" #define SYMMETRIC_ERROR #define SYMMETRIC_ERROR_CHECK #define pit 1.0471975511965967 void lin_fm(const double *u, double *p, const int* inl, const i...
#ifndef BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_PARTICLE_SYSTEMS_MESH_EMITTER_GRID_COMPONENT_H #define BABYLON_INSPECTOR_COMPONENTS_ACTION_TABS_TABS_PROPERTY_GRIDS_PARTICLE_SYSTEMS_MESH_EMITTER_GRID_COMPONENT_H #include <memory> #include <babylon/babylon_api.h> #include <babylon/babylon_fwd.h> #i...
// // P31StyleSheet.h // TTCatalog // // Created by Mike DeSaro on 10/12/09. // Copyright 2009 FreedomVOICE. All rights reserved. // #import <Three20/Three20.h> @interface P31StyleSheet : TTDefaultStyleSheet { } // P31 Popup Button - (TTStyle*)popupButtonBackground; // Launcher View Controller @property (no...
#include <stdio.h> #include <stdlib.h> #include <string> #define WIN32_LEAN_AND_MEAN #include <Windows.h> #define STRINGIFY_impl(x) #x #define STRINGIFY(x) STRINGIFY_impl(x) namespace test_utils { namespace detail { static std::string error_msg; template <class T> concept to_stringable = requires(const T &x) { s...
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2018 The PHP Group | +--------------...
// // MXRMonitorRunloop.h // easywayout // // Created by mxr on 17/1/19. // Copyright © 2017年 MAIERSI. All rights reserved. // #import <Foundation/Foundation.h> @interface MXRMonitorRunloop : NSObject + (instancetype)sharedInstance; - (void)startMonitor; - (void)endMonitor; @property (nonatomic, copy) void (^cal...
// Copyright (c) 2011-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef NAJAFBIT_QT_OPENURIDIALOG_H #define NAJAFBIT_QT_OPENURIDIALOG_H #include <QDialog> namespace Ui { class OpenURI...
/* * ***** 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...
/*************************************************************************/ /* tween.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* * This header is generated by classdump-dyld 1.5 * on Friday, April 30, 2021 at 11:37:35 AM Mountain Standard Time * Operating System: Version 13.5.1 (Build 17F80) * Image Source: /System/Library/Frameworks/AudioToolbox.frame...
/* * Licensed to Green Energy Corp (www.greenenergycorp.com) under one or * more contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright ownership. * Green Energy Corp licenses this file to you under the Apache License, * Version 2.0 (the "Lic...
/* * This header is generated by classdump-dyld 1.5 * on Wednesday, April 28, 2021 at 9:05:10 PM Mountain Standard Time * Operating System: Version 14.5 (Build 18L204) * Image Source: /System/Library/Frameworks/Vision.framework/...
/*************************************************************************************************/ /*! * \file * * \brief Example Battery service implementation. * * Copyright (c) 2011-2018 Arm Ltd. All Rights Reserved. * * Copyright (c) 2019 Packetcraft, Inc. * * Licensed under the Apache License, Ve...
// This is a generated file, modify: generate/templates/templates/class_header.h #ifndef GITMERGE_H #define GITMERGE_H #include <nan.h> #include <string> #include <queue> #include <utility> #include <unordered_map> #include <sstream> #include "async_baton.h" #include "nodegit_wrapper.h" #include "promise_completion.h...
/* * Copyright (C) 2009-2011 by Benedict Paten (benedictpaten@gmail.com) * * Released under the MIT license, see LICENSE.txt */ #include "CuTest.h" #include "sonLib.h" #include "cactus_params_parser.h" static void testCactusParams(CuTest *testCase) { char *params_file = "/Users/benedictpaten/CLionProjects/cac...
/* * Copyright (c) 2018-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 noti...
/* * fs/cifs/cifsglob.h * * Copyright (C) International Business Machines Corp., 2002,2008 * Author(s): Steve French (sfrench@us.ibm.com) * Jeremy Allison (jra@samba.org) * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Gener...
/* (c) Copyright 2000-2002 convergence integrated media GmbH. All rights reserved. Written by Denis Oliver Kropp <dok@directfb.org>, Andreas Hundt <andi@fischlustig.de> and Sven Neumann <neo@directfb.org>. This file is subject to the terms and conditions of the M...
#pragma once #include <algorithm> #include <cstdint> #include <deque> #include <memory> #include <string> #include "envoy/buffer/buffer.h" #include "envoy/http/stream_reset_handler.h" #include "source/common/common/assert.h" #include "source/common/common/non_copyable.h" #include "source/common/common/utility.h" #in...
#pragma once namespace Images { #include "Asteroids_00.h" #include "Asteroids_01.h" #include "Asteroids_02.h" #include "Asteroids_03.h" #include "Asteroids_04.h" #include "enemies/tractor/Tractor_00.h" #include "enemies/tractor/Tractor_01.h" #include "enemies/tractor/Tractor_02.h" ...
// ---------------------------------------------------- // AIMP DotNet SDK // Copyright (c) 2014 - 2020 Evgeniy Bogdan // https://github.com/martin211/aimp_dotnet // Mail: mail4evgeniy@gmail.com // ---------------------------------------------------- #pragma once #include "AIMPSDK\AIMPSDK.h" namespace AIMP { name...
/* $OpenBSD: kqueue.c,v 1.5 2002/07/10 14:41:31 art Exp $ */ /* * Copyright 2000-2007 Niels Provos <provos@citi.umich.edu> * Copyright 2007-2012 Niels Provos and Nick Mathewson * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditio...
#pragma once // MESSAGE PTZ_STATUS PACKING #define MAVLINK_MSG_ID_PTZ_STATUS 192 MAVPACKED( typedef struct __mavlink_ptz_status_t { int16_t pan; /*< The Pan value in 10ths of degree*/ int16_t tilt; /*< The Tilt value in 10ths of degree*/ uint8_t zoom; /*< The actual Zoom Value*/ }) mavlink_ptz_status_t; #defin...
#include "glib.h" #include <stdio.h> #include <string.h> #include <locale.h> #include <time.h> gboolean failed = FALSE; guint32 passed = 0; guint32 notpassed = 0; #define TEST(m,cond) G_STMT_START { failed = !(cond); \ if (failed) \ { ++notpassed; \ if (!m) \ g_print ("\n(%s:%d) failed for: %s\n", __FILE...
/* ****************************************************************** ** ** OpenSees - Open System for Earthquake Engineering Simulation ** ** Pacific Earthquake Engineering Research Center ** ** ** ** ...
// // UIViewController+VIPPromotion.h // d3storm // // Created by Chen XueFeng on 16/6/23. // Copyright © 2016年 Chen XueFeng. All rights reserved. // #import <UIKit/UIKit.h> @interface UIViewController (VIPPromotion) - (void) showVIPPromotion:(NSString*) title message:(NSString*) message cancelTitle:(NSString*) ...
/*========================================================== * Copyright 2020 QuickLogic 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/licens...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/ecr/ECR_EXPORTS.h> #include <aws/ecr/ECRRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include <aws/ecr/model/...
//////////////////////////////////////////////////////////////////////////// // // Copyright 2014 Realm 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 License at // // http://www.apache.org/li...
/*************************************************************************/ /* filesystem_dock.h */ /*************************************************************************/ /* This file is part of: */ /* ...
/* ---------------------------------------------------------------------------- * ATMEL Microcontroller Software Support * ---------------------------------------------------------------------------- * Copyright (c) 2008, Atmel Corporation * * All rights reserved. * * Redistribution and use in source and...
/* program DATABASE.C *\ \* WARNING: "advent.c" allocates GLOBAL storage space by *\ \* including "advdef.h". *\ \* All other modules use "advdec.h". */ #include <stdio.h> /* drv = 1.1st file 2.def 3.A */ #include <ctype.h> #include <string.h> #include <stdlib.h> #include "advent.h" #include "advdec.h" #if...
/* This file was generated by upbc (the upb compiler) from the input * file: * * validate/validate.proto * * Do not edit -- your changes will be discarded when the file is * regenerated. */ #ifndef VALIDATE_VALIDATE_PROTO_UPB_H_ #define VALIDATE_VALIDATE_PROTO_UPB_H_ #include "upb/msg_internal.h" #include "...
float sum(float a, float b); float substract(float a, float b); float divide(float a, float b); float multiply(float a, float b);
#include "lsl_common.h" /* function [ChunkData,Timestamps] = lsl_pull_chunk_d(LibHandle,Inlet,NumChannels) */ /* node in a chain of samples */ typedef struct { struct bufnode_t *next; double *buffer; double timestamp; } bufnode_t; /* free the entire chain */ void free_chain(bufnode_t *node) { free(no...
/* Copyright (c) 2003-2009, Troy D. Hanson http://uthash.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: * Redistributions of source code must retain the above copyright no...
#ifndef __USB200_H__ #define __USB200_H__ #include "usb100.h" #include <PSHPACK1.H> typedef enum _USB_DEVICE_SPEED { UsbLowSpeed = 0, UsbFullSpeed, UsbHighSpeed } USB_DEVICE_SPEED; typedef enum _USB_DEVICE_TYPE { Usb11Device = 0, Usb20Device } USB_DEVICE_TYPE; // standard definiions for th...
#ifndef PROCESSOR_H #define PROCESSOR_H #include <vector> #include <string> using std::vector; using std::string; class Processor { public: Processor() {} Processor(vector<string> data) : user(stoi(data[0])), nice(stoi(data[1])), system(stoi(data[2])), idle(stoi(data[3])), iowait(stoi(data[4])),...
// // # -*- coding: utf-8, tab-width: 3 -*- // mc_min1xn.h // // Copyright (C) 2019-2021 Moe123. All rights reserved. // #include <macadam/details/numa/mc_minmax1xn.h> #ifndef MC_MIN1XN_H #define MC_MIN1XN_H #pragma mark - mc_min1xn - MC_TARGET_FUNC float mc_min1xnf(const int n, const float * x) { float min; mc_...
#pragma once extern "C" { #include <directfb.h> #include <direct/thread.h> #include <voodoo/play.h> } using namespace System::Runtime::InteropServices; namespace FormsTest { using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::F...
/* Automatically generated by configure - do not modify! */ #ifndef FFMPEG_CONFIG_H #define FFMPEG_CONFIG_H /* #define FFMPEG_CONFIGURATION "--disable-everything --disable-all --disable-doc --disable-htmlpages --disable-manpages --disable-podpages --disable-txtpages --disable-static --enable-avcodec --enable-avformat -...
///////////////////////////////////////////////////////////////////////////// /// BinaryFormatSerializer /// Library for serializing data in arbitrary binary format. /// /// string_formatter.h /// /// This file contains string_formatter that formats string as length field followed by individual characters. /// /// D...
/** * * Obousmerny seznam * * This file is part of the VZI course * * New BSD License * https://www.vutbr.cz/studis/student.phtml?gm=gm_detail_predmetu&apid=158780 * * C language is all about speed. Hot, nasty, bad-ass speed. - Eleanor Roosevelt, 1936. */ #ifdef _MSC_VER #define _CRT_SECURE_NO_WARNINGS #endif #inc...
// Copyright (c) 2005-2009 INRIA Sophia-Antipolis (France). // All rights reserved. // // This file is part of CGAL (www.cgal.org) // // $URL: https://github.com/CGAL/cgal/blob/releases/CGAL-5.0.2/CGAL_ipelets/demo/CGAL_ipelets/include/CGAL_ipelets/k_delaunay.h $ // $Id: k_delaunay.h 52164b1 2019-10-19T15:34:59+02:00 ...
/* * Copyright (c) 2012-2017, Jyri J. Virkki * All rights reserved. * * This file is under BSD license. See LICENSE file. */ #ifndef _BLOOM_H #define _BLOOM_H #include "stdlib.h" #ifdef __cplusplus extern "C" { #endif /** *************************************************************************** * Structu...
/* * This file is part of the swblocks-baselib library. * * 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 appl...
#ifndef INITIALCONDITION_H_ #define INITIALCONDITION_H_ #include "typedefs.h" #include "Grid.h" void initialCondition( GlobalConstants const& globals, Grid<Material>& materialGrid, Grid<DegreesOfFreedom>& degreesOfFreedomGrid ); void L2error( double time, ...
/* * Academic License - for use in teaching, academic research, and meeting * course requirements at degree granting institutions only. Not for * government, commercial, or other organizational use. * * mldivide.c * * Code generation for function 'mldivide' * */ /* Include files */ #include "mldivide.h" #inc...
/* * This file is part of the Micro Python project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George * * 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) 2014 The Android Open Source Project * * 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 app...
/* * Copyright 2018 Foundation for Research and Technology - Hellas * * 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 [1] [1] * * Unless...
#pragma once #ifdef USE_PYTHON3 #error "No <bytes_methods.h> in Python3" #else #include <contrib/tools/python/src/Include/bytes_methods.h> #endif
// // RRFCacheManager.h // Puzzle // // Created by huibei on 16/8/3. // Copyright © 2016年 HuiBei. All rights reserved. // #import <Foundation/Foundation.h> @interface RRFCacheManager : NSObject +(RRFCacheManager *)sharedCacheManger; -(NSString *)getFileSize; - (BOOL)clearCache; @end
/* * 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 Ope...
/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/glue/Glue_EXPORTS.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <aws/core/utils/memory/stl/AWSMap.h> #include <aws/core/utils/memory/stl/AWSVector.h> #include...
#ifndef MYGUI_OPENGLES_RENDER_MANAGER_H__ #define MYGUI_OPENGLES_RENDER_MANAGER_H__ #include "MyGUI_Prerequest.h" #include "MyGUI_RenderFormat.h" #include "MyGUI_IVertexBuffer.h" #include "MyGUI_RenderManager.h" #include "MyGUI_OpenGLESImageLoader.h" #include <GLES3/gl3.h> #include <GLES3/gl2ext.h> namespace MyGUI {...
// SPDX-License-Identifier: (GPL-2.0 OR MIT) /* * Microsemi MIPS SoC reset driver * * License: Dual MIT/GPL * Copyright (c) 2017 Microsemi Corporation */ #include <linux/delay.h> #include <linux/io.h> #include <linux/notifier.h> #include <linux/mfd/syscon.h> #include <linux/of_address.h> #include <linux/of_device....
/* * 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...
// Copyright (c) 2009-2010 Satoshi Nakamoto // Copyright (c) 2009-2016 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #ifndef BITCOIN_MINER_H #define BITCOIN_MINER_H #include "primitives/block.h" #i...
/* MIT License * * Copyright (c) 2016-2020 INRIA, CMU and Microsoft Corporation * * 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 r...
#pragma once #include <Interpreters/SystemLog.h> namespace DB { struct OpenTelemetrySpan { __uint128_t trace_id; UInt64 span_id; UInt64 parent_span_id; std::string operation_name; UInt64 start_time_us; UInt64 finish_time_us; Array attribute_names; Array attribute_values; // I don'...
/** ****************************************************************************** * @file stm32f7xx_hal_irda.c * @author MCD Application Team * @version V1.2.2 * @date 14-April-2017 * @brief IRDA HAL module driver. * This file provides firmware functions to manage the following * ...
# include "vpi_user.h" extern void myhdl_register(); void (*vlog_startup_routines[])() = { myhdl_register, 0 };
#include <stdio.h> #include <inttypes.h> #include "maybe_int.h" // Один из двух случаев: // - valid = true и value содержит осмысленный результат // - valid = false и value может быть любым // Первый случай; создаем функцию в помощь // Не бойтесь за производительность struct maybe_int64 some_int64( int64_t i ) { ...
/* * Sigma Control API DUT (NAN functionality) * Copyright (c) 2014-2017, Qualcomm Atheros, Inc. * Copyright (c) 2018, The Linux Foundation * All Rights Reserved. * Licensed under the Clear BSD license. See README for more details. */ #include "sigma_dut.h" #include <sys/stat.h> #include "wpa_ctrl.h" #include "w...
/* * This header is generated by classdump-dyld 1.5 * on Tuesday, November 10, 2020 at 10:12:35 PM Mountain Standard Time * Operating System: Version 14.2 (Build 18K57) * Image Source: /System/Library/PrivateFrameworks/MediaRemo...
// Copyright (c) Microsoft Corporation. // Licensed under the MIT license. #pragma once #include "CustomWindowMessages.h" #include <wil/resource.h> template<typename T> class BaseWindow { public: virtual ~BaseWindow() = 0; static T* GetThisFromHandle(HWND const window) noexcept { return reinterpr...
#pragma once #include"Matrix.h" #include"triple.h" namespace OrbMod { class Derivatives { public: Derivatives(); ~Derivatives(); //State to orbital elements partials, by (Montenbruc & Gill, 2001) static Algebra::Matrix dSVdOscEl_Mont(double SV[6], double mu); //State to orbital elements partials, by (Ur...
#ifdef HAVE_CONFIG_H #include "../../../ext_config.h" #endif #include <php.h> #include "../../../php_ext.h" #include "../../../ext.h" #include <Zend/zend_operators.h> #include <Zend/zend_exceptions.h> #include <Zend/zend_interfaces.h> #include "kernel/main.h" #include "kernel/object.h" #include "kernel/memory.h" #in...
#pragma once // Copyright 2015 HcNet Development Foundation and contributors. Licensed // under the Apache License, Version 2.0. See the COPYING file at the root // of this distribution or at http://www.apache.org/licenses/LICENSE-2.0 #include "main/Application.h" #include <string> namespace HcNet { class Persisten...
/* * 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...
#ifndef _OUSTER_OS1_PACKET_H #define _OUSTER_OS1_PACKET_H /** * Utilities to parse lidar and imu packets */ #include <cmath> #include <cstdint> #include <cstring> namespace ouster { namespace OS1 { namespace { const int pixels_per_column = 64; const int columns_per_buffer = 16; const int pixel_bytes = 12; cons...
// // NotificationDemo.h // AppFramework // // Created by zrq on 2018/7/12. // Copyright © 2018年 zrq. All rights reserved. // #import <Foundation/Foundation.h> /* NSNotification顾名思义就是通知的作用,一个对象通知另外一个对象,可以用传递参数通信等作用,与delegate的一对一不同,通知是多对多的,在一个对象中注册了通知,那么其他任意对象都可以发出通知 专门负责协助不同对象之间的消息通信 通知是多对多的,代理是一对一的 注意:这样发出的通知...
// Copyright © 2010-2016 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once #include "Stdafx.h" #include "include/cef_app.h" #include "CefSettings.h" namespace CefSharp { private class CefSharpApp : publ...
#include "rex_kmp.h" //axpy.c #include <stdio.h> #include <stdlib.h> #include <time.h> #include <sys/timeb.h> #include <malloc.h> #include <arm_sve.h> #define N_RUNS 1000 #define N 1200 // read timer in second double read_timer() { struct timeb tm; ftime(&tm); return ((double )tm . time) + ((double )tm . milli...
/******************************Module*Header**********************************\ * * Module Name: miracompanionddi.h * * Content: User mode Miracast companion driver data type and DDI function definitions. * The companion driver allows a graphics driver implementation to * extend Miracast functionality...
/*================================================================================== Copyright (c) 2008, binaryzebra 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...
#ifndef PINS_DEFS #define PINS_DEFS // PINS DEFINITIONS, PORTS MAPPING #include "main.h" // #define PE2_CONTROL_BL_EN 1 #define PE2_CONTROL_LCD_RESET 1 #define PD6_JOYSTICK_BUTTON 1 // #define SIMUL 1 #define MICROTIPS_MTGS12864KFGHSGW01 1 // //#define SUNLIKE_SG12864HBWBGBK 1 // LCD RELATED PINS #d...
// Lean compiler output // Module: Lean.Compiler.ImplementedByAttr // Imports: Init Lean.Attributes Lean.MonadEnv #include <lean/lean.h> #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" #pragma clang diagnostic ignored "-Wunused-label" #elif defined(__GNUC__) && !defined(__CLANG__) #pragma G...
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtScxml module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commer...
//########################################################################### // // FILE: i2c.h // // TITLE: C28x I2C driver. // //########################################################################### // // // $Copyright: $ //########################################################################### #ifndef ...
#pragma once // @generated by tools/codegen/gen.py from NativeFunction.h #include <c10/core/Scalar.h> #include <c10/core/Storage.h> #include <c10/core/TensorOptions.h> #include <c10/util/Deprecated.h> #include <c10/util/Optional.h> #include <c10/core/QScheme.h> #include <ATen/core/Reduction.h> #include <ATen/core/Ten...
#pragma once #include "tree_ctrs_dataset.h" #include "pointwise_optimization_subsets.h" #include <catboost/cuda/gpu_data/gpu_structures.h> #include <catboost/cuda/gpu_data/splitter.h> #include <catboost/private/libs/options/oblivious_tree_options.h> namespace NCatboostCuda { class TTreeCtrDataSetVisitor { pu...
#include<stdio.h> #include<string.h> #include<stdbool.h> void remove_dup(char s[]) { int len = strlen(s); int j=0; for(int i=0; i<len; i++) { if(s[i] != s[j]) { s[j] = s[i]; j++; } } s[j] = '\0'; printf("%s\n", s); } void remove_dup1(char s[]) { int end = 1; for(int i=1; i<strlen(s); i++) { int ...
/* * Copyright (c) 2017, NVIDIA CORPORATION. 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 requi...